search_awards
is
meant to be the top-level function for interacting with grant database
search functions.
nsf_and_nih <- search_awards(keywords=c("ontological", "audio recordings"), sources=c("nsf", "nih"), from_date="2018-01-01", to_date="2018-02-01")
#> Warning in request(paste0(query_url, "&offset=", offset), "get", verbose): Bad
#> Request (HTTP 400).
#> Warning in request(paste0(query_url, "&offset=", offset), "get", verbose): Bad
#> Request (HTTP 400).
table(nsf_and_nih$source)
#> < table of extent 0 >
unique(nsf_and_nih$keyword)
#> NULL
For more than a few keywords, you can specify an external simple csv
file. If you specify a .csv file path for keywords
, the
file should be a list of keywords, one string per line. For example:
qualitative data
qualitative analysis
case study
case studies