search_awards | R Documentation |
Query a collection of online grant databases for awards. These queries can be limited by keyword, source and date terms.
search_awards(
keywords,
sources = c("arnold", "carnegie", "gates", "macarthur", "mellon", "nih", "nsf",
"ophil", "osociety", "rockefeller", "rsf", "rwjf", "sloan", "ssrc", "templeton",
"usaspend"),
from_date = "2019-01-01",
to_date = Sys.Date(),
verbose = FALSE
)
keywords |
Path to keywords csv file (1 term per line) or vector. |
sources |
A vector of sources to pull from. Default: all |
from_date |
A date object to limit the search, defaults to Jan 1 2019 |
to_date |
A date object to limit the search, defaults to today |
verbose |
enable verbose HTTP messages. TRUE/FALSE, default: false |
a data.frame
# Results for "ethnography" from NSF between 1/1 and 2/1 2020
## Not run: awards <- search_awards("ethnography", "nsf",
"2020-01-01", "2020-02-01")
## End(Not run)
# More intensive queries
## Not run:
# Specific keywords, all sources:
specific <- search_awards(keywords=c("ethnography", "case studies"))
# Specific keyword, all sources, specific date range:
five_years <- search_awards(keywords="qualitative",
from_date="2015-01-01", to_date="2020-01-01")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.