DONKI_MPC: DONKI_MPC: Space Weather Database Of Notifications,...

Description Usage Arguments Value Examples

View source: R/DONKI_MPC.R

Description

Get access to the data of Magnetopause Crossing (MPC).

Usage

1
2
DONKI_MPC(key = Sys.getenv("NASA_TOKEN"), start_date = end_date - 30,
  end_date = lubridate::today(tzone = "UTC"))

Arguments

key

String. Your NASA API key, you can enter your key in the function parameter, but it's not recommended. Instead, you'd better save your key in R environment and call it "NASA_TOKEN". Then the function would automatically acquire your key info.

start_date

Date. Starting UTC date for MPC search. 30 days prior to current UTC date as default.

end_date

Date. Ending UTC date for MPC search. Current UTC date as default.

Value

Data of MPC.

Examples

1
DONKI_MPC(start_date = as.Date("2018-01-01"))

Liu-Zhichao/nasaR documentation built on Dec. 16, 2019, 10:48 p.m.