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

Description Usage Arguments Value Examples

View source: R/DONKI_GST.R

Description

Get access to the data of Geomagnetic Storm (GST).

Usage

1
2
DONKI_GST(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 GST search. 30 days prior to current UTC date as default.

end_date

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

Value

Data of GST.

Examples

1
DONKI_GST(start_date = as.Date("2015-01-01"), end_date = as.Date("2015-06-30"))

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