schemas: Retrieve the schema specifications for different object...

Description Usage Arguments Value See Also Examples

Description

*_schema functions grab the schema specifications for each class of objects in the SWAPI database. This can be used to predict what structure data returned from the API will take.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
get_planet_schema(parse_result = FALSE, ...)

get_species_schema(parse_result = FALSE, ...)

get_film_schema(parse_result = FALSE, ...)

get_vehicle_schema(parse_result = FALSE, ...)

get_starship_schema(parse_result = FALSE, ...)

get_person_schema(parse_result = FALSE, ...)

Arguments

parse_result

whether to simplify the results before they are returned. This is FALSE by default.

...

additional arguments to pass to httr's GET function, such as timeout settings or user agents.

Value

a list-based representation of the relevant JSON schema.

See Also

entries for retrieving data about individual planets, schemas, etc, or all_entries for retrieving all of the data in a particular category.

Examples

1

Ironholds/rwars documentation built on May 7, 2019, 6:42 a.m.