| sw_people {repurrrsive} | R Documentation |
Entities from the Star Wars Universe
Description
Data retrieved from the swapi API on the Star Wars Universe.
Usage
sw_people
sw_films
sw_planets
sw_species
sw_vehicles
sw_starships
Format
Unnamed lists with varying number of components.
Details
-
sw_peopleList of individual people or characters within the Star Wars universe. -
sw_starshipsList of transport crafts with hyperdrive capability. -
sw_vehiclesList of transport crafts without hyperdrive capability. -
sw_filmsList of Star Wars films. -
sw_speciesList of types of people or characters within the Star Wars Universe. -
sw_planetsList of large masses, planets or planetoids in the Star Wars Universe, at the time of 0 ABY.
Source
Data originally obtained from http://swapi.co/ using the rwars
package: https://github.com/Ironholds/rwars. The Star Wars API appears to
have moved to https://pipedream.com/apps/swapi since that time.
Examples
# sw_people
str(sw_people, max.level = 1)
str(sw_people[[1]])
sapply(sw_people, `[[`, "name")
# sw_films
str(sw_films, max.level = 1)
str(sw_films[[1]])
sapply(sw_films, `[[`, "title")
[Package repurrrsive version 1.1.0 Index]