Skip to content

rnabioco/nihexporter

Repository files navigation

nihexporter

R-CMD-check

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.

Installation

Install the package from github with:

# install.packages('pak')
pak::pkg_install("jayhesselberth/nihexporter")

Note: this is a large data package (>40 Mb)

Tables

  • 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) to patent.id.

  • clinical_studies: links project IDs to associated clinical trials.

  • project_io: pre-computed n.pubs, n.patents and project.cost for each project.num.

Note: Abstracts from NIH EXPORTER are not provided as they significantly increase the size of the package.

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.

Variables

  • nih.institutes: 27 NIH institutes in two-letter format

Resources