search_awards
is meant to be the top-level function for interacting with grant database search functions.
Simple keyword search, single source
nsf <- search_awards(keywords="ethnographies", sources="nsf")
str(nsf)
#> 'data.frame': 7 obs. of 12 variables:
#> $ institution: chr "SUNY at Buffalo" "University of Texas at Austin" "Northeastern University" "University of Washington" ...
#> $ pi : chr "Chevral, Timothy" "Acker, Amelia" "Ellis, Ryan" "Finn, Megan" ...
#> $ year : chr "2019" "2021" "2021" "2021" ...
#> $ start : chr "2019-02-15" "2021-02-01" "2021-02-01" "2021-02-01" ...
#> $ end : chr "2020-01-31" "2023-01-31" "2023-01-31" "2023-01-31" ...
#> $ program : chr "47.078" "47.079" "47.079" "47.079" ...
#> $ amount : chr "29138" "38932" "69866" "91013" ...
#> $ id : chr "1853169" "2109653" "2109966" "2109924" ...
#> $ title : chr "Doctoral Dissertation Research: Technological Choice and Human-Animal Relationships: A Bird's Eye View from the"| __truncated__ "RAPID International Type I: Collaborative Research: COVID Data Infrastructure Builders: Creating Resilient and "| __truncated__ "RAPID International Type I: Collaborative Research: COVID Data Infrastructure Builders: Creating Resilient and "| __truncated__ "RAPID International Type I: Collaborative Research: COVID Data Infrastructure Builders: Creating Resilient and "| __truncated__ ...
#> $ abstract : chr "In the past few decades, questions regarding human impacts on the environment have been at the forefront of sci"| __truncated__ "The COVID-19 pandemic has sparked thousands of new large-scale data projects globally. These COVID data infrast"| __truncated__ "The COVID-19 pandemic has sparked thousands of new large-scale data projects globally. These COVID data infrast"| __truncated__ "The COVID-19 pandemic has sparked thousands of new large-scale data projects globally. These COVID data infrast"| __truncated__ ...
#> $ keyword : chr "ethnographies" "ethnographies" "ethnographies" "ethnographies" ...
#> $ source : chr "NSF" "NSF" "NSF" "NSF" ...
Multiple sources and keywords, specific date range
nsf_and_nih <- search_awards(keywords=c("ethnography", "qualitative data"), sources=c("nsf", "nih"), from_date="2018-01-01", to_date="2018-05-01")
table(nsf_and_nih$source)
#>
#> NIH NSF
#> 3415 25
unique(nsf_and_nih$keyword)
#> [1] "ethnography" "qualitative data"
#> [3] "ethnography; qualitative data"
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