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-2021.
To keep the package lightweight, many details are omitted but can be easily retrieved from NIH RePORTER.
Install the package from github with:
# install.packages('pak')
pak::pkg_install("jayhesselberth/nihexporter")
Note: this is a large data package (>40 Mb)
-
projects
: provides data on funded projects by NIH. -
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
.
Note: Abstracts from NIH EXPORTER are not provided as they significantly increase the size of the package.
-
rcr()
retrieves Relative Citation Ratios and associated information for PubMed IDs. -
nihexporter_sqlite()
can be used to cache data in a local SQLite database.
nih.institutes
: 27 NIH institutes in two-letter format