Package: PatientProfiles 1.2.3

Marti Catala

PatientProfiles: Identify Characteristics of Patients in the OMOP Common Data Model

Identify the characteristics of patients in data mapped to the Observational Medical Outcomes Partnership (OMOP) common data model.

Authors:Marti Catala [aut, cre], Yuchen Guo [aut], Mike Du [aut], Kim Lopez-Guell [aut], Edward Burn [aut], Nuria Mercade-Besora [aut], Xintong Li [ctb], Xihang Chen [ctb]

PatientProfiles_1.2.3.tar.gz
PatientProfiles_1.2.3.tar.gz(r-4.5-noble)PatientProfiles_1.2.3.tar.gz(r-4.4-noble)
PatientProfiles_1.2.3.tgz(r-4.4-emscripten)PatientProfiles_1.2.3.tgz(r-4.3-emscripten)
PatientProfiles.pdf |PatientProfiles.html
PatientProfiles/json (API)
NEWS

# Install 'PatientProfiles' in R:
install.packages('PatientProfiles', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/darwin-eu/patientprofiles/issues

Pkgdown:https://darwin-eu.github.io

6.18 score 1 stars 11 packages 1.5k downloads 46 exports 43 dependencies

Last updated 2 days agofrom:95fe0af07e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 12 2024
R-4.5-linuxOKDec 12 2024

Exports:addAgeaddAgeQueryaddCategoriesaddCdmNameaddCohortIntersectCountaddCohortIntersectDateaddCohortIntersectDaysaddCohortIntersectFlagaddCohortNameaddConceptIntersectCountaddConceptIntersectDateaddConceptIntersectDaysaddConceptIntersectFlagaddDateOfBirthaddDateOfBirthQueryaddDeathDateaddDeathDaysaddDeathFlagaddDemographicsaddDemographicsQueryaddFutureObservationaddFutureObservationQueryaddInObservationaddInObservationQueryaddObservationPeriodIdaddObservationPeriodIdQueryaddPriorObservationaddPriorObservationQueryaddSexaddSexQueryaddTableIntersectCountaddTableIntersectDateaddTableIntersectDaysaddTableIntersectFieldaddTableIntersectFlagavailableEstimatesendDateColumnmockDisconnectmockPatientProfilessettingssourceConceptIdColumnstandardConceptIdColumnstartDateColumnsummariseResultsuppressvariableTypes

Dependencies:backportsbitbit64blobCDMConnectorcheckmateclicliprcpp11crayonDBIdbplyrdiffobjdplyrfansifsgenericsgluehmsjsonlitelifecyclemagrittromopgenericspillarpkgconfigprettyunitsprogresspurrrR6readrrlangsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwaldowithr

Adding cohort intersections

Rendered fromcohort-intersect.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-11-28
Started: 2024-05-17

Adding concept intersections

Rendered fromconcept-intersect.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-11-28
Started: 2024-05-17

Adding patient demographics

Rendered fromdemographics.rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-11-28
Started: 2024-04-12

Summarise result

Rendered fromsummarise.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-07-29
Started: 2024-05-17

Adding table intersections

Rendered fromtable-intersect.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-11-28
Started: 2024-05-17

Readme and manuals

Help Manual

Help pageTopics
Compute the age of the individuals at a certain dateaddAge
Query to add the age of the individuals at a certain dateaddAgeQuery
Categorize a numeric variableaddCategories
Add cdm nameaddCdmName
It creates columns to indicate number of occurrences of intersection with a cohortaddCohortIntersectCount
Date of cohorts that are present in a certain windowaddCohortIntersectDate
It creates columns to indicate the number of days between the current table and a target cohortaddCohortIntersectDays
It creates columns to indicate the presence of cohortsaddCohortIntersectFlag
Add cohort name for each cohort_definition_idaddCohortName
It creates column to indicate the count overlap information between a table and a conceptaddConceptIntersectCount
It creates column to indicate the date overlap information between a table and a conceptaddConceptIntersectDate
It creates column to indicate the days of difference from an index date to a conceptaddConceptIntersectDays
It creates column to indicate the flag overlap information between a table and a conceptaddConceptIntersectFlag
Add a column with the individual birth dateaddDateOfBirth
Query to add a column with the individual birth dateaddDateOfBirthQuery
Add date of death for individuals. Only death within the same observation period than `indexDate` will be observed.addDeathDate
Add days to death for individuals. Only death within the same observation period than `indexDate` will be observed.addDeathDays
Add flag for death for individuals. Only death within the same observation period than `indexDate` will be observed.addDeathFlag
Compute demographic characteristics at a certain dateaddDemographics
Query to add demographic characteristics at a certain dateaddDemographicsQuery
Compute the number of days till the end of the observation period at a certain dateaddFutureObservation
Query to add the number of days till the end of the observation period at a certain dateaddFutureObservationQuery
Indicate if a certain record is within the observation periodaddInObservation
Query to add a new column to indicate if a certain record is within the observation periodaddInObservationQuery
Add the ordinal number of the observation period associated that a given date is in.addObservationPeriodId
Add the ordinal number of the observation period associated that a given date is in. Result is not computed, only query is added.addObservationPeriodIdQuery
Compute the number of days of prior observation in the current observation period at a certain dateaddPriorObservation
Query to add the number of days of prior observation in the current observation period at a certain dateaddPriorObservationQuery
Compute the sex of the individualsaddSex
Query to add the sex of the individualsaddSexQuery
Compute number of intersect with an omop table.addTableIntersectCount
Compute date of intersect with an omop table.addTableIntersectDate
Compute time to intersect with an omop table.addTableIntersectDays
Intersecting the cohort with columns of an OMOP table of user's choice. It will add an extra column to the cohort, indicating the intersected entries with the target columns in a window of the user's choice.addTableIntersectField
Compute a flag intersect with an omop table.addTableIntersectFlag
Show the available estimates that can be used for the different variable_type supported.availableEstimates
Get the name of the end date column for a certain table in the cdmendDateColumn
Function to disconnect from the mockmockDisconnect
It creates a mock database for testing PatientProfiles packagemockPatientProfiles
Get the name of the source concept_id column for a certain table in the cdmsourceConceptIdColumn
Get the name of the standard concept_id column for a certain table in the cdmstandardConceptIdColumn
Get the name of the start date column for a certain table in the cdmstartDateColumn
Summarise variables using a set of estimate functions. The output will be a formatted summarised_result object.summariseResult
Classify the variables between 5 types: "numeric", "categorical", "binary", "date", or NA.variableTypes