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

Description Usage Arguments Value Examples

View source: R/DONKI_IPS.R

Description

Get access to the data of Interplanetary Shock (IPS).

Usage

1
2
3
DONKI_IPS(key = Sys.getenv("NASA_TOKEN"), start_date = end_date - 30,
  end_date = lubridate::today(tzone = "UTC"), location = "ALL",
  catalog = "ALL")

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 IPS search. 30 days prior to current UTC date as default.

end_date

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

location

String. "ALL" as default (choices: "Earth", "MESSENGER", "STEREO A", "STEREO B").

catalog

String. "ALL" as default (choices: "SWRC_CATALOG", "WINSLOW_MESSENGER_ICME_CATALOG").

Value

Data of IPS.

Examples

1
DONKI_IPS(start_date = as.Date("2019-01-01"), end_date = as.Date("2019-10-31"), location = "Earth")

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