CALIBERdatamanage-package |
Data Management Tools for CALIBER Datasets |
addCategoryToCohort |
Creates one row per patient from repeated categorical data |
addCodelistToCohort |
Adds information from categories based on a codelist |
addToCohort |
Generate a variable from repeat measures |
as.cohort |
Functions for handling cohort objects |
as.data.table.cohort |
S3 methods to convert between FFDF and data.table |
as.data.table.ffdf |
S3 methods to convert between FFDF and data.table |
as.ffdf.cohort |
S3 methods to convert between FFDF and data.table |
as.ffdf.data.table |
S3 methods to convert between FFDF and data.table |
CALIBERdatamanage |
Data Management Tools for CALIBER Datasets |
chooseByPriority |
Chooses an item from a vector according to a defined priority order |
cohort |
S3 class for cohort datasets (one row per patient) |
convertDates |
Converts all date columns in a data.table from character to IDate |
exportTable |
Export a LaTeX table to file |
extractCodes |
Extract subset of data according to medcode (Read code), OPCS, ICD-10 or product code |
extractEntity |
Extract and decode data from a CPRD GOLD format dataset |
formatci |
Format numerical results for export tables |
formathr |
Format numerical results for export tables |
formatnum |
Format numerical results for export tables |
formatp |
Format numerical results for export tables |
GEN_SDCtoDate |
Convert CPRD special date formats to IDate |
importDT |
Import a file to data.table |
importFFDF |
Import a file to flat file data.frame (FFDF) |
is.cohort |
Functions for handling cohort objects |
isfalse |
Whether a vector is TRUE or FALSE, ignoring missing values |
istrue |
Whether a vector is TRUE or FALSE, ignoring missing values |
meansd |
Calculate and format summary statistics |
merge.cohort |
Functions for handling cohort objects |
modifyDescription |
Modify the description table for a data.frame, ffdf, data.table or matrix object. |
multiforest |
Produce multiple forest plots side by side |
multiforestPDF |
Produce multiple forest plots side by side |
multiforestPNG |
Produce multiple forest plots side by side |
nmissing |
Calculate and format summary statistics |
npercent |
Calculate and format summary statistics |
percent |
Calculate and format summary statistics |
percentConf |
Calculate and format summary statistics |
print.cohort |
Functions for handling cohort objects |
purgeDescription |
Modify the description table for a data.frame, ffdf, data.table or matrix object. |
removeColumns |
Remove columns from a cohort object |
setnames |
Modify column names for ffdf, cohort or data.table objects |
setnames.cohort |
Modify column names for ffdf, cohort or data.table objects |
setnames.data.table |
Modify column names for ffdf, cohort or data.table objects |
setnames.ffdf |
Modify column names for ffdf, cohort or data.table objects |
subset.cohort |
Functions for handling cohort objects |
summary.cohort |
Functions for handling cohort objects |
summaryTable |
Create a publication summary table from a template |
test_data |
Sample CPRD GOLD format data |
test_entity |
Sample subset of the CPRD entity table |
test_import |
Test dataset for import functions |
test_lookups |
Sample lookups table |
test_multiforest |
Sample output specificaton for forest plot |
test_multiforest2 |
Test data for multiforest function |
textToDate |
Convert dates in a wide variety of formats to IDate |
transferColumns |
Transfer variables from one dataset to another |
transferVariables |
Transfer variables from one dataset to another |
YYYYMMDDtoDate |
Convert CPRD special date formats to IDate |