library(tidyverse)
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
## ✓ ggplot2 3.3.5     ✓ purrr   0.3.4
## ✓ tibble  3.1.6     ✓ dplyr   1.0.7
## ✓ tidyr   1.2.0     ✓ stringr 1.4.0
## ✓ readr   2.1.2     ✓ forcats 0.5.1
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
library(repurrrsive)
library(broom)
names(sw_people) <- sw_people %>% map_chr("name")

# Toy data
set.seed(1000)
exams <- list(
  student1 = round(runif(10, 50, 100)),
  student2 = round(runif(10, 50, 100)),
  student3 = round(runif(10, 50, 100)),
  student4 = round(runif(10, 50, 100)),
  student5 = round(runif(10, 50, 100))
)

extra_credit <- list(0, 0, 10, 10, 15)

names(who) <- str_replace(names(who), "newrel", "new_rel")
tb <-  
  who %>%
  gather("codes", "n", 5:60) %>%
  separate(codes, c("new", "type", "sexage"), sep = "_") %>%
  select(-new, -iso2, -iso3) %>%
  separate(sexage, c("sex", "age"), sep = 1) %>%
  drop_na(n)

Lists

Your Turn 1

Run the code below, which displays a list. What do you see?

sw_people
## $`Luke Skywalker`
## $`Luke Skywalker`$name
## [1] "Luke Skywalker"
## 
## $`Luke Skywalker`$height
## [1] "172"
## 
## $`Luke Skywalker`$mass
## [1] "77"
## 
## $`Luke Skywalker`$hair_color
## [1] "blond"
## 
## $`Luke Skywalker`$skin_color
## [1] "fair"
## 
## $`Luke Skywalker`$eye_color
## [1] "blue"
## 
## $`Luke Skywalker`$birth_year
## [1] "19BBY"
## 
## $`Luke Skywalker`$gender
## [1] "male"
## 
## $`Luke Skywalker`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Luke Skywalker`$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## [5] "http://swapi.co/api/films/7/"
## 
## $`Luke Skywalker`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Luke Skywalker`$vehicles
## [1] "http://swapi.co/api/vehicles/14/" "http://swapi.co/api/vehicles/30/"
## 
## $`Luke Skywalker`$starships
## [1] "http://swapi.co/api/starships/12/" "http://swapi.co/api/starships/22/"
## 
## $`Luke Skywalker`$created
## [1] "2014-12-09T13:50:51.644000Z"
## 
## $`Luke Skywalker`$edited
## [1] "2014-12-20T21:17:56.891000Z"
## 
## $`Luke Skywalker`$url
## [1] "http://swapi.co/api/people/1/"
## 
## 
## $`C-3PO`
## $`C-3PO`$name
## [1] "C-3PO"
## 
## $`C-3PO`$height
## [1] "167"
## 
## $`C-3PO`$mass
## [1] "75"
## 
## $`C-3PO`$hair_color
## [1] "n/a"
## 
## $`C-3PO`$skin_color
## [1] "gold"
## 
## $`C-3PO`$eye_color
## [1] "yellow"
## 
## $`C-3PO`$birth_year
## [1] "112BBY"
## 
## $`C-3PO`$gender
## [1] "n/a"
## 
## $`C-3PO`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`C-3PO`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [5] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## 
## $`C-3PO`$species
## [1] "http://swapi.co/api/species/2/"
## 
## $`C-3PO`$created
## [1] "2014-12-10T15:10:51.357000Z"
## 
## $`C-3PO`$edited
## [1] "2014-12-20T21:17:50.309000Z"
## 
## $`C-3PO`$url
## [1] "http://swapi.co/api/people/2/"
## 
## 
## $`R2-D2`
## $`R2-D2`$name
## [1] "R2-D2"
## 
## $`R2-D2`$height
## [1] "96"
## 
## $`R2-D2`$mass
## [1] "32"
## 
## $`R2-D2`$hair_color
## [1] "n/a"
## 
## $`R2-D2`$skin_color
## [1] "white, blue"
## 
## $`R2-D2`$eye_color
## [1] "red"
## 
## $`R2-D2`$birth_year
## [1] "33BBY"
## 
## $`R2-D2`$gender
## [1] "n/a"
## 
## $`R2-D2`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`R2-D2`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [5] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## [7] "http://swapi.co/api/films/7/"
## 
## $`R2-D2`$species
## [1] "http://swapi.co/api/species/2/"
## 
## $`R2-D2`$created
## [1] "2014-12-10T15:11:50.376000Z"
## 
## $`R2-D2`$edited
## [1] "2014-12-20T21:17:50.311000Z"
## 
## $`R2-D2`$url
## [1] "http://swapi.co/api/people/3/"
## 
## 
## $`Darth Vader`
## $`Darth Vader`$name
## [1] "Darth Vader"
## 
## $`Darth Vader`$height
## [1] "202"
## 
## $`Darth Vader`$mass
## [1] "136"
## 
## $`Darth Vader`$hair_color
## [1] "none"
## 
## $`Darth Vader`$skin_color
## [1] "white"
## 
## $`Darth Vader`$eye_color
## [1] "yellow"
## 
## $`Darth Vader`$birth_year
## [1] "41.9BBY"
## 
## $`Darth Vader`$gender
## [1] "male"
## 
## $`Darth Vader`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Darth Vader`$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## 
## $`Darth Vader`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Darth Vader`$starships
## [1] "http://swapi.co/api/starships/13/"
## 
## $`Darth Vader`$created
## [1] "2014-12-10T15:18:20.704000Z"
## 
## $`Darth Vader`$edited
## [1] "2014-12-20T21:17:50.313000Z"
## 
## $`Darth Vader`$url
## [1] "http://swapi.co/api/people/4/"
## 
## 
## $`Leia Organa`
## $`Leia Organa`$name
## [1] "Leia Organa"
## 
## $`Leia Organa`$height
## [1] "150"
## 
## $`Leia Organa`$mass
## [1] "49"
## 
## $`Leia Organa`$hair_color
## [1] "brown"
## 
## $`Leia Organa`$skin_color
## [1] "light"
## 
## $`Leia Organa`$eye_color
## [1] "brown"
## 
## $`Leia Organa`$birth_year
## [1] "19BBY"
## 
## $`Leia Organa`$gender
## [1] "female"
## 
## $`Leia Organa`$homeworld
## [1] "http://swapi.co/api/planets/2/"
## 
## $`Leia Organa`$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## [5] "http://swapi.co/api/films/7/"
## 
## $`Leia Organa`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Leia Organa`$vehicles
## [1] "http://swapi.co/api/vehicles/30/"
## 
## $`Leia Organa`$created
## [1] "2014-12-10T15:20:09.791000Z"
## 
## $`Leia Organa`$edited
## [1] "2014-12-20T21:17:50.315000Z"
## 
## $`Leia Organa`$url
## [1] "http://swapi.co/api/people/5/"
## 
## 
## $`Owen Lars`
## $`Owen Lars`$name
## [1] "Owen Lars"
## 
## $`Owen Lars`$height
## [1] "178"
## 
## $`Owen Lars`$mass
## [1] "120"
## 
## $`Owen Lars`$hair_color
## [1] "brown, grey"
## 
## $`Owen Lars`$skin_color
## [1] "light"
## 
## $`Owen Lars`$eye_color
## [1] "blue"
## 
## $`Owen Lars`$birth_year
## [1] "52BBY"
## 
## $`Owen Lars`$gender
## [1] "male"
## 
## $`Owen Lars`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Owen Lars`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## [3] "http://swapi.co/api/films/1/"
## 
## $`Owen Lars`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Owen Lars`$created
## [1] "2014-12-10T15:52:14.024000Z"
## 
## $`Owen Lars`$edited
## [1] "2014-12-20T21:17:50.317000Z"
## 
## $`Owen Lars`$url
## [1] "http://swapi.co/api/people/6/"
## 
## 
## $`Beru Whitesun lars`
## $`Beru Whitesun lars`$name
## [1] "Beru Whitesun lars"
## 
## $`Beru Whitesun lars`$height
## [1] "165"
## 
## $`Beru Whitesun lars`$mass
## [1] "75"
## 
## $`Beru Whitesun lars`$hair_color
## [1] "brown"
## 
## $`Beru Whitesun lars`$skin_color
## [1] "light"
## 
## $`Beru Whitesun lars`$eye_color
## [1] "blue"
## 
## $`Beru Whitesun lars`$birth_year
## [1] "47BBY"
## 
## $`Beru Whitesun lars`$gender
## [1] "female"
## 
## $`Beru Whitesun lars`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Beru Whitesun lars`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## [3] "http://swapi.co/api/films/1/"
## 
## $`Beru Whitesun lars`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Beru Whitesun lars`$created
## [1] "2014-12-10T15:53:41.121000Z"
## 
## $`Beru Whitesun lars`$edited
## [1] "2014-12-20T21:17:50.319000Z"
## 
## $`Beru Whitesun lars`$url
## [1] "http://swapi.co/api/people/7/"
## 
## 
## $`R5-D4`
## $`R5-D4`$name
## [1] "R5-D4"
## 
## $`R5-D4`$height
## [1] "97"
## 
## $`R5-D4`$mass
## [1] "32"
## 
## $`R5-D4`$hair_color
## [1] "n/a"
## 
## $`R5-D4`$skin_color
## [1] "white, red"
## 
## $`R5-D4`$eye_color
## [1] "red"
## 
## $`R5-D4`$birth_year
## [1] "unknown"
## 
## $`R5-D4`$gender
## [1] "n/a"
## 
## $`R5-D4`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`R5-D4`$films
## [1] "http://swapi.co/api/films/1/"
## 
## $`R5-D4`$species
## [1] "http://swapi.co/api/species/2/"
## 
## $`R5-D4`$created
## [1] "2014-12-10T15:57:50.959000Z"
## 
## $`R5-D4`$edited
## [1] "2014-12-20T21:17:50.321000Z"
## 
## $`R5-D4`$url
## [1] "http://swapi.co/api/people/8/"
## 
## 
## $`Biggs Darklighter`
## $`Biggs Darklighter`$name
## [1] "Biggs Darklighter"
## 
## $`Biggs Darklighter`$height
## [1] "183"
## 
## $`Biggs Darklighter`$mass
## [1] "84"
## 
## $`Biggs Darklighter`$hair_color
## [1] "black"
## 
## $`Biggs Darklighter`$skin_color
## [1] "light"
## 
## $`Biggs Darklighter`$eye_color
## [1] "brown"
## 
## $`Biggs Darklighter`$birth_year
## [1] "24BBY"
## 
## $`Biggs Darklighter`$gender
## [1] "male"
## 
## $`Biggs Darklighter`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Biggs Darklighter`$films
## [1] "http://swapi.co/api/films/1/"
## 
## $`Biggs Darklighter`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Biggs Darklighter`$starships
## [1] "http://swapi.co/api/starships/12/"
## 
## $`Biggs Darklighter`$created
## [1] "2014-12-10T15:59:50.509000Z"
## 
## $`Biggs Darklighter`$edited
## [1] "2014-12-20T21:17:50.323000Z"
## 
## $`Biggs Darklighter`$url
## [1] "http://swapi.co/api/people/9/"
## 
## 
## $`Obi-Wan Kenobi`
## $`Obi-Wan Kenobi`$name
## [1] "Obi-Wan Kenobi"
## 
## $`Obi-Wan Kenobi`$height
## [1] "182"
## 
## $`Obi-Wan Kenobi`$mass
## [1] "77"
## 
## $`Obi-Wan Kenobi`$hair_color
## [1] "auburn, white"
## 
## $`Obi-Wan Kenobi`$skin_color
## [1] "fair"
## 
## $`Obi-Wan Kenobi`$eye_color
## [1] "blue-gray"
## 
## $`Obi-Wan Kenobi`$birth_year
## [1] "57BBY"
## 
## $`Obi-Wan Kenobi`$gender
## [1] "male"
## 
## $`Obi-Wan Kenobi`$homeworld
## [1] "http://swapi.co/api/planets/20/"
## 
## $`Obi-Wan Kenobi`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [5] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## 
## $`Obi-Wan Kenobi`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Obi-Wan Kenobi`$vehicles
## [1] "http://swapi.co/api/vehicles/38/"
## 
## $`Obi-Wan Kenobi`$starships
## [1] "http://swapi.co/api/starships/48/" "http://swapi.co/api/starships/59/"
## [3] "http://swapi.co/api/starships/64/" "http://swapi.co/api/starships/65/"
## [5] "http://swapi.co/api/starships/74/"
## 
## $`Obi-Wan Kenobi`$created
## [1] "2014-12-10T16:16:29.192000Z"
## 
## $`Obi-Wan Kenobi`$edited
## [1] "2014-12-20T21:17:50.325000Z"
## 
## $`Obi-Wan Kenobi`$url
## [1] "http://swapi.co/api/people/10/"
## 
## 
## $`Anakin Skywalker`
## $`Anakin Skywalker`$name
## [1] "Anakin Skywalker"
## 
## $`Anakin Skywalker`$height
## [1] "188"
## 
## $`Anakin Skywalker`$mass
## [1] "84"
## 
## $`Anakin Skywalker`$hair_color
## [1] "blond"
## 
## $`Anakin Skywalker`$skin_color
## [1] "fair"
## 
## $`Anakin Skywalker`$eye_color
## [1] "blue"
## 
## $`Anakin Skywalker`$birth_year
## [1] "41.9BBY"
## 
## $`Anakin Skywalker`$gender
## [1] "male"
## 
## $`Anakin Skywalker`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Anakin Skywalker`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Anakin Skywalker`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Anakin Skywalker`$vehicles
## [1] "http://swapi.co/api/vehicles/44/" "http://swapi.co/api/vehicles/46/"
## 
## $`Anakin Skywalker`$starships
## [1] "http://swapi.co/api/starships/59/" "http://swapi.co/api/starships/65/"
## [3] "http://swapi.co/api/starships/39/"
## 
## $`Anakin Skywalker`$created
## [1] "2014-12-10T16:20:44.310000Z"
## 
## $`Anakin Skywalker`$edited
## [1] "2014-12-20T21:17:50.327000Z"
## 
## $`Anakin Skywalker`$url
## [1] "http://swapi.co/api/people/11/"
## 
## 
## $`Wilhuff Tarkin`
## $`Wilhuff Tarkin`$name
## [1] "Wilhuff Tarkin"
## 
## $`Wilhuff Tarkin`$height
## [1] "180"
## 
## $`Wilhuff Tarkin`$mass
## [1] "unknown"
## 
## $`Wilhuff Tarkin`$hair_color
## [1] "auburn, grey"
## 
## $`Wilhuff Tarkin`$skin_color
## [1] "fair"
## 
## $`Wilhuff Tarkin`$eye_color
## [1] "blue"
## 
## $`Wilhuff Tarkin`$birth_year
## [1] "64BBY"
## 
## $`Wilhuff Tarkin`$gender
## [1] "male"
## 
## $`Wilhuff Tarkin`$homeworld
## [1] "http://swapi.co/api/planets/21/"
## 
## $`Wilhuff Tarkin`$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/1/"
## 
## $`Wilhuff Tarkin`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Wilhuff Tarkin`$created
## [1] "2014-12-10T16:26:56.138000Z"
## 
## $`Wilhuff Tarkin`$edited
## [1] "2014-12-20T21:17:50.330000Z"
## 
## $`Wilhuff Tarkin`$url
## [1] "http://swapi.co/api/people/12/"
## 
## 
## $Chewbacca
## $Chewbacca$name
## [1] "Chewbacca"
## 
## $Chewbacca$height
## [1] "228"
## 
## $Chewbacca$mass
## [1] "112"
## 
## $Chewbacca$hair_color
## [1] "brown"
## 
## $Chewbacca$skin_color
## [1] "unknown"
## 
## $Chewbacca$eye_color
## [1] "blue"
## 
## $Chewbacca$birth_year
## [1] "200BBY"
## 
## $Chewbacca$gender
## [1] "male"
## 
## $Chewbacca$homeworld
## [1] "http://swapi.co/api/planets/14/"
## 
## $Chewbacca$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/2/" "http://swapi.co/api/films/1/"
## [5] "http://swapi.co/api/films/7/"
## 
## $Chewbacca$species
## [1] "http://swapi.co/api/species/3/"
## 
## $Chewbacca$vehicles
## [1] "http://swapi.co/api/vehicles/19/"
## 
## $Chewbacca$starships
## [1] "http://swapi.co/api/starships/10/" "http://swapi.co/api/starships/22/"
## 
## $Chewbacca$created
## [1] "2014-12-10T16:42:45.066000Z"
## 
## $Chewbacca$edited
## [1] "2014-12-20T21:17:50.332000Z"
## 
## $Chewbacca$url
## [1] "http://swapi.co/api/people/13/"
## 
## 
## $`Han Solo`
## $`Han Solo`$name
## [1] "Han Solo"
## 
## $`Han Solo`$height
## [1] "180"
## 
## $`Han Solo`$mass
## [1] "80"
## 
## $`Han Solo`$hair_color
## [1] "brown"
## 
## $`Han Solo`$skin_color
## [1] "fair"
## 
## $`Han Solo`$eye_color
## [1] "brown"
## 
## $`Han Solo`$birth_year
## [1] "29BBY"
## 
## $`Han Solo`$gender
## [1] "male"
## 
## $`Han Solo`$homeworld
## [1] "http://swapi.co/api/planets/22/"
## 
## $`Han Solo`$films
## [1] "http://swapi.co/api/films/3/" "http://swapi.co/api/films/2/"
## [3] "http://swapi.co/api/films/1/" "http://swapi.co/api/films/7/"
## 
## $`Han Solo`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Han Solo`$starships
## [1] "http://swapi.co/api/starships/10/" "http://swapi.co/api/starships/22/"
## 
## $`Han Solo`$created
## [1] "2014-12-10T16:49:14.582000Z"
## 
## $`Han Solo`$edited
## [1] "2014-12-20T21:17:50.334000Z"
## 
## $`Han Solo`$url
## [1] "http://swapi.co/api/people/14/"
## 
## 
## $Greedo
## $Greedo$name
## [1] "Greedo"
## 
## $Greedo$height
## [1] "173"
## 
## $Greedo$mass
## [1] "74"
## 
## $Greedo$hair_color
## [1] "n/a"
## 
## $Greedo$skin_color
## [1] "green"
## 
## $Greedo$eye_color
## [1] "black"
## 
## $Greedo$birth_year
## [1] "44BBY"
## 
## $Greedo$gender
## [1] "male"
## 
## $Greedo$homeworld
## [1] "http://swapi.co/api/planets/23/"
## 
## $Greedo$films
## [1] "http://swapi.co/api/films/1/"
## 
## $Greedo$species
## [1] "http://swapi.co/api/species/4/"
## 
## $Greedo$created
## [1] "2014-12-10T17:03:30.334000Z"
## 
## $Greedo$edited
## [1] "2014-12-20T21:17:50.336000Z"
## 
## $Greedo$url
## [1] "http://swapi.co/api/people/15/"
## 
## 
## $`Jabba Desilijic Tiure`
## $`Jabba Desilijic Tiure`$name
## [1] "Jabba Desilijic Tiure"
## 
## $`Jabba Desilijic Tiure`$height
## [1] "175"
## 
## $`Jabba Desilijic Tiure`$mass
## [1] "1,358"
## 
## $`Jabba Desilijic Tiure`$hair_color
## [1] "n/a"
## 
## $`Jabba Desilijic Tiure`$skin_color
## [1] "green-tan, brown"
## 
## $`Jabba Desilijic Tiure`$eye_color
## [1] "orange"
## 
## $`Jabba Desilijic Tiure`$birth_year
## [1] "600BBY"
## 
## $`Jabba Desilijic Tiure`$gender
## [1] "hermaphrodite"
## 
## $`Jabba Desilijic Tiure`$homeworld
## [1] "http://swapi.co/api/planets/24/"
## 
## $`Jabba Desilijic Tiure`$films
## [1] "http://swapi.co/api/films/4/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/1/"
## 
## $`Jabba Desilijic Tiure`$species
## [1] "http://swapi.co/api/species/5/"
## 
## $`Jabba Desilijic Tiure`$created
## [1] "2014-12-10T17:11:31.638000Z"
## 
## $`Jabba Desilijic Tiure`$edited
## [1] "2014-12-20T21:17:50.338000Z"
## 
## $`Jabba Desilijic Tiure`$url
## [1] "http://swapi.co/api/people/16/"
## 
## 
## $`Wedge Antilles`
## $`Wedge Antilles`$name
## [1] "Wedge Antilles"
## 
## $`Wedge Antilles`$height
## [1] "170"
## 
## $`Wedge Antilles`$mass
## [1] "77"
## 
## $`Wedge Antilles`$hair_color
## [1] "brown"
## 
## $`Wedge Antilles`$skin_color
## [1] "fair"
## 
## $`Wedge Antilles`$eye_color
## [1] "hazel"
## 
## $`Wedge Antilles`$birth_year
## [1] "21BBY"
## 
## $`Wedge Antilles`$gender
## [1] "male"
## 
## $`Wedge Antilles`$homeworld
## [1] "http://swapi.co/api/planets/22/"
## 
## $`Wedge Antilles`$films
## [1] "http://swapi.co/api/films/3/" "http://swapi.co/api/films/2/"
## [3] "http://swapi.co/api/films/1/"
## 
## $`Wedge Antilles`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Wedge Antilles`$vehicles
## [1] "http://swapi.co/api/vehicles/14/"
## 
## $`Wedge Antilles`$starships
## [1] "http://swapi.co/api/starships/12/"
## 
## $`Wedge Antilles`$created
## [1] "2014-12-12T11:08:06.469000Z"
## 
## $`Wedge Antilles`$edited
## [1] "2014-12-20T21:17:50.341000Z"
## 
## $`Wedge Antilles`$url
## [1] "http://swapi.co/api/people/18/"
## 
## 
## $`Jek Tono Porkins`
## $`Jek Tono Porkins`$name
## [1] "Jek Tono Porkins"
## 
## $`Jek Tono Porkins`$height
## [1] "180"
## 
## $`Jek Tono Porkins`$mass
## [1] "110"
## 
## $`Jek Tono Porkins`$hair_color
## [1] "brown"
## 
## $`Jek Tono Porkins`$skin_color
## [1] "fair"
## 
## $`Jek Tono Porkins`$eye_color
## [1] "blue"
## 
## $`Jek Tono Porkins`$birth_year
## [1] "unknown"
## 
## $`Jek Tono Porkins`$gender
## [1] "male"
## 
## $`Jek Tono Porkins`$homeworld
## [1] "http://swapi.co/api/planets/26/"
## 
## $`Jek Tono Porkins`$films
## [1] "http://swapi.co/api/films/1/"
## 
## $`Jek Tono Porkins`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Jek Tono Porkins`$starships
## [1] "http://swapi.co/api/starships/12/"
## 
## $`Jek Tono Porkins`$created
## [1] "2014-12-12T11:16:56.569000Z"
## 
## $`Jek Tono Porkins`$edited
## [1] "2014-12-20T21:17:50.343000Z"
## 
## $`Jek Tono Porkins`$url
## [1] "http://swapi.co/api/people/19/"
## 
## 
## $Yoda
## $Yoda$name
## [1] "Yoda"
## 
## $Yoda$height
## [1] "66"
## 
## $Yoda$mass
## [1] "17"
## 
## $Yoda$hair_color
## [1] "white"
## 
## $Yoda$skin_color
## [1] "green"
## 
## $Yoda$eye_color
## [1] "brown"
## 
## $Yoda$birth_year
## [1] "896BBY"
## 
## $Yoda$gender
## [1] "male"
## 
## $Yoda$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $Yoda$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [5] "http://swapi.co/api/films/2/"
## 
## $Yoda$species
## [1] "http://swapi.co/api/species/6/"
## 
## $Yoda$created
## [1] "2014-12-15T12:26:01.042000Z"
## 
## $Yoda$edited
## [1] "2014-12-20T21:17:50.345000Z"
## 
## $Yoda$url
## [1] "http://swapi.co/api/people/20/"
## 
## 
## $Palpatine
## $Palpatine$name
## [1] "Palpatine"
## 
## $Palpatine$height
## [1] "170"
## 
## $Palpatine$mass
## [1] "75"
## 
## $Palpatine$hair_color
## [1] "grey"
## 
## $Palpatine$skin_color
## [1] "pale"
## 
## $Palpatine$eye_color
## [1] "yellow"
## 
## $Palpatine$birth_year
## [1] "82BBY"
## 
## $Palpatine$gender
## [1] "male"
## 
## $Palpatine$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $Palpatine$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/3/"
## [5] "http://swapi.co/api/films/2/"
## 
## $Palpatine$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Palpatine$created
## [1] "2014-12-15T12:48:05.971000Z"
## 
## $Palpatine$edited
## [1] "2014-12-20T21:17:50.347000Z"
## 
## $Palpatine$url
## [1] "http://swapi.co/api/people/21/"
## 
## 
## $`Boba Fett`
## $`Boba Fett`$name
## [1] "Boba Fett"
## 
## $`Boba Fett`$height
## [1] "183"
## 
## $`Boba Fett`$mass
## [1] "78.2"
## 
## $`Boba Fett`$hair_color
## [1] "black"
## 
## $`Boba Fett`$skin_color
## [1] "fair"
## 
## $`Boba Fett`$eye_color
## [1] "brown"
## 
## $`Boba Fett`$birth_year
## [1] "31.5BBY"
## 
## $`Boba Fett`$gender
## [1] "male"
## 
## $`Boba Fett`$homeworld
## [1] "http://swapi.co/api/planets/10/"
## 
## $`Boba Fett`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/3/"
## [3] "http://swapi.co/api/films/2/"
## 
## $`Boba Fett`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Boba Fett`$starships
## [1] "http://swapi.co/api/starships/21/"
## 
## $`Boba Fett`$created
## [1] "2014-12-15T12:49:32.457000Z"
## 
## $`Boba Fett`$edited
## [1] "2014-12-20T21:17:50.349000Z"
## 
## $`Boba Fett`$url
## [1] "http://swapi.co/api/people/22/"
## 
## 
## $`IG-88`
## $`IG-88`$name
## [1] "IG-88"
## 
## $`IG-88`$height
## [1] "200"
## 
## $`IG-88`$mass
## [1] "140"
## 
## $`IG-88`$hair_color
## [1] "none"
## 
## $`IG-88`$skin_color
## [1] "metal"
## 
## $`IG-88`$eye_color
## [1] "red"
## 
## $`IG-88`$birth_year
## [1] "15BBY"
## 
## $`IG-88`$gender
## [1] "none"
## 
## $`IG-88`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`IG-88`$films
## [1] "http://swapi.co/api/films/2/"
## 
## $`IG-88`$species
## [1] "http://swapi.co/api/species/2/"
## 
## $`IG-88`$created
## [1] "2014-12-15T12:51:10.076000Z"
## 
## $`IG-88`$edited
## [1] "2014-12-20T21:17:50.351000Z"
## 
## $`IG-88`$url
## [1] "http://swapi.co/api/people/23/"
## 
## 
## $Bossk
## $Bossk$name
## [1] "Bossk"
## 
## $Bossk$height
## [1] "190"
## 
## $Bossk$mass
## [1] "113"
## 
## $Bossk$hair_color
## [1] "none"
## 
## $Bossk$skin_color
## [1] "green"
## 
## $Bossk$eye_color
## [1] "red"
## 
## $Bossk$birth_year
## [1] "53BBY"
## 
## $Bossk$gender
## [1] "male"
## 
## $Bossk$homeworld
## [1] "http://swapi.co/api/planets/29/"
## 
## $Bossk$films
## [1] "http://swapi.co/api/films/2/"
## 
## $Bossk$species
## [1] "http://swapi.co/api/species/7/"
## 
## $Bossk$created
## [1] "2014-12-15T12:53:49.297000Z"
## 
## $Bossk$edited
## [1] "2014-12-20T21:17:50.355000Z"
## 
## $Bossk$url
## [1] "http://swapi.co/api/people/24/"
## 
## 
## $`Lando Calrissian`
## $`Lando Calrissian`$name
## [1] "Lando Calrissian"
## 
## $`Lando Calrissian`$height
## [1] "177"
## 
## $`Lando Calrissian`$mass
## [1] "79"
## 
## $`Lando Calrissian`$hair_color
## [1] "black"
## 
## $`Lando Calrissian`$skin_color
## [1] "dark"
## 
## $`Lando Calrissian`$eye_color
## [1] "brown"
## 
## $`Lando Calrissian`$birth_year
## [1] "31BBY"
## 
## $`Lando Calrissian`$gender
## [1] "male"
## 
## $`Lando Calrissian`$homeworld
## [1] "http://swapi.co/api/planets/30/"
## 
## $`Lando Calrissian`$films
## [1] "http://swapi.co/api/films/3/" "http://swapi.co/api/films/2/"
## 
## $`Lando Calrissian`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Lando Calrissian`$starships
## [1] "http://swapi.co/api/starships/10/"
## 
## $`Lando Calrissian`$created
## [1] "2014-12-15T12:56:32.683000Z"
## 
## $`Lando Calrissian`$edited
## [1] "2014-12-20T21:17:50.357000Z"
## 
## $`Lando Calrissian`$url
## [1] "http://swapi.co/api/people/25/"
## 
## 
## $Lobot
## $Lobot$name
## [1] "Lobot"
## 
## $Lobot$height
## [1] "175"
## 
## $Lobot$mass
## [1] "79"
## 
## $Lobot$hair_color
## [1] "none"
## 
## $Lobot$skin_color
## [1] "light"
## 
## $Lobot$eye_color
## [1] "blue"
## 
## $Lobot$birth_year
## [1] "37BBY"
## 
## $Lobot$gender
## [1] "male"
## 
## $Lobot$homeworld
## [1] "http://swapi.co/api/planets/6/"
## 
## $Lobot$films
## [1] "http://swapi.co/api/films/2/"
## 
## $Lobot$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Lobot$created
## [1] "2014-12-15T13:01:57.178000Z"
## 
## $Lobot$edited
## [1] "2014-12-20T21:17:50.359000Z"
## 
## $Lobot$url
## [1] "http://swapi.co/api/people/26/"
## 
## 
## $Ackbar
## $Ackbar$name
## [1] "Ackbar"
## 
## $Ackbar$height
## [1] "180"
## 
## $Ackbar$mass
## [1] "83"
## 
## $Ackbar$hair_color
## [1] "none"
## 
## $Ackbar$skin_color
## [1] "brown mottle"
## 
## $Ackbar$eye_color
## [1] "orange"
## 
## $Ackbar$birth_year
## [1] "41BBY"
## 
## $Ackbar$gender
## [1] "male"
## 
## $Ackbar$homeworld
## [1] "http://swapi.co/api/planets/31/"
## 
## $Ackbar$films
## [1] "http://swapi.co/api/films/3/" "http://swapi.co/api/films/7/"
## 
## $Ackbar$species
## [1] "http://swapi.co/api/species/8/"
## 
## $Ackbar$created
## [1] "2014-12-18T11:07:50.584000Z"
## 
## $Ackbar$edited
## [1] "2014-12-20T21:17:50.362000Z"
## 
## $Ackbar$url
## [1] "http://swapi.co/api/people/27/"
## 
## 
## $`Mon Mothma`
## $`Mon Mothma`$name
## [1] "Mon Mothma"
## 
## $`Mon Mothma`$height
## [1] "150"
## 
## $`Mon Mothma`$mass
## [1] "unknown"
## 
## $`Mon Mothma`$hair_color
## [1] "auburn"
## 
## $`Mon Mothma`$skin_color
## [1] "fair"
## 
## $`Mon Mothma`$eye_color
## [1] "blue"
## 
## $`Mon Mothma`$birth_year
## [1] "48BBY"
## 
## $`Mon Mothma`$gender
## [1] "female"
## 
## $`Mon Mothma`$homeworld
## [1] "http://swapi.co/api/planets/32/"
## 
## $`Mon Mothma`$films
## [1] "http://swapi.co/api/films/3/"
## 
## $`Mon Mothma`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Mon Mothma`$created
## [1] "2014-12-18T11:12:38.895000Z"
## 
## $`Mon Mothma`$edited
## [1] "2014-12-20T21:17:50.364000Z"
## 
## $`Mon Mothma`$url
## [1] "http://swapi.co/api/people/28/"
## 
## 
## $`Arvel Crynyd`
## $`Arvel Crynyd`$name
## [1] "Arvel Crynyd"
## 
## $`Arvel Crynyd`$height
## [1] "unknown"
## 
## $`Arvel Crynyd`$mass
## [1] "unknown"
## 
## $`Arvel Crynyd`$hair_color
## [1] "brown"
## 
## $`Arvel Crynyd`$skin_color
## [1] "fair"
## 
## $`Arvel Crynyd`$eye_color
## [1] "brown"
## 
## $`Arvel Crynyd`$birth_year
## [1] "unknown"
## 
## $`Arvel Crynyd`$gender
## [1] "male"
## 
## $`Arvel Crynyd`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`Arvel Crynyd`$films
## [1] "http://swapi.co/api/films/3/"
## 
## $`Arvel Crynyd`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Arvel Crynyd`$starships
## [1] "http://swapi.co/api/starships/28/"
## 
## $`Arvel Crynyd`$created
## [1] "2014-12-18T11:16:33.020000Z"
## 
## $`Arvel Crynyd`$edited
## [1] "2014-12-20T21:17:50.367000Z"
## 
## $`Arvel Crynyd`$url
## [1] "http://swapi.co/api/people/29/"
## 
## 
## $`Wicket Systri Warrick`
## $`Wicket Systri Warrick`$name
## [1] "Wicket Systri Warrick"
## 
## $`Wicket Systri Warrick`$height
## [1] "88"
## 
## $`Wicket Systri Warrick`$mass
## [1] "20"
## 
## $`Wicket Systri Warrick`$hair_color
## [1] "brown"
## 
## $`Wicket Systri Warrick`$skin_color
## [1] "brown"
## 
## $`Wicket Systri Warrick`$eye_color
## [1] "brown"
## 
## $`Wicket Systri Warrick`$birth_year
## [1] "8BBY"
## 
## $`Wicket Systri Warrick`$gender
## [1] "male"
## 
## $`Wicket Systri Warrick`$homeworld
## [1] "http://swapi.co/api/planets/7/"
## 
## $`Wicket Systri Warrick`$films
## [1] "http://swapi.co/api/films/3/"
## 
## $`Wicket Systri Warrick`$species
## [1] "http://swapi.co/api/species/9/"
## 
## $`Wicket Systri Warrick`$created
## [1] "2014-12-18T11:21:58.954000Z"
## 
## $`Wicket Systri Warrick`$edited
## [1] "2014-12-20T21:17:50.369000Z"
## 
## $`Wicket Systri Warrick`$url
## [1] "http://swapi.co/api/people/30/"
## 
## 
## $`Nien Nunb`
## $`Nien Nunb`$name
## [1] "Nien Nunb"
## 
## $`Nien Nunb`$height
## [1] "160"
## 
## $`Nien Nunb`$mass
## [1] "68"
## 
## $`Nien Nunb`$hair_color
## [1] "none"
## 
## $`Nien Nunb`$skin_color
## [1] "grey"
## 
## $`Nien Nunb`$eye_color
## [1] "black"
## 
## $`Nien Nunb`$birth_year
## [1] "unknown"
## 
## $`Nien Nunb`$gender
## [1] "male"
## 
## $`Nien Nunb`$homeworld
## [1] "http://swapi.co/api/planets/33/"
## 
## $`Nien Nunb`$films
## [1] "http://swapi.co/api/films/3/"
## 
## $`Nien Nunb`$species
## [1] "http://swapi.co/api/species/10/"
## 
## $`Nien Nunb`$starships
## [1] "http://swapi.co/api/starships/10/"
## 
## $`Nien Nunb`$created
## [1] "2014-12-18T11:26:18.541000Z"
## 
## $`Nien Nunb`$edited
## [1] "2014-12-20T21:17:50.371000Z"
## 
## $`Nien Nunb`$url
## [1] "http://swapi.co/api/people/31/"
## 
## 
## $`Qui-Gon Jinn`
## $`Qui-Gon Jinn`$name
## [1] "Qui-Gon Jinn"
## 
## $`Qui-Gon Jinn`$height
## [1] "193"
## 
## $`Qui-Gon Jinn`$mass
## [1] "89"
## 
## $`Qui-Gon Jinn`$hair_color
## [1] "brown"
## 
## $`Qui-Gon Jinn`$skin_color
## [1] "fair"
## 
## $`Qui-Gon Jinn`$eye_color
## [1] "blue"
## 
## $`Qui-Gon Jinn`$birth_year
## [1] "92BBY"
## 
## $`Qui-Gon Jinn`$gender
## [1] "male"
## 
## $`Qui-Gon Jinn`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`Qui-Gon Jinn`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Qui-Gon Jinn`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Qui-Gon Jinn`$vehicles
## [1] "http://swapi.co/api/vehicles/38/"
## 
## $`Qui-Gon Jinn`$created
## [1] "2014-12-19T16:54:53.618000Z"
## 
## $`Qui-Gon Jinn`$edited
## [1] "2014-12-20T21:17:50.375000Z"
## 
## $`Qui-Gon Jinn`$url
## [1] "http://swapi.co/api/people/32/"
## 
## 
## $`Nute Gunray`
## $`Nute Gunray`$name
## [1] "Nute Gunray"
## 
## $`Nute Gunray`$height
## [1] "191"
## 
## $`Nute Gunray`$mass
## [1] "90"
## 
## $`Nute Gunray`$hair_color
## [1] "none"
## 
## $`Nute Gunray`$skin_color
## [1] "mottled green"
## 
## $`Nute Gunray`$eye_color
## [1] "red"
## 
## $`Nute Gunray`$birth_year
## [1] "unknown"
## 
## $`Nute Gunray`$gender
## [1] "male"
## 
## $`Nute Gunray`$homeworld
## [1] "http://swapi.co/api/planets/18/"
## 
## $`Nute Gunray`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Nute Gunray`$species
## [1] "http://swapi.co/api/species/11/"
## 
## $`Nute Gunray`$created
## [1] "2014-12-19T17:05:57.357000Z"
## 
## $`Nute Gunray`$edited
## [1] "2014-12-20T21:17:50.377000Z"
## 
## $`Nute Gunray`$url
## [1] "http://swapi.co/api/people/33/"
## 
## 
## $`Finis Valorum`
## $`Finis Valorum`$name
## [1] "Finis Valorum"
## 
## $`Finis Valorum`$height
## [1] "170"
## 
## $`Finis Valorum`$mass
## [1] "unknown"
## 
## $`Finis Valorum`$hair_color
## [1] "blond"
## 
## $`Finis Valorum`$skin_color
## [1] "fair"
## 
## $`Finis Valorum`$eye_color
## [1] "blue"
## 
## $`Finis Valorum`$birth_year
## [1] "91BBY"
## 
## $`Finis Valorum`$gender
## [1] "male"
## 
## $`Finis Valorum`$homeworld
## [1] "http://swapi.co/api/planets/9/"
## 
## $`Finis Valorum`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Finis Valorum`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Finis Valorum`$created
## [1] "2014-12-19T17:21:45.915000Z"
## 
## $`Finis Valorum`$edited
## [1] "2014-12-20T21:17:50.379000Z"
## 
## $`Finis Valorum`$url
## [1] "http://swapi.co/api/people/34/"
## 
## 
## $`Jar Jar Binks`
## $`Jar Jar Binks`$name
## [1] "Jar Jar Binks"
## 
## $`Jar Jar Binks`$height
## [1] "196"
## 
## $`Jar Jar Binks`$mass
## [1] "66"
## 
## $`Jar Jar Binks`$hair_color
## [1] "none"
## 
## $`Jar Jar Binks`$skin_color
## [1] "orange"
## 
## $`Jar Jar Binks`$eye_color
## [1] "orange"
## 
## $`Jar Jar Binks`$birth_year
## [1] "52BBY"
## 
## $`Jar Jar Binks`$gender
## [1] "male"
## 
## $`Jar Jar Binks`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Jar Jar Binks`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## 
## $`Jar Jar Binks`$species
## [1] "http://swapi.co/api/species/12/"
## 
## $`Jar Jar Binks`$created
## [1] "2014-12-19T17:29:32.489000Z"
## 
## $`Jar Jar Binks`$edited
## [1] "2014-12-20T21:17:50.383000Z"
## 
## $`Jar Jar Binks`$url
## [1] "http://swapi.co/api/people/36/"
## 
## 
## $`Roos Tarpals`
## $`Roos Tarpals`$name
## [1] "Roos Tarpals"
## 
## $`Roos Tarpals`$height
## [1] "224"
## 
## $`Roos Tarpals`$mass
## [1] "82"
## 
## $`Roos Tarpals`$hair_color
## [1] "none"
## 
## $`Roos Tarpals`$skin_color
## [1] "grey"
## 
## $`Roos Tarpals`$eye_color
## [1] "orange"
## 
## $`Roos Tarpals`$birth_year
## [1] "unknown"
## 
## $`Roos Tarpals`$gender
## [1] "male"
## 
## $`Roos Tarpals`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Roos Tarpals`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Roos Tarpals`$species
## [1] "http://swapi.co/api/species/12/"
## 
## $`Roos Tarpals`$created
## [1] "2014-12-19T17:32:56.741000Z"
## 
## $`Roos Tarpals`$edited
## [1] "2014-12-20T21:17:50.385000Z"
## 
## $`Roos Tarpals`$url
## [1] "http://swapi.co/api/people/37/"
## 
## 
## $`Rugor Nass`
## $`Rugor Nass`$name
## [1] "Rugor Nass"
## 
## $`Rugor Nass`$height
## [1] "206"
## 
## $`Rugor Nass`$mass
## [1] "unknown"
## 
## $`Rugor Nass`$hair_color
## [1] "none"
## 
## $`Rugor Nass`$skin_color
## [1] "green"
## 
## $`Rugor Nass`$eye_color
## [1] "orange"
## 
## $`Rugor Nass`$birth_year
## [1] "unknown"
## 
## $`Rugor Nass`$gender
## [1] "male"
## 
## $`Rugor Nass`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Rugor Nass`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Rugor Nass`$species
## [1] "http://swapi.co/api/species/12/"
## 
## $`Rugor Nass`$created
## [1] "2014-12-19T17:33:38.909000Z"
## 
## $`Rugor Nass`$edited
## [1] "2014-12-20T21:17:50.388000Z"
## 
## $`Rugor Nass`$url
## [1] "http://swapi.co/api/people/38/"
## 
## 
## $`Ric Olié`
## $`Ric Olié`$name
## [1] "Ric Olié"
## 
## $`Ric Olié`$height
## [1] "183"
## 
## $`Ric Olié`$mass
## [1] "unknown"
## 
## $`Ric Olié`$hair_color
## [1] "brown"
## 
## $`Ric Olié`$skin_color
## [1] "fair"
## 
## $`Ric Olié`$eye_color
## [1] "blue"
## 
## $`Ric Olié`$birth_year
## [1] "unknown"
## 
## $`Ric Olié`$gender
## [1] "male"
## 
## $`Ric Olié`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Ric Olié`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Ric Olié`$starships
## [1] "http://swapi.co/api/starships/40/"
## 
## $`Ric Olié`$created
## [1] "2014-12-19T17:45:01.522000Z"
## 
## $`Ric Olié`$edited
## [1] "2014-12-20T21:17:50.392000Z"
## 
## $`Ric Olié`$url
## [1] "http://swapi.co/api/people/39/"
## 
## 
## $Watto
## $Watto$name
## [1] "Watto"
## 
## $Watto$height
## [1] "137"
## 
## $Watto$mass
## [1] "unknown"
## 
## $Watto$hair_color
## [1] "black"
## 
## $Watto$skin_color
## [1] "blue, grey"
## 
## $Watto$eye_color
## [1] "yellow"
## 
## $Watto$birth_year
## [1] "unknown"
## 
## $Watto$gender
## [1] "male"
## 
## $Watto$homeworld
## [1] "http://swapi.co/api/planets/34/"
## 
## $Watto$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## 
## $Watto$species
## [1] "http://swapi.co/api/species/13/"
## 
## $Watto$created
## [1] "2014-12-19T17:48:54.647000Z"
## 
## $Watto$edited
## [1] "2014-12-20T21:17:50.395000Z"
## 
## $Watto$url
## [1] "http://swapi.co/api/people/40/"
## 
## 
## $Sebulba
## $Sebulba$name
## [1] "Sebulba"
## 
## $Sebulba$height
## [1] "112"
## 
## $Sebulba$mass
## [1] "40"
## 
## $Sebulba$hair_color
## [1] "none"
## 
## $Sebulba$skin_color
## [1] "grey, red"
## 
## $Sebulba$eye_color
## [1] "orange"
## 
## $Sebulba$birth_year
## [1] "unknown"
## 
## $Sebulba$gender
## [1] "male"
## 
## $Sebulba$homeworld
## [1] "http://swapi.co/api/planets/35/"
## 
## $Sebulba$films
## [1] "http://swapi.co/api/films/4/"
## 
## $Sebulba$species
## [1] "http://swapi.co/api/species/14/"
## 
## $Sebulba$created
## [1] "2014-12-19T17:53:02.586000Z"
## 
## $Sebulba$edited
## [1] "2014-12-20T21:17:50.397000Z"
## 
## $Sebulba$url
## [1] "http://swapi.co/api/people/41/"
## 
## 
## $`Quarsh Panaka`
## $`Quarsh Panaka`$name
## [1] "Quarsh Panaka"
## 
## $`Quarsh Panaka`$height
## [1] "183"
## 
## $`Quarsh Panaka`$mass
## [1] "unknown"
## 
## $`Quarsh Panaka`$hair_color
## [1] "black"
## 
## $`Quarsh Panaka`$skin_color
## [1] "dark"
## 
## $`Quarsh Panaka`$eye_color
## [1] "brown"
## 
## $`Quarsh Panaka`$birth_year
## [1] "62BBY"
## 
## $`Quarsh Panaka`$gender
## [1] "male"
## 
## $`Quarsh Panaka`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Quarsh Panaka`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Quarsh Panaka`$created
## [1] "2014-12-19T17:55:43.348000Z"
## 
## $`Quarsh Panaka`$edited
## [1] "2014-12-20T21:17:50.399000Z"
## 
## $`Quarsh Panaka`$url
## [1] "http://swapi.co/api/people/42/"
## 
## 
## $`Shmi Skywalker`
## $`Shmi Skywalker`$name
## [1] "Shmi Skywalker"
## 
## $`Shmi Skywalker`$height
## [1] "163"
## 
## $`Shmi Skywalker`$mass
## [1] "unknown"
## 
## $`Shmi Skywalker`$hair_color
## [1] "black"
## 
## $`Shmi Skywalker`$skin_color
## [1] "fair"
## 
## $`Shmi Skywalker`$eye_color
## [1] "brown"
## 
## $`Shmi Skywalker`$birth_year
## [1] "72BBY"
## 
## $`Shmi Skywalker`$gender
## [1] "female"
## 
## $`Shmi Skywalker`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Shmi Skywalker`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## 
## $`Shmi Skywalker`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Shmi Skywalker`$created
## [1] "2014-12-19T17:57:41.191000Z"
## 
## $`Shmi Skywalker`$edited
## [1] "2014-12-20T21:17:50.401000Z"
## 
## $`Shmi Skywalker`$url
## [1] "http://swapi.co/api/people/43/"
## 
## 
## $`Darth Maul`
## $`Darth Maul`$name
## [1] "Darth Maul"
## 
## $`Darth Maul`$height
## [1] "175"
## 
## $`Darth Maul`$mass
## [1] "80"
## 
## $`Darth Maul`$hair_color
## [1] "none"
## 
## $`Darth Maul`$skin_color
## [1] "red"
## 
## $`Darth Maul`$eye_color
## [1] "yellow"
## 
## $`Darth Maul`$birth_year
## [1] "54BBY"
## 
## $`Darth Maul`$gender
## [1] "male"
## 
## $`Darth Maul`$homeworld
## [1] "http://swapi.co/api/planets/36/"
## 
## $`Darth Maul`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Darth Maul`$species
## [1] "http://swapi.co/api/species/22/"
## 
## $`Darth Maul`$vehicles
## [1] "http://swapi.co/api/vehicles/42/"
## 
## $`Darth Maul`$starships
## [1] "http://swapi.co/api/starships/41/"
## 
## $`Darth Maul`$created
## [1] "2014-12-19T18:00:41.929000Z"
## 
## $`Darth Maul`$edited
## [1] "2014-12-20T21:17:50.403000Z"
## 
## $`Darth Maul`$url
## [1] "http://swapi.co/api/people/44/"
## 
## 
## $`Bib Fortuna`
## $`Bib Fortuna`$name
## [1] "Bib Fortuna"
## 
## $`Bib Fortuna`$height
## [1] "180"
## 
## $`Bib Fortuna`$mass
## [1] "unknown"
## 
## $`Bib Fortuna`$hair_color
## [1] "none"
## 
## $`Bib Fortuna`$skin_color
## [1] "pale"
## 
## $`Bib Fortuna`$eye_color
## [1] "pink"
## 
## $`Bib Fortuna`$birth_year
## [1] "unknown"
## 
## $`Bib Fortuna`$gender
## [1] "male"
## 
## $`Bib Fortuna`$homeworld
## [1] "http://swapi.co/api/planets/37/"
## 
## $`Bib Fortuna`$films
## [1] "http://swapi.co/api/films/3/"
## 
## $`Bib Fortuna`$species
## [1] "http://swapi.co/api/species/15/"
## 
## $`Bib Fortuna`$created
## [1] "2014-12-20T09:47:02.512000Z"
## 
## $`Bib Fortuna`$edited
## [1] "2014-12-20T21:17:50.407000Z"
## 
## $`Bib Fortuna`$url
## [1] "http://swapi.co/api/people/45/"
## 
## 
## $`Ayla Secura`
## $`Ayla Secura`$name
## [1] "Ayla Secura"
## 
## $`Ayla Secura`$height
## [1] "178"
## 
## $`Ayla Secura`$mass
## [1] "55"
## 
## $`Ayla Secura`$hair_color
## [1] "none"
## 
## $`Ayla Secura`$skin_color
## [1] "blue"
## 
## $`Ayla Secura`$eye_color
## [1] "hazel"
## 
## $`Ayla Secura`$birth_year
## [1] "48BBY"
## 
## $`Ayla Secura`$gender
## [1] "female"
## 
## $`Ayla Secura`$homeworld
## [1] "http://swapi.co/api/planets/37/"
## 
## $`Ayla Secura`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Ayla Secura`$species
## [1] "http://swapi.co/api/species/15/"
## 
## $`Ayla Secura`$created
## [1] "2014-12-20T09:48:01.172000Z"
## 
## $`Ayla Secura`$edited
## [1] "2014-12-20T21:17:50.409000Z"
## 
## $`Ayla Secura`$url
## [1] "http://swapi.co/api/people/46/"
## 
## 
## $`Dud Bolt`
## $`Dud Bolt`$name
## [1] "Dud Bolt"
## 
## $`Dud Bolt`$height
## [1] "94"
## 
## $`Dud Bolt`$mass
## [1] "45"
## 
## $`Dud Bolt`$hair_color
## [1] "none"
## 
## $`Dud Bolt`$skin_color
## [1] "blue, grey"
## 
## $`Dud Bolt`$eye_color
## [1] "yellow"
## 
## $`Dud Bolt`$birth_year
## [1] "unknown"
## 
## $`Dud Bolt`$gender
## [1] "male"
## 
## $`Dud Bolt`$homeworld
## [1] "http://swapi.co/api/planets/39/"
## 
## $`Dud Bolt`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Dud Bolt`$species
## [1] "http://swapi.co/api/species/17/"
## 
## $`Dud Bolt`$created
## [1] "2014-12-20T09:57:31.858000Z"
## 
## $`Dud Bolt`$edited
## [1] "2014-12-20T21:17:50.414000Z"
## 
## $`Dud Bolt`$url
## [1] "http://swapi.co/api/people/48/"
## 
## 
## $Gasgano
## $Gasgano$name
## [1] "Gasgano"
## 
## $Gasgano$height
## [1] "122"
## 
## $Gasgano$mass
## [1] "unknown"
## 
## $Gasgano$hair_color
## [1] "none"
## 
## $Gasgano$skin_color
## [1] "white, blue"
## 
## $Gasgano$eye_color
## [1] "black"
## 
## $Gasgano$birth_year
## [1] "unknown"
## 
## $Gasgano$gender
## [1] "male"
## 
## $Gasgano$homeworld
## [1] "http://swapi.co/api/planets/40/"
## 
## $Gasgano$films
## [1] "http://swapi.co/api/films/4/"
## 
## $Gasgano$species
## [1] "http://swapi.co/api/species/18/"
## 
## $Gasgano$created
## [1] "2014-12-20T10:02:12.223000Z"
## 
## $Gasgano$edited
## [1] "2014-12-20T21:17:50.416000Z"
## 
## $Gasgano$url
## [1] "http://swapi.co/api/people/49/"
## 
## 
## $`Ben Quadinaros`
## $`Ben Quadinaros`$name
## [1] "Ben Quadinaros"
## 
## $`Ben Quadinaros`$height
## [1] "163"
## 
## $`Ben Quadinaros`$mass
## [1] "65"
## 
## $`Ben Quadinaros`$hair_color
## [1] "none"
## 
## $`Ben Quadinaros`$skin_color
## [1] "grey, green, yellow"
## 
## $`Ben Quadinaros`$eye_color
## [1] "orange"
## 
## $`Ben Quadinaros`$birth_year
## [1] "unknown"
## 
## $`Ben Quadinaros`$gender
## [1] "male"
## 
## $`Ben Quadinaros`$homeworld
## [1] "http://swapi.co/api/planets/41/"
## 
## $`Ben Quadinaros`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Ben Quadinaros`$species
## [1] "http://swapi.co/api/species/19/"
## 
## $`Ben Quadinaros`$created
## [1] "2014-12-20T10:08:33.777000Z"
## 
## $`Ben Quadinaros`$edited
## [1] "2014-12-20T21:17:50.417000Z"
## 
## $`Ben Quadinaros`$url
## [1] "http://swapi.co/api/people/50/"
## 
## 
## $`Mace Windu`
## $`Mace Windu`$name
## [1] "Mace Windu"
## 
## $`Mace Windu`$height
## [1] "188"
## 
## $`Mace Windu`$mass
## [1] "84"
## 
## $`Mace Windu`$hair_color
## [1] "none"
## 
## $`Mace Windu`$skin_color
## [1] "dark"
## 
## $`Mace Windu`$eye_color
## [1] "brown"
## 
## $`Mace Windu`$birth_year
## [1] "72BBY"
## 
## $`Mace Windu`$gender
## [1] "male"
## 
## $`Mace Windu`$homeworld
## [1] "http://swapi.co/api/planets/42/"
## 
## $`Mace Windu`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Mace Windu`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Mace Windu`$created
## [1] "2014-12-20T10:12:30.846000Z"
## 
## $`Mace Windu`$edited
## [1] "2014-12-20T21:17:50.420000Z"
## 
## $`Mace Windu`$url
## [1] "http://swapi.co/api/people/51/"
## 
## 
## $`Ki-Adi-Mundi`
## $`Ki-Adi-Mundi`$name
## [1] "Ki-Adi-Mundi"
## 
## $`Ki-Adi-Mundi`$height
## [1] "198"
## 
## $`Ki-Adi-Mundi`$mass
## [1] "82"
## 
## $`Ki-Adi-Mundi`$hair_color
## [1] "white"
## 
## $`Ki-Adi-Mundi`$skin_color
## [1] "pale"
## 
## $`Ki-Adi-Mundi`$eye_color
## [1] "yellow"
## 
## $`Ki-Adi-Mundi`$birth_year
## [1] "92BBY"
## 
## $`Ki-Adi-Mundi`$gender
## [1] "male"
## 
## $`Ki-Adi-Mundi`$homeworld
## [1] "http://swapi.co/api/planets/43/"
## 
## $`Ki-Adi-Mundi`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Ki-Adi-Mundi`$species
## [1] "http://swapi.co/api/species/20/"
## 
## $`Ki-Adi-Mundi`$created
## [1] "2014-12-20T10:15:32.293000Z"
## 
## $`Ki-Adi-Mundi`$edited
## [1] "2014-12-20T21:17:50.422000Z"
## 
## $`Ki-Adi-Mundi`$url
## [1] "http://swapi.co/api/people/52/"
## 
## 
## $`Kit Fisto`
## $`Kit Fisto`$name
## [1] "Kit Fisto"
## 
## $`Kit Fisto`$height
## [1] "196"
## 
## $`Kit Fisto`$mass
## [1] "87"
## 
## $`Kit Fisto`$hair_color
## [1] "none"
## 
## $`Kit Fisto`$skin_color
## [1] "green"
## 
## $`Kit Fisto`$eye_color
## [1] "black"
## 
## $`Kit Fisto`$birth_year
## [1] "unknown"
## 
## $`Kit Fisto`$gender
## [1] "male"
## 
## $`Kit Fisto`$homeworld
## [1] "http://swapi.co/api/planets/44/"
## 
## $`Kit Fisto`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Kit Fisto`$species
## [1] "http://swapi.co/api/species/21/"
## 
## $`Kit Fisto`$created
## [1] "2014-12-20T10:18:57.202000Z"
## 
## $`Kit Fisto`$edited
## [1] "2014-12-20T21:17:50.424000Z"
## 
## $`Kit Fisto`$url
## [1] "http://swapi.co/api/people/53/"
## 
## 
## $`Eeth Koth`
## $`Eeth Koth`$name
## [1] "Eeth Koth"
## 
## $`Eeth Koth`$height
## [1] "171"
## 
## $`Eeth Koth`$mass
## [1] "unknown"
## 
## $`Eeth Koth`$hair_color
## [1] "black"
## 
## $`Eeth Koth`$skin_color
## [1] "brown"
## 
## $`Eeth Koth`$eye_color
## [1] "brown"
## 
## $`Eeth Koth`$birth_year
## [1] "unknown"
## 
## $`Eeth Koth`$gender
## [1] "male"
## 
## $`Eeth Koth`$homeworld
## [1] "http://swapi.co/api/planets/45/"
## 
## $`Eeth Koth`$films
## [1] "http://swapi.co/api/films/4/" "http://swapi.co/api/films/6/"
## 
## $`Eeth Koth`$species
## [1] "http://swapi.co/api/species/22/"
## 
## $`Eeth Koth`$created
## [1] "2014-12-20T10:26:47.902000Z"
## 
## $`Eeth Koth`$edited
## [1] "2014-12-20T21:17:50.427000Z"
## 
## $`Eeth Koth`$url
## [1] "http://swapi.co/api/people/54/"
## 
## 
## $`Adi Gallia`
## $`Adi Gallia`$name
## [1] "Adi Gallia"
## 
## $`Adi Gallia`$height
## [1] "184"
## 
## $`Adi Gallia`$mass
## [1] "50"
## 
## $`Adi Gallia`$hair_color
## [1] "none"
## 
## $`Adi Gallia`$skin_color
## [1] "dark"
## 
## $`Adi Gallia`$eye_color
## [1] "blue"
## 
## $`Adi Gallia`$birth_year
## [1] "unknown"
## 
## $`Adi Gallia`$gender
## [1] "female"
## 
## $`Adi Gallia`$homeworld
## [1] "http://swapi.co/api/planets/9/"
## 
## $`Adi Gallia`$films
## [1] "http://swapi.co/api/films/4/" "http://swapi.co/api/films/6/"
## 
## $`Adi Gallia`$species
## [1] "http://swapi.co/api/species/23/"
## 
## $`Adi Gallia`$created
## [1] "2014-12-20T10:29:11.661000Z"
## 
## $`Adi Gallia`$edited
## [1] "2014-12-20T21:17:50.432000Z"
## 
## $`Adi Gallia`$url
## [1] "http://swapi.co/api/people/55/"
## 
## 
## $`Saesee Tiin`
## $`Saesee Tiin`$name
## [1] "Saesee Tiin"
## 
## $`Saesee Tiin`$height
## [1] "188"
## 
## $`Saesee Tiin`$mass
## [1] "unknown"
## 
## $`Saesee Tiin`$hair_color
## [1] "none"
## 
## $`Saesee Tiin`$skin_color
## [1] "pale"
## 
## $`Saesee Tiin`$eye_color
## [1] "orange"
## 
## $`Saesee Tiin`$birth_year
## [1] "unknown"
## 
## $`Saesee Tiin`$gender
## [1] "male"
## 
## $`Saesee Tiin`$homeworld
## [1] "http://swapi.co/api/planets/47/"
## 
## $`Saesee Tiin`$films
## [1] "http://swapi.co/api/films/4/" "http://swapi.co/api/films/6/"
## 
## $`Saesee Tiin`$species
## [1] "http://swapi.co/api/species/24/"
## 
## $`Saesee Tiin`$created
## [1] "2014-12-20T10:32:11.669000Z"
## 
## $`Saesee Tiin`$edited
## [1] "2014-12-20T21:17:50.434000Z"
## 
## $`Saesee Tiin`$url
## [1] "http://swapi.co/api/people/56/"
## 
## 
## $`Yarael Poof`
## $`Yarael Poof`$name
## [1] "Yarael Poof"
## 
## $`Yarael Poof`$height
## [1] "264"
## 
## $`Yarael Poof`$mass
## [1] "unknown"
## 
## $`Yarael Poof`$hair_color
## [1] "none"
## 
## $`Yarael Poof`$skin_color
## [1] "white"
## 
## $`Yarael Poof`$eye_color
## [1] "yellow"
## 
## $`Yarael Poof`$birth_year
## [1] "unknown"
## 
## $`Yarael Poof`$gender
## [1] "male"
## 
## $`Yarael Poof`$homeworld
## [1] "http://swapi.co/api/planets/48/"
## 
## $`Yarael Poof`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Yarael Poof`$species
## [1] "http://swapi.co/api/species/25/"
## 
## $`Yarael Poof`$created
## [1] "2014-12-20T10:34:48.725000Z"
## 
## $`Yarael Poof`$edited
## [1] "2014-12-20T21:17:50.437000Z"
## 
## $`Yarael Poof`$url
## [1] "http://swapi.co/api/people/57/"
## 
## 
## $`Plo Koon`
## $`Plo Koon`$name
## [1] "Plo Koon"
## 
## $`Plo Koon`$height
## [1] "188"
## 
## $`Plo Koon`$mass
## [1] "80"
## 
## $`Plo Koon`$hair_color
## [1] "none"
## 
## $`Plo Koon`$skin_color
## [1] "orange"
## 
## $`Plo Koon`$eye_color
## [1] "black"
## 
## $`Plo Koon`$birth_year
## [1] "22BBY"
## 
## $`Plo Koon`$gender
## [1] "male"
## 
## $`Plo Koon`$homeworld
## [1] "http://swapi.co/api/planets/49/"
## 
## $`Plo Koon`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Plo Koon`$species
## [1] "http://swapi.co/api/species/26/"
## 
## $`Plo Koon`$starships
## [1] "http://swapi.co/api/starships/48/"
## 
## $`Plo Koon`$created
## [1] "2014-12-20T10:49:19.859000Z"
## 
## $`Plo Koon`$edited
## [1] "2014-12-20T21:17:50.439000Z"
## 
## $`Plo Koon`$url
## [1] "http://swapi.co/api/people/58/"
## 
## 
## $`Mas Amedda`
## $`Mas Amedda`$name
## [1] "Mas Amedda"
## 
## $`Mas Amedda`$height
## [1] "196"
## 
## $`Mas Amedda`$mass
## [1] "unknown"
## 
## $`Mas Amedda`$hair_color
## [1] "none"
## 
## $`Mas Amedda`$skin_color
## [1] "blue"
## 
## $`Mas Amedda`$eye_color
## [1] "blue"
## 
## $`Mas Amedda`$birth_year
## [1] "unknown"
## 
## $`Mas Amedda`$gender
## [1] "male"
## 
## $`Mas Amedda`$homeworld
## [1] "http://swapi.co/api/planets/50/"
## 
## $`Mas Amedda`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## 
## $`Mas Amedda`$species
## [1] "http://swapi.co/api/species/27/"
## 
## $`Mas Amedda`$created
## [1] "2014-12-20T10:53:26.457000Z"
## 
## $`Mas Amedda`$edited
## [1] "2014-12-20T21:17:50.442000Z"
## 
## $`Mas Amedda`$url
## [1] "http://swapi.co/api/people/59/"
## 
## 
## $`Gregar Typho`
## $`Gregar Typho`$name
## [1] "Gregar Typho"
## 
## $`Gregar Typho`$height
## [1] "185"
## 
## $`Gregar Typho`$mass
## [1] "85"
## 
## $`Gregar Typho`$hair_color
## [1] "black"
## 
## $`Gregar Typho`$skin_color
## [1] "dark"
## 
## $`Gregar Typho`$eye_color
## [1] "brown"
## 
## $`Gregar Typho`$birth_year
## [1] "unknown"
## 
## $`Gregar Typho`$gender
## [1] "male"
## 
## $`Gregar Typho`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Gregar Typho`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Gregar Typho`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Gregar Typho`$starships
## [1] "http://swapi.co/api/starships/39/"
## 
## $`Gregar Typho`$created
## [1] "2014-12-20T11:10:10.381000Z"
## 
## $`Gregar Typho`$edited
## [1] "2014-12-20T21:17:50.445000Z"
## 
## $`Gregar Typho`$url
## [1] "http://swapi.co/api/people/60/"
## 
## 
## $Cordé
## $Cordé$name
## [1] "Cordé"
## 
## $Cordé$height
## [1] "157"
## 
## $Cordé$mass
## [1] "unknown"
## 
## $Cordé$hair_color
## [1] "brown"
## 
## $Cordé$skin_color
## [1] "light"
## 
## $Cordé$eye_color
## [1] "brown"
## 
## $Cordé$birth_year
## [1] "unknown"
## 
## $Cordé$gender
## [1] "female"
## 
## $Cordé$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $Cordé$films
## [1] "http://swapi.co/api/films/5/"
## 
## $Cordé$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Cordé$created
## [1] "2014-12-20T11:11:39.630000Z"
## 
## $Cordé$edited
## [1] "2014-12-20T21:17:50.449000Z"
## 
## $Cordé$url
## [1] "http://swapi.co/api/people/61/"
## 
## 
## $`Cliegg Lars`
## $`Cliegg Lars`$name
## [1] "Cliegg Lars"
## 
## $`Cliegg Lars`$height
## [1] "183"
## 
## $`Cliegg Lars`$mass
## [1] "unknown"
## 
## $`Cliegg Lars`$hair_color
## [1] "brown"
## 
## $`Cliegg Lars`$skin_color
## [1] "fair"
## 
## $`Cliegg Lars`$eye_color
## [1] "blue"
## 
## $`Cliegg Lars`$birth_year
## [1] "82BBY"
## 
## $`Cliegg Lars`$gender
## [1] "male"
## 
## $`Cliegg Lars`$homeworld
## [1] "http://swapi.co/api/planets/1/"
## 
## $`Cliegg Lars`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Cliegg Lars`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Cliegg Lars`$created
## [1] "2014-12-20T15:59:03.958000Z"
## 
## $`Cliegg Lars`$edited
## [1] "2014-12-20T21:17:50.451000Z"
## 
## $`Cliegg Lars`$url
## [1] "http://swapi.co/api/people/62/"
## 
## 
## $`Poggle the Lesser`
## $`Poggle the Lesser`$name
## [1] "Poggle the Lesser"
## 
## $`Poggle the Lesser`$height
## [1] "183"
## 
## $`Poggle the Lesser`$mass
## [1] "80"
## 
## $`Poggle the Lesser`$hair_color
## [1] "none"
## 
## $`Poggle the Lesser`$skin_color
## [1] "green"
## 
## $`Poggle the Lesser`$eye_color
## [1] "yellow"
## 
## $`Poggle the Lesser`$birth_year
## [1] "unknown"
## 
## $`Poggle the Lesser`$gender
## [1] "male"
## 
## $`Poggle the Lesser`$homeworld
## [1] "http://swapi.co/api/planets/11/"
## 
## $`Poggle the Lesser`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`Poggle the Lesser`$species
## [1] "http://swapi.co/api/species/28/"
## 
## $`Poggle the Lesser`$created
## [1] "2014-12-20T16:40:43.977000Z"
## 
## $`Poggle the Lesser`$edited
## [1] "2014-12-20T21:17:50.453000Z"
## 
## $`Poggle the Lesser`$url
## [1] "http://swapi.co/api/people/63/"
## 
## 
## $`Luminara Unduli`
## $`Luminara Unduli`$name
## [1] "Luminara Unduli"
## 
## $`Luminara Unduli`$height
## [1] "170"
## 
## $`Luminara Unduli`$mass
## [1] "56.2"
## 
## $`Luminara Unduli`$hair_color
## [1] "black"
## 
## $`Luminara Unduli`$skin_color
## [1] "yellow"
## 
## $`Luminara Unduli`$eye_color
## [1] "blue"
## 
## $`Luminara Unduli`$birth_year
## [1] "58BBY"
## 
## $`Luminara Unduli`$gender
## [1] "female"
## 
## $`Luminara Unduli`$homeworld
## [1] "http://swapi.co/api/planets/51/"
## 
## $`Luminara Unduli`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`Luminara Unduli`$species
## [1] "http://swapi.co/api/species/29/"
## 
## $`Luminara Unduli`$created
## [1] "2014-12-20T16:45:53.668000Z"
## 
## $`Luminara Unduli`$edited
## [1] "2014-12-20T21:17:50.455000Z"
## 
## $`Luminara Unduli`$url
## [1] "http://swapi.co/api/people/64/"
## 
## 
## $`Barriss Offee`
## $`Barriss Offee`$name
## [1] "Barriss Offee"
## 
## $`Barriss Offee`$height
## [1] "166"
## 
## $`Barriss Offee`$mass
## [1] "50"
## 
## $`Barriss Offee`$hair_color
## [1] "black"
## 
## $`Barriss Offee`$skin_color
## [1] "yellow"
## 
## $`Barriss Offee`$eye_color
## [1] "blue"
## 
## $`Barriss Offee`$birth_year
## [1] "40BBY"
## 
## $`Barriss Offee`$gender
## [1] "female"
## 
## $`Barriss Offee`$homeworld
## [1] "http://swapi.co/api/planets/51/"
## 
## $`Barriss Offee`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Barriss Offee`$species
## [1] "http://swapi.co/api/species/29/"
## 
## $`Barriss Offee`$created
## [1] "2014-12-20T16:46:40.440000Z"
## 
## $`Barriss Offee`$edited
## [1] "2014-12-20T21:17:50.457000Z"
## 
## $`Barriss Offee`$url
## [1] "http://swapi.co/api/people/65/"
## 
## 
## $Dormé
## $Dormé$name
## [1] "Dormé"
## 
## $Dormé$height
## [1] "165"
## 
## $Dormé$mass
## [1] "unknown"
## 
## $Dormé$hair_color
## [1] "brown"
## 
## $Dormé$skin_color
## [1] "light"
## 
## $Dormé$eye_color
## [1] "brown"
## 
## $Dormé$birth_year
## [1] "unknown"
## 
## $Dormé$gender
## [1] "female"
## 
## $Dormé$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $Dormé$films
## [1] "http://swapi.co/api/films/5/"
## 
## $Dormé$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Dormé$created
## [1] "2014-12-20T16:49:14.640000Z"
## 
## $Dormé$edited
## [1] "2014-12-20T21:17:50.460000Z"
## 
## $Dormé$url
## [1] "http://swapi.co/api/people/66/"
## 
## 
## $Dooku
## $Dooku$name
## [1] "Dooku"
## 
## $Dooku$height
## [1] "193"
## 
## $Dooku$mass
## [1] "80"
## 
## $Dooku$hair_color
## [1] "white"
## 
## $Dooku$skin_color
## [1] "fair"
## 
## $Dooku$eye_color
## [1] "brown"
## 
## $Dooku$birth_year
## [1] "102BBY"
## 
## $Dooku$gender
## [1] "male"
## 
## $Dooku$homeworld
## [1] "http://swapi.co/api/planets/52/"
## 
## $Dooku$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $Dooku$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Dooku$vehicles
## [1] "http://swapi.co/api/vehicles/55/"
## 
## $Dooku$created
## [1] "2014-12-20T16:52:14.726000Z"
## 
## $Dooku$edited
## [1] "2014-12-20T21:17:50.462000Z"
## 
## $Dooku$url
## [1] "http://swapi.co/api/people/67/"
## 
## 
## $`Bail Prestor Organa`
## $`Bail Prestor Organa`$name
## [1] "Bail Prestor Organa"
## 
## $`Bail Prestor Organa`$height
## [1] "191"
## 
## $`Bail Prestor Organa`$mass
## [1] "unknown"
## 
## $`Bail Prestor Organa`$hair_color
## [1] "black"
## 
## $`Bail Prestor Organa`$skin_color
## [1] "tan"
## 
## $`Bail Prestor Organa`$eye_color
## [1] "brown"
## 
## $`Bail Prestor Organa`$birth_year
## [1] "67BBY"
## 
## $`Bail Prestor Organa`$gender
## [1] "male"
## 
## $`Bail Prestor Organa`$homeworld
## [1] "http://swapi.co/api/planets/2/"
## 
## $`Bail Prestor Organa`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`Bail Prestor Organa`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Bail Prestor Organa`$created
## [1] "2014-12-20T16:53:08.575000Z"
## 
## $`Bail Prestor Organa`$edited
## [1] "2014-12-20T21:17:50.463000Z"
## 
## $`Bail Prestor Organa`$url
## [1] "http://swapi.co/api/people/68/"
## 
## 
## $`Jango Fett`
## $`Jango Fett`$name
## [1] "Jango Fett"
## 
## $`Jango Fett`$height
## [1] "183"
## 
## $`Jango Fett`$mass
## [1] "79"
## 
## $`Jango Fett`$hair_color
## [1] "black"
## 
## $`Jango Fett`$skin_color
## [1] "tan"
## 
## $`Jango Fett`$eye_color
## [1] "brown"
## 
## $`Jango Fett`$birth_year
## [1] "66BBY"
## 
## $`Jango Fett`$gender
## [1] "male"
## 
## $`Jango Fett`$homeworld
## [1] "http://swapi.co/api/planets/53/"
## 
## $`Jango Fett`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Jango Fett`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Jango Fett`$created
## [1] "2014-12-20T16:54:41.620000Z"
## 
## $`Jango Fett`$edited
## [1] "2014-12-20T21:17:50.465000Z"
## 
## $`Jango Fett`$url
## [1] "http://swapi.co/api/people/69/"
## 
## 
## $`Zam Wesell`
## $`Zam Wesell`$name
## [1] "Zam Wesell"
## 
## $`Zam Wesell`$height
## [1] "168"
## 
## $`Zam Wesell`$mass
## [1] "55"
## 
## $`Zam Wesell`$hair_color
## [1] "blonde"
## 
## $`Zam Wesell`$skin_color
## [1] "fair, green, yellow"
## 
## $`Zam Wesell`$eye_color
## [1] "yellow"
## 
## $`Zam Wesell`$birth_year
## [1] "unknown"
## 
## $`Zam Wesell`$gender
## [1] "female"
## 
## $`Zam Wesell`$homeworld
## [1] "http://swapi.co/api/planets/54/"
## 
## $`Zam Wesell`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Zam Wesell`$species
## [1] "http://swapi.co/api/species/30/"
## 
## $`Zam Wesell`$vehicles
## [1] "http://swapi.co/api/vehicles/45/"
## 
## $`Zam Wesell`$created
## [1] "2014-12-20T16:57:44.471000Z"
## 
## $`Zam Wesell`$edited
## [1] "2014-12-20T21:17:50.468000Z"
## 
## $`Zam Wesell`$url
## [1] "http://swapi.co/api/people/70/"
## 
## 
## $`Dexter Jettster`
## $`Dexter Jettster`$name
## [1] "Dexter Jettster"
## 
## $`Dexter Jettster`$height
## [1] "198"
## 
## $`Dexter Jettster`$mass
## [1] "102"
## 
## $`Dexter Jettster`$hair_color
## [1] "none"
## 
## $`Dexter Jettster`$skin_color
## [1] "brown"
## 
## $`Dexter Jettster`$eye_color
## [1] "yellow"
## 
## $`Dexter Jettster`$birth_year
## [1] "unknown"
## 
## $`Dexter Jettster`$gender
## [1] "male"
## 
## $`Dexter Jettster`$homeworld
## [1] "http://swapi.co/api/planets/55/"
## 
## $`Dexter Jettster`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Dexter Jettster`$species
## [1] "http://swapi.co/api/species/31/"
## 
## $`Dexter Jettster`$created
## [1] "2014-12-20T17:28:27.248000Z"
## 
## $`Dexter Jettster`$edited
## [1] "2014-12-20T21:17:50.470000Z"
## 
## $`Dexter Jettster`$url
## [1] "http://swapi.co/api/people/71/"
## 
## 
## $`Lama Su`
## $`Lama Su`$name
## [1] "Lama Su"
## 
## $`Lama Su`$height
## [1] "229"
## 
## $`Lama Su`$mass
## [1] "88"
## 
## $`Lama Su`$hair_color
## [1] "none"
## 
## $`Lama Su`$skin_color
## [1] "grey"
## 
## $`Lama Su`$eye_color
## [1] "black"
## 
## $`Lama Su`$birth_year
## [1] "unknown"
## 
## $`Lama Su`$gender
## [1] "male"
## 
## $`Lama Su`$homeworld
## [1] "http://swapi.co/api/planets/10/"
## 
## $`Lama Su`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Lama Su`$species
## [1] "http://swapi.co/api/species/32/"
## 
## $`Lama Su`$created
## [1] "2014-12-20T17:30:50.416000Z"
## 
## $`Lama Su`$edited
## [1] "2014-12-20T21:17:50.473000Z"
## 
## $`Lama Su`$url
## [1] "http://swapi.co/api/people/72/"
## 
## 
## $`Taun We`
## $`Taun We`$name
## [1] "Taun We"
## 
## $`Taun We`$height
## [1] "213"
## 
## $`Taun We`$mass
## [1] "unknown"
## 
## $`Taun We`$hair_color
## [1] "none"
## 
## $`Taun We`$skin_color
## [1] "grey"
## 
## $`Taun We`$eye_color
## [1] "black"
## 
## $`Taun We`$birth_year
## [1] "unknown"
## 
## $`Taun We`$gender
## [1] "female"
## 
## $`Taun We`$homeworld
## [1] "http://swapi.co/api/planets/10/"
## 
## $`Taun We`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Taun We`$species
## [1] "http://swapi.co/api/species/32/"
## 
## $`Taun We`$created
## [1] "2014-12-20T17:31:21.195000Z"
## 
## $`Taun We`$edited
## [1] "2014-12-20T21:17:50.474000Z"
## 
## $`Taun We`$url
## [1] "http://swapi.co/api/people/73/"
## 
## 
## $`Jocasta Nu`
## $`Jocasta Nu`$name
## [1] "Jocasta Nu"
## 
## $`Jocasta Nu`$height
## [1] "167"
## 
## $`Jocasta Nu`$mass
## [1] "unknown"
## 
## $`Jocasta Nu`$hair_color
## [1] "white"
## 
## $`Jocasta Nu`$skin_color
## [1] "fair"
## 
## $`Jocasta Nu`$eye_color
## [1] "blue"
## 
## $`Jocasta Nu`$birth_year
## [1] "unknown"
## 
## $`Jocasta Nu`$gender
## [1] "female"
## 
## $`Jocasta Nu`$homeworld
## [1] "http://swapi.co/api/planets/9/"
## 
## $`Jocasta Nu`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Jocasta Nu`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Jocasta Nu`$created
## [1] "2014-12-20T17:32:51.996000Z"
## 
## $`Jocasta Nu`$edited
## [1] "2014-12-20T21:17:50.476000Z"
## 
## $`Jocasta Nu`$url
## [1] "http://swapi.co/api/people/74/"
## 
## 
## $`Ratts Tyerell`
## $`Ratts Tyerell`$name
## [1] "Ratts Tyerell"
## 
## $`Ratts Tyerell`$height
## [1] "79"
## 
## $`Ratts Tyerell`$mass
## [1] "15"
## 
## $`Ratts Tyerell`$hair_color
## [1] "none"
## 
## $`Ratts Tyerell`$skin_color
## [1] "grey, blue"
## 
## $`Ratts Tyerell`$eye_color
## [1] "unknown"
## 
## $`Ratts Tyerell`$birth_year
## [1] "unknown"
## 
## $`Ratts Tyerell`$gender
## [1] "male"
## 
## $`Ratts Tyerell`$homeworld
## [1] "http://swapi.co/api/planets/38/"
## 
## $`Ratts Tyerell`$films
## [1] "http://swapi.co/api/films/4/"
## 
## $`Ratts Tyerell`$species
## [1] "http://swapi.co/api/species/16/"
## 
## $`Ratts Tyerell`$created
## [1] "2014-12-20T09:53:15.086000Z"
## 
## $`Ratts Tyerell`$edited
## [1] "2016-06-30T12:52:19.604868Z"
## 
## $`Ratts Tyerell`$url
## [1] "http://swapi.co/api/people/47/"
## 
## 
## $`R4-P17`
## $`R4-P17`$name
## [1] "R4-P17"
## 
## $`R4-P17`$height
## [1] "96"
## 
## $`R4-P17`$mass
## [1] "unknown"
## 
## $`R4-P17`$hair_color
## [1] "none"
## 
## $`R4-P17`$skin_color
## [1] "silver, red"
## 
## $`R4-P17`$eye_color
## [1] "red, blue"
## 
## $`R4-P17`$birth_year
## [1] "unknown"
## 
## $`R4-P17`$gender
## [1] "female"
## 
## $`R4-P17`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`R4-P17`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`R4-P17`$created
## [1] "2014-12-20T17:43:36.409000Z"
## 
## $`R4-P17`$edited
## [1] "2014-12-20T21:17:50.478000Z"
## 
## $`R4-P17`$url
## [1] "http://swapi.co/api/people/75/"
## 
## 
## $`Wat Tambor`
## $`Wat Tambor`$name
## [1] "Wat Tambor"
## 
## $`Wat Tambor`$height
## [1] "193"
## 
## $`Wat Tambor`$mass
## [1] "48"
## 
## $`Wat Tambor`$hair_color
## [1] "none"
## 
## $`Wat Tambor`$skin_color
## [1] "green, grey"
## 
## $`Wat Tambor`$eye_color
## [1] "unknown"
## 
## $`Wat Tambor`$birth_year
## [1] "unknown"
## 
## $`Wat Tambor`$gender
## [1] "male"
## 
## $`Wat Tambor`$homeworld
## [1] "http://swapi.co/api/planets/56/"
## 
## $`Wat Tambor`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`Wat Tambor`$species
## [1] "http://swapi.co/api/species/33/"
## 
## $`Wat Tambor`$created
## [1] "2014-12-20T17:53:52.607000Z"
## 
## $`Wat Tambor`$edited
## [1] "2014-12-20T21:17:50.481000Z"
## 
## $`Wat Tambor`$url
## [1] "http://swapi.co/api/people/76/"
## 
## 
## $`San Hill`
## $`San Hill`$name
## [1] "San Hill"
## 
## $`San Hill`$height
## [1] "191"
## 
## $`San Hill`$mass
## [1] "unknown"
## 
## $`San Hill`$hair_color
## [1] "none"
## 
## $`San Hill`$skin_color
## [1] "grey"
## 
## $`San Hill`$eye_color
## [1] "gold"
## 
## $`San Hill`$birth_year
## [1] "unknown"
## 
## $`San Hill`$gender
## [1] "male"
## 
## $`San Hill`$homeworld
## [1] "http://swapi.co/api/planets/57/"
## 
## $`San Hill`$films
## [1] "http://swapi.co/api/films/5/"
## 
## $`San Hill`$species
## [1] "http://swapi.co/api/species/34/"
## 
## $`San Hill`$created
## [1] "2014-12-20T17:58:17.049000Z"
## 
## $`San Hill`$edited
## [1] "2014-12-20T21:17:50.484000Z"
## 
## $`San Hill`$url
## [1] "http://swapi.co/api/people/77/"
## 
## 
## $`Shaak Ti`
## $`Shaak Ti`$name
## [1] "Shaak Ti"
## 
## $`Shaak Ti`$height
## [1] "178"
## 
## $`Shaak Ti`$mass
## [1] "57"
## 
## $`Shaak Ti`$hair_color
## [1] "none"
## 
## $`Shaak Ti`$skin_color
## [1] "red, blue, white"
## 
## $`Shaak Ti`$eye_color
## [1] "black"
## 
## $`Shaak Ti`$birth_year
## [1] "unknown"
## 
## $`Shaak Ti`$gender
## [1] "female"
## 
## $`Shaak Ti`$homeworld
## [1] "http://swapi.co/api/planets/58/"
## 
## $`Shaak Ti`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`Shaak Ti`$species
## [1] "http://swapi.co/api/species/35/"
## 
## $`Shaak Ti`$created
## [1] "2014-12-20T18:44:01.103000Z"
## 
## $`Shaak Ti`$edited
## [1] "2014-12-20T21:17:50.486000Z"
## 
## $`Shaak Ti`$url
## [1] "http://swapi.co/api/people/78/"
## 
## 
## $Grievous
## $Grievous$name
## [1] "Grievous"
## 
## $Grievous$height
## [1] "216"
## 
## $Grievous$mass
## [1] "159"
## 
## $Grievous$hair_color
## [1] "none"
## 
## $Grievous$skin_color
## [1] "brown, white"
## 
## $Grievous$eye_color
## [1] "green, yellow"
## 
## $Grievous$birth_year
## [1] "unknown"
## 
## $Grievous$gender
## [1] "male"
## 
## $Grievous$homeworld
## [1] "http://swapi.co/api/planets/59/"
## 
## $Grievous$films
## [1] "http://swapi.co/api/films/6/"
## 
## $Grievous$species
## [1] "http://swapi.co/api/species/36/"
## 
## $Grievous$vehicles
## [1] "http://swapi.co/api/vehicles/60/"
## 
## $Grievous$starships
## [1] "http://swapi.co/api/starships/74/"
## 
## $Grievous$created
## [1] "2014-12-20T19:43:53.348000Z"
## 
## $Grievous$edited
## [1] "2014-12-20T21:17:50.488000Z"
## 
## $Grievous$url
## [1] "http://swapi.co/api/people/79/"
## 
## 
## $Tarfful
## $Tarfful$name
## [1] "Tarfful"
## 
## $Tarfful$height
## [1] "234"
## 
## $Tarfful$mass
## [1] "136"
## 
## $Tarfful$hair_color
## [1] "brown"
## 
## $Tarfful$skin_color
## [1] "brown"
## 
## $Tarfful$eye_color
## [1] "blue"
## 
## $Tarfful$birth_year
## [1] "unknown"
## 
## $Tarfful$gender
## [1] "male"
## 
## $Tarfful$homeworld
## [1] "http://swapi.co/api/planets/14/"
## 
## $Tarfful$films
## [1] "http://swapi.co/api/films/6/"
## 
## $Tarfful$species
## [1] "http://swapi.co/api/species/3/"
## 
## $Tarfful$created
## [1] "2014-12-20T19:46:34.209000Z"
## 
## $Tarfful$edited
## [1] "2014-12-20T21:17:50.491000Z"
## 
## $Tarfful$url
## [1] "http://swapi.co/api/people/80/"
## 
## 
## $`Raymus Antilles`
## $`Raymus Antilles`$name
## [1] "Raymus Antilles"
## 
## $`Raymus Antilles`$height
## [1] "188"
## 
## $`Raymus Antilles`$mass
## [1] "79"
## 
## $`Raymus Antilles`$hair_color
## [1] "brown"
## 
## $`Raymus Antilles`$skin_color
## [1] "light"
## 
## $`Raymus Antilles`$eye_color
## [1] "brown"
## 
## $`Raymus Antilles`$birth_year
## [1] "unknown"
## 
## $`Raymus Antilles`$gender
## [1] "male"
## 
## $`Raymus Antilles`$homeworld
## [1] "http://swapi.co/api/planets/2/"
## 
## $`Raymus Antilles`$films
## [1] "http://swapi.co/api/films/6/" "http://swapi.co/api/films/1/"
## 
## $`Raymus Antilles`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Raymus Antilles`$created
## [1] "2014-12-20T19:49:35.583000Z"
## 
## $`Raymus Antilles`$edited
## [1] "2014-12-20T21:17:50.493000Z"
## 
## $`Raymus Antilles`$url
## [1] "http://swapi.co/api/people/81/"
## 
## 
## $`Sly Moore`
## $`Sly Moore`$name
## [1] "Sly Moore"
## 
## $`Sly Moore`$height
## [1] "178"
## 
## $`Sly Moore`$mass
## [1] "48"
## 
## $`Sly Moore`$hair_color
## [1] "none"
## 
## $`Sly Moore`$skin_color
## [1] "pale"
## 
## $`Sly Moore`$eye_color
## [1] "white"
## 
## $`Sly Moore`$birth_year
## [1] "unknown"
## 
## $`Sly Moore`$gender
## [1] "female"
## 
## $`Sly Moore`$homeworld
## [1] "http://swapi.co/api/planets/60/"
## 
## $`Sly Moore`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/6/"
## 
## $`Sly Moore`$created
## [1] "2014-12-20T20:18:37.619000Z"
## 
## $`Sly Moore`$edited
## [1] "2014-12-20T21:17:50.496000Z"
## 
## $`Sly Moore`$url
## [1] "http://swapi.co/api/people/82/"
## 
## 
## $`Tion Medon`
## $`Tion Medon`$name
## [1] "Tion Medon"
## 
## $`Tion Medon`$height
## [1] "206"
## 
## $`Tion Medon`$mass
## [1] "80"
## 
## $`Tion Medon`$hair_color
## [1] "none"
## 
## $`Tion Medon`$skin_color
## [1] "grey"
## 
## $`Tion Medon`$eye_color
## [1] "black"
## 
## $`Tion Medon`$birth_year
## [1] "unknown"
## 
## $`Tion Medon`$gender
## [1] "male"
## 
## $`Tion Medon`$homeworld
## [1] "http://swapi.co/api/planets/12/"
## 
## $`Tion Medon`$films
## [1] "http://swapi.co/api/films/6/"
## 
## $`Tion Medon`$species
## [1] "http://swapi.co/api/species/37/"
## 
## $`Tion Medon`$created
## [1] "2014-12-20T20:35:04.260000Z"
## 
## $`Tion Medon`$edited
## [1] "2014-12-20T21:17:50.498000Z"
## 
## $`Tion Medon`$url
## [1] "http://swapi.co/api/people/83/"
## 
## 
## $Finn
## $Finn$name
## [1] "Finn"
## 
## $Finn$height
## [1] "unknown"
## 
## $Finn$mass
## [1] "unknown"
## 
## $Finn$hair_color
## [1] "black"
## 
## $Finn$skin_color
## [1] "dark"
## 
## $Finn$eye_color
## [1] "dark"
## 
## $Finn$birth_year
## [1] "unknown"
## 
## $Finn$gender
## [1] "male"
## 
## $Finn$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $Finn$films
## [1] "http://swapi.co/api/films/7/"
## 
## $Finn$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Finn$created
## [1] "2015-04-17T06:52:40.793621Z"
## 
## $Finn$edited
## [1] "2015-04-17T06:52:40.793674Z"
## 
## $Finn$url
## [1] "http://swapi.co/api/people/84/"
## 
## 
## $Rey
## $Rey$name
## [1] "Rey"
## 
## $Rey$height
## [1] "unknown"
## 
## $Rey$mass
## [1] "unknown"
## 
## $Rey$hair_color
## [1] "brown"
## 
## $Rey$skin_color
## [1] "light"
## 
## $Rey$eye_color
## [1] "hazel"
## 
## $Rey$birth_year
## [1] "unknown"
## 
## $Rey$gender
## [1] "female"
## 
## $Rey$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $Rey$films
## [1] "http://swapi.co/api/films/7/"
## 
## $Rey$species
## [1] "http://swapi.co/api/species/1/"
## 
## $Rey$created
## [1] "2015-04-17T06:54:01.495077Z"
## 
## $Rey$edited
## [1] "2015-04-17T06:54:01.495128Z"
## 
## $Rey$url
## [1] "http://swapi.co/api/people/85/"
## 
## 
## $`Poe Dameron`
## $`Poe Dameron`$name
## [1] "Poe Dameron"
## 
## $`Poe Dameron`$height
## [1] "unknown"
## 
## $`Poe Dameron`$mass
## [1] "unknown"
## 
## $`Poe Dameron`$hair_color
## [1] "brown"
## 
## $`Poe Dameron`$skin_color
## [1] "light"
## 
## $`Poe Dameron`$eye_color
## [1] "brown"
## 
## $`Poe Dameron`$birth_year
## [1] "unknown"
## 
## $`Poe Dameron`$gender
## [1] "male"
## 
## $`Poe Dameron`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`Poe Dameron`$films
## [1] "http://swapi.co/api/films/7/"
## 
## $`Poe Dameron`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Poe Dameron`$starships
## [1] "http://swapi.co/api/starships/77/"
## 
## $`Poe Dameron`$created
## [1] "2015-04-17T06:55:21.622786Z"
## 
## $`Poe Dameron`$edited
## [1] "2015-04-17T06:55:21.622835Z"
## 
## $`Poe Dameron`$url
## [1] "http://swapi.co/api/people/86/"
## 
## 
## $BB8
## $BB8$name
## [1] "BB8"
## 
## $BB8$height
## [1] "unknown"
## 
## $BB8$mass
## [1] "unknown"
## 
## $BB8$hair_color
## [1] "none"
## 
## $BB8$skin_color
## [1] "none"
## 
## $BB8$eye_color
## [1] "black"
## 
## $BB8$birth_year
## [1] "unknown"
## 
## $BB8$gender
## [1] "none"
## 
## $BB8$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $BB8$films
## [1] "http://swapi.co/api/films/7/"
## 
## $BB8$species
## [1] "http://swapi.co/api/species/2/"
## 
## $BB8$created
## [1] "2015-04-17T06:57:38.061346Z"
## 
## $BB8$edited
## [1] "2015-04-17T06:57:38.061453Z"
## 
## $BB8$url
## [1] "http://swapi.co/api/people/87/"
## 
## 
## $`Captain Phasma`
## $`Captain Phasma`$name
## [1] "Captain Phasma"
## 
## $`Captain Phasma`$height
## [1] "unknown"
## 
## $`Captain Phasma`$mass
## [1] "unknown"
## 
## $`Captain Phasma`$hair_color
## [1] "unknown"
## 
## $`Captain Phasma`$skin_color
## [1] "unknown"
## 
## $`Captain Phasma`$eye_color
## [1] "unknown"
## 
## $`Captain Phasma`$birth_year
## [1] "unknown"
## 
## $`Captain Phasma`$gender
## [1] "female"
## 
## $`Captain Phasma`$homeworld
## [1] "http://swapi.co/api/planets/28/"
## 
## $`Captain Phasma`$films
## [1] "http://swapi.co/api/films/7/"
## 
## $`Captain Phasma`$created
## [1] "2015-10-13T10:35:39.229823Z"
## 
## $`Captain Phasma`$edited
## [1] "2015-10-13T10:35:39.229894Z"
## 
## $`Captain Phasma`$url
## [1] "http://swapi.co/api/people/88/"
## 
## 
## $`Padmé Amidala`
## $`Padmé Amidala`$name
## [1] "Padmé Amidala"
## 
## $`Padmé Amidala`$height
## [1] "165"
## 
## $`Padmé Amidala`$mass
## [1] "45"
## 
## $`Padmé Amidala`$hair_color
## [1] "brown"
## 
## $`Padmé Amidala`$skin_color
## [1] "light"
## 
## $`Padmé Amidala`$eye_color
## [1] "brown"
## 
## $`Padmé Amidala`$birth_year
## [1] "46BBY"
## 
## $`Padmé Amidala`$gender
## [1] "female"
## 
## $`Padmé Amidala`$homeworld
## [1] "http://swapi.co/api/planets/8/"
## 
## $`Padmé Amidala`$films
## [1] "http://swapi.co/api/films/5/" "http://swapi.co/api/films/4/"
## [3] "http://swapi.co/api/films/6/"
## 
## $`Padmé Amidala`$species
## [1] "http://swapi.co/api/species/1/"
## 
## $`Padmé Amidala`$starships
## [1] "http://swapi.co/api/starships/49/" "http://swapi.co/api/starships/64/"
## [3] "http://swapi.co/api/starships/39/"
## 
## $`Padmé Amidala`$created
## [1] "2014-12-19T17:28:26.926000Z"
## 
## $`Padmé Amidala`$edited
## [1] "2016-04-20T17:06:31.502555Z"
## 
## $`Padmé Amidala`$url
## [1] "http://swapi.co/api/people/35/"
###Demographic information on various Star Wars characters in a list. 

Quiz

vec <- c(-2, -1, 0)
lst <- list(-2, -1, 0)

abs(vec)
## [1] 2 1 0
#abs(lst)

Your Turn 2

Who was taller Anakin Skywalker or Darth Vader? Use the RStudio Viewer to find the answer (in cm).

Hint: View() sw_people

#Darth Vader was taller 

Your Turn 3

Here are two subsetting commands. Do they return the same values? Run the code chunks below to confirm.

a_list <- list(num = c(8, 9), 
               log = TRUE,    
               cha = c("a", "b", "c"))
a_list["num"]
## $num
## [1] 8 9
a_list[["num"]]
## [1] 8 9
#Yes, these return the same values 8 and 9. 

Mapping

purrr

Your Turn 4

Run the code in the chunk. What does it do?

exams %>% map(mean)
## $student1
## [1] 71.4
## 
## $student2
## [1] 74.6
## 
## $student3
## [1] 70.2
## 
## $student4
## [1] 75.1
## 
## $student5
## [1] 79.1
###Returns results of the function to the elements of the parameter list. 

map shorthand

Your Turn 5

Complete the code to apply the test below to every element of the list. Return the results as a vector.

length(<input> == 10)

exams %>% map_lgl(~length(.) == 10)
## student1 student2 student3 student4 student5 
##     TRUE     TRUE     TRUE     TRUE     TRUE

Your Turn 6

Recompute the grades by dropping the lowest score and then taking the mean of the rest, i.e. Return the results as a double vector.

(sum(<input>) - min(<input>)) / 9

exams %>% map_dbl(~(sum(.) - min(.)) / 9)
## student1 student2 student3 student4 student5 
## 73.44444 76.88889 72.00000 77.77778 81.77778

Your Turn 7

Compute a final grade for each student, where the final grade is the average test score plus any extra_credit assigned to the student. Return the results as a double (i.e. numeric) vector.

mean(<exams>) + <extra_credit>

exams %>%
  map2_dbl(extra_credit, ~mean(.x) + .y)
## student1 student2 student3 student4 student5 
##     71.4     74.6     80.2     85.1     94.1

List Columns

Putting it all together

Predict TB cases in 2020 for Afghanistan

tb %>% 
  filter(country == "Afghanistan") %>%
  group_by(year) %>% 
  summarise(n = sum(n)) %>% 
  lm(n ~ year, data = .) %>% 
  predict(newdata = tibble(year = 2020)) %>% 
  round()
##     1 
## 20517

Predict TB cases in 2020 for each country

tb_predictions <-
  tb %>% 
  group_by(country, year) %>% 
  summarise(n = sum(n)) %>% 
  nest() %>% 
  mutate(model = map(data, ~lm(n ~ year, data = .))) %>%
  mutate(pred = map_dbl(model, predict, tibble(year = 2020))) %>%
  mutate(pred = round(pred))
## `summarise()` has grouped output by 'country'. You can override using the `.groups` argument.

Things that are easy to do:


Take Aways