Description Usage Arguments Value Examples
View source: R/get_SpaceX_launches.R
GET info about SpaceX launches
1 |
type |
character: type of the request: Choose between "upcoming", "past", "latest" or "next". |
... |
: Query string to API. See more in details. |
data.frame with parsed data from SpaceX API.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## get details about all past launches
get_SpaceX_launches()
## get details about all upcoming launches
get_SpaceX_launches(type = "upcoming")
## get details about the lastes launch
get_SpaceX_launches(type = "latest")
## get details about all past launches in 2018
get_SpaceX_launches(launch_year = 2018)
## get details about a special flight_id
get_SpaceX_launches(flight_id = "5a9fc479ab70786ba5a1eaaa")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.