Package: PatientProfiles 1.2.0

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.0.tar.gz
PatientProfiles_1.2.0.zip(r-4.5)PatientProfiles_1.2.0.zip(r-4.4)PatientProfiles_1.2.0.zip(r-4.3)
PatientProfiles_1.2.0.tgz(r-4.4-any)PatientProfiles_1.2.0.tgz(r-4.3-any)
PatientProfiles_1.2.0.tar.gz(r-4.5-noble)PatientProfiles_1.2.0.tar.gz(r-4.4-noble)
PatientProfiles_1.2.0.tgz(r-4.4-emscripten)PatientProfiles_1.2.0.tgz(r-4.3-emscripten)
PatientProfiles.pdf |PatientProfiles.html
PatientProfiles/json (API)
NEWS

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

Peer review:

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

On CRAN:

47 exports 6 stars 3.62 score 45 dependencies 8 dependents 155 scripts 974 downloads

Last updated 4 days agofrom:98a6d1e318. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 13 2024
R-4.5-winOKSep 13 2024
R-4.5-linuxOKSep 13 2024
R-4.4-winOKSep 13 2024
R-4.4-macOKSep 13 2024
R-4.3-winOKSep 13 2024
R-4.3-macOKSep 13 2024

Exports:%>%addAgeaddAgeQueryaddCategoriesaddCdmNameaddCohortIntersectCountaddCohortIntersectDateaddCohortIntersectDaysaddCohortIntersectFlagaddCohortNameaddConceptIntersectCountaddConceptIntersectDateaddConceptIntersectDaysaddConceptIntersectFlagaddDateOfBirthaddDateOfBirthQueryaddDeathDateaddDeathDaysaddDeathFlagaddDemographicsaddDemographicsQueryaddFutureObservationaddFutureObservationQueryaddInObservationaddInObservationQueryaddObservationPeriodIdaddObservationPeriodIdQueryaddPriorObservationaddPriorObservationQueryaddSexaddSexQueryaddTableIntersectCountaddTableIntersectDateaddTableIntersectDaysaddTableIntersectFieldaddTableIntersectFlagavailableEstimatesendDateColumnmockDisconnectmockPatientProfilessettingssourceConceptIdColumnstandardConceptIdColumnstartDateColumnsummariseResultsuppressvariableTypes

Dependencies:backportsbitbit64blobCDMConnectorcheckmateclicliprcpp11crayonDBIdbplyrdiffobjdplyrfansifsgenericsgluehmsjsonlitelifecyclemagrittromopgenericspillarpkgconfigprettyunitsprogresspurrrR6readrrematch2rlangsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvisOmopResultsvroomwaldowithr

Adding cohort intersections

Rendered fromcohort-intersect.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2024-07-28
Started: 2024-04-09

Adding concept intersections

Rendered fromconcept-intersect.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2024-07-28
Started: 2024-04-09

Adding patient demographics

Rendered fromdemographics.rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2024-07-28
Started: 2024-04-09

Summarise result

Rendered fromsummarise.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2024-07-28
Started: 2024-04-09

Adding table intersections

Rendered fromtable-intersect.Rmdusingknitr::rmarkdownon Sep 13 2024.

Last update: 2024-07-28
Started: 2024-04-09

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