Description Usage Arguments Value Examples
View source: R/DONKI_Notifications.R
Get access to the data of Notifications.
1 2 3 | DONKI_Notifications(key = Sys.getenv("NASA_TOKEN"),
start_date = end_date - 7, end_date = lubridate::today(tzone =
"UTC"), type = "all")
|
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 Notifications search. 7 days prior to current UTC date as default. The request date range is limit to 30 days. If the request range is greater than 30 days, it would limit your request range to (end_date-30) to end_date. |
end_date |
Date. Ending UTC date for Notifications search. Current UTC date as default. |
type |
String. "all" as default (choices: "all", "FLR", "SEP", "CME", "IPS", "MPC", "GST", "RBE", "report") |
Data of Notifications.
1 | DONKI_Notifications(start_date = as.Date("2019-01-01"), end_date = as.Date("2019-03-01"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.