get_awards | R Documentation |
Uses the NSF API to get all records pertaining to the Arctic or Polar programs.
get_awards(from_date = NULL, to_date = NULL, query = NULL, print_fields = NULL)
from_date |
(character) Optional. Returns all records with start date after specified date. Format = mm/dd/yyyy |
to_date |
(character) Optional. Returns all records with start date before specified date. Format = mm/dd/yyyy |
query |
(character) Optional. By default, the function searches for all awards with either "polar" or "arctic" in the fundProgramName. Additional queries can be specified as defined in the NSF API. Use '&' to join multiple queries (i.e., keyword=water&agency=NASA) |
print_fields |
(character) Optional. By default, the following fields will be returned: id, date, startDate, expDate, fundProgramName, poName, title, awardee, piFirstName, piLastName, piPhone, piEmail. Additional field names can be found in the printFields description of the NSF API. |
Irene Steves
## Not run:
all_awards <- get_awards()
new_awards <- get_awards(from_date = "01/01/2017")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.