get_SpaceX_launches: GET info about SpaceX launches

Description Usage Arguments Value Examples

View source: R/get_SpaceX_launches.R

Description

GET info about SpaceX launches

Usage

1

Arguments

type

character: type of the request: Choose between "upcoming", "past", "latest" or "next".

...

: Query string to API. See more in details.

Value

data.frame with parsed data from SpaceX API.

Examples

 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")

JohannesFriedrich/SpaceX documentation built on Jan. 5, 2021, 1:57 a.m.