get_awards: Get NSF Arctic/Polar program award information

View source: R/get_awards.R

get_awardsR Documentation

Get NSF Arctic/Polar program award information

Description

Uses the NSF API to get all records pertaining to the Arctic or Polar programs.

Usage

get_awards(from_date = NULL, to_date = NULL, query = NULL, print_fields = NULL)

Arguments

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.

Author(s)

Irene Steves

Examples

## Not run: 
all_awards <- get_awards()
new_awards <- get_awards(from_date = "01/01/2017")

## End(Not run)

NCEAS/datamgmt documentation built on June 5, 2023, 6:14 a.m.