doi:10.1371/journal.pone.0171784>.">

rcprd: Extraction and Management of Clinical Practice Research Datalink Data (original) (raw)

Simplify the process of extracting and processing Clinical Practice Research Datalink (CPRD) data in order to build datasets ready for statistical analysis. This process is difficult in 'R', as the raw data is very large and cannot be read into the R workspace. 'rcprd' utilises 'RSQLite' to create 'SQLite' databases which are stored on the hard disk. These are then queried to extract the required information for a cohort of interest, and create datasets ready for statistical analysis. The processes follow closely that from the 'rEHR' package, see Springate et al., (2017) <doi:10.1371/journal.pone.0171784>.

Version: 0.0.2
Depends: R (≥ 4.1.0)
Imports: dplyr, data.table, fastmatch, lubridate, RSQLite, stringr
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-09-07
DOI: 10.32614/CRAN.package.rcprd
Author: Alexander Pate ORCID iD [aut, cre, cph]
Maintainer: Alexander Pate <alexander.pate at manchester.ac.uk>
License: MIT + file
URL: https://alexpate30.github.io/rcprd/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: rcprd results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=rcprdto link to this page.