Package: PatientProfiles 1.2.1.900

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.1.900.tar.gz
PatientProfiles_1.2.1.900.zip(r-4.5)PatientProfiles_1.2.1.900.zip(r-4.4)PatientProfiles_1.2.1.900.zip(r-4.3)
PatientProfiles_1.2.1.900.tgz(r-4.4-any)PatientProfiles_1.2.1.900.tgz(r-4.3-any)
PatientProfiles_1.2.1.900.tar.gz(r-4.5-noble)PatientProfiles_1.2.1.900.tar.gz(r-4.4-noble)
PatientProfiles_1.2.1.900.tgz(r-4.4-emscripten)PatientProfiles_1.2.1.900.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.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

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

On CRAN:

10.55 score 8 stars 9 packages 170 scripts 1.2k downloads 47 exports 45 dependencies

Last updated 2 days agofrom:de022df949. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:%>%addAgeaddAgeQueryaddCategoriesaddCdmNameaddCohortIntersectCountaddCohortIntersectDateaddCohortIntersectDaysaddCohortIntersectFlagaddCohortNameaddConceptIntersectCountaddConceptIntersectDateaddConceptIntersectDaysaddConceptIntersectFlagaddDateOfBirthaddDateOfBirthQueryaddDeathDateaddDeathDaysaddDeathFlagaddDemographicsaddDemographicsQueryaddFutureObservationaddFutureObservationQueryaddInObservationaddInObservationQueryaddObservationPeriodIdaddObservationPeriodIdQueryaddPriorObservationaddPriorObservationQueryaddSexaddSexQueryaddTableIntersectCountaddTableIntersectDateaddTableIntersectDaysaddTableIntersectFieldaddTableIntersectFlagavailableEstimatesendDateColumnmockDisconnectmockPatientProfilessettingssourceConceptIdColumnstandardConceptIdColumnstartDateColumnsummariseResultsuppressvariableTypes

Dependencies:backportsbitbit64blobCDMConnectorcheckmateclicliprcpp11crayonDBIdbplyrdiffobjdplyrfansifsgenericsgluehmsjsonlitelifecyclemagrittromopgenericspillarpkgconfigprettyunitsprogresspurrrR6readrrematch2rlangsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvisOmopResultsvroomwaldowithr

Adding cohort intersections

Rendered fromcohort-intersect.Rmdusingknitr::rmarkdownon Oct 31 2024.

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

Adding concept intersections

Rendered fromconcept-intersect.Rmdusingknitr::rmarkdownon Oct 31 2024.

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

Adding patient demographics

Rendered fromdemographics.rmdusingknitr::rmarkdownon Oct 31 2024.

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

Summarise result

Rendered fromsummarise.Rmdusingknitr::rmarkdownon Oct 31 2024.

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

Adding table intersections

Rendered fromtable-intersect.Rmdusingknitr::rmarkdownon Oct 31 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