Man pages for rcprd
Extraction and Management of Clinical Practice Research Datalink Data

add_to_databaseAdds a single .txt file to an SQLite database on the hard...
combine_queryCombine a database query with a cohort.
combine_query.aurumCombine a CPRD aurum database query with a cohort.
combine_query_booleanCombine a database query with a cohort returning a 0/1 vector...
combine_query_boolean.aurumCombine a CPRD aurum database query with a cohort returning a...
connect_databaseOpen connection to SQLite database
cprd_extractAdds all the .txt files in a directory, with certain file...
create_directory_systemCreate the appropriate directory system to be able to run...
db_queryQuery an RSQLite database.
delete_directory_systemDeletes directory system created by 'delete_directory_system'
extract_bmiExtract most recent BMI score relative to an index date.
extract_cholhdl_ratioExtract most recent total cholesterol/high-density...
extract_cohortCreate cohort from patient files
extract_diabetesExtract diabetes status prior to an index date.
extract_hoExtract a 'history of' type variable
extract_smokingExtract smoking status prior to index date.
extract_test_dataExtract test data.
extract_test_data_varExtract standard deviation of all test data values over a...
extract_test_recentExtract test data.
extract_time_untilExtract a 'time until' type variable
extract_txt_charRead in txt file with all colClasses = "character"
extract_txt_consRead in raw .txt consultation file
extract_txt_deathRead in raw ONS death data file
extract_txt_drugRead in raw .txt drugissue file
extract_txt_hes_primaryRead in raw HES primary diagnoses file
extract_txt_linkageRead in linkage eligibility file
extract_txt_obsRead in raw .txt observation file
extract_txt_patRead in raw .txt patient file
extract_txt_probRead in raw .txt problem file
extract_txt_refRead in raw .txt referral file
implement_outputInternal function to implement saving extracted variable to...
rcprd-packagercprd: Extraction and Management of Clinical Practice...
rcprd documentation built on April 12, 2025, 1:57 a.m.