The nihexporter
R package provides a minimal set of data from the NIH EXPORTER database, which contains information on NIH biomedical research funding from 1985-2024.
To keep the package lightweight, many details are omitted but can be easily retrieved from NIH RePORTER.
Installation
Install the package from github with:
# install.packages('pak')
pak::pak("rnabioco/nihexporter")
⚠️Note: this is a large data package (>50 Mb) and will take some time to download and install. ⚠️
Tables
projects
: provides data on funded projects by NIH across all years.projects_min
: a minimal set of project data from 2006-2024. Contains both direct and indirect costs.project_pis
: links project numbers (project.num
) to principal investigator IDs (pi.id
).publinks
: links Pubmed IDs (pmid
) to project numbers (project.num
).publications
: provides information for individual publications, including their Relative Citation Ratio values (rcr
).patents
: links project IDs (project.num
) topatent.id
.clinical_studies
: links project IDs to associated clinical trials.project_io
: pre-computedn.pubs
,n.patents
andproject.cost
for eachproject.num
.abstract_words
: tokenized words from grant abstracts.
Functions
rcr()
retrieves Relative Citation Ratios and associated information for PubMed IDs.nihexporter_sqlite()
can be used to cache data in a local SQLite database.