Identify Characteristics of Patients in the OMOP Common Data Model


[Up] [Top]

Documentation for package ‘PatientProfiles’ version 0.5.1

Help Pages

addAge Compute the age of the individuals at a certain date
addAttributes Get attributes from one cohort to another
addCategories Categorize a numeric variable
addCdmName Add cdm name
addCohortIntersect Compute the intersect with a target cohort, you can compute the number of occurrences, a flag of presence, a certain date and/or the time difference
addCohortIntersectCount It creates columns to indicate number of occurrences of intersection with a cohort
addCohortIntersectDate Date of cohorts that are present in a certain window
addCohortIntersectDays It creates columns to indicate the number of days between the current table and a target cohort
addCohortIntersectFlag It creates columns to indicate the presence of cohorts
addCohortName Add cohort name for each cohort_definition_id
addConceptIntersect It creates columns to indicate overlap information between a table and a concept
addConceptIntersectCount It creates column to indicate the count overlap information between a table and a concept
addConceptIntersectDate It creates column to indicate the date overlap information between a table and a concept
addConceptIntersectDays It creates column to indicate the days of difference from an index date to a concept
addConceptIntersectFlag It creates column to indicate the flag overlap information between a table and a concept
addDateOfBirth Add a column with the individual birth date
addDemographics Compute demographic characteristics at a certain date
addFutureObservation Compute the number of days till the end of the observation period at a certain date
addInObservation Indicate if a certain record is within the observation period
addIntersect It creates columns to indicate overlap information between two tables
addLargeScaleCharacteristics This function is used to add columns with the large scale characteristics of a cohort table.
addPriorObservation Compute the number of days of prior observation in the current observation period at a certain date
addSex Compute the sex of the individuals
availableFunctions Show the available functions for the 4 classifications of data that are supported (numeric, date, binary and categorical)
detectVariables Detect automatically variables with a certain classification
getConceptName Get the name of the concept_id column for a certain table in the cdm
getEndName Get the name of the end date column for a certain table in the cdm
getSourceConceptName Get the name of the source_concept_id column for a certain table in the cdm
getStartName Get the name of the start date column for a certain table in the cdm
gtCharacteristics Create a gt table from a summarisedCharacteristics object.
gtResult Create a gt table from a summary object.
mockPatientProfiles It creates a mock database for testing PatientProfiles package
summariseCharacteristics Summarise characteristics of individuals
summariseLargeScaleCharacteristics This function is used to summarise the large scale characteristics of a cohort table
summariseResult Summarise the characteristics of different individuals
suppressCounts Function to suppress counts in summarised objects
variableTypes Classify the variables between 5 types: "numeric", "categorical", "binary", "date", or NA.