Skip to content

An R data package for NIH EXPORTER data

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

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-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) 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.

  • 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.

Variables

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

Resources