generate: Generate Mother-Child Linkages

Description Usage Arguments Details

Description

generate creates descriptive statistics summary for an entire OMOP CDM instance.

Usage

1
2
3
4
generate(connectionDetails, cdmDatabaseSchema, resultsDatabaseSchema,
  pppDatabaseSchema = cdmDatabaseSchema, pppTableName = "payer_plan_period",
  motherRelationshipId = 40478925, childRelationshipId = 40485452,
  ffdf = NULL)

Arguments

connectionDetails

An R object of type ConnectionDetails (details for the function that contains server info, database type, optionally username/password, port)

cdmDatabaseSchema

Fully qualified name of database schema that contains OMOP CDM (including Vocabulary). On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_instance.dbo'.

resultsDatabaseSchema

Fully qualified name of database schema that holds the pregnancy_episodes table. On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_results.dbo'.

pppDatabaseSchema

Fully qualified name of database schema that holds the payer_plan_period table with family_source_value populated. Default is cdmDatabaseSchema. On SQL Server, this should specifiy both the database and the schema, so for example, on SQL Server, 'cdm_scratch.dbo'.

pppTableName

(OPTIONAL) The name of the table to land the custom payer_plan_period table. By default, this is "payer_plan_period."

motherRelationshipId

(OPTIONAL) The concept Id to relate a mother to a child. By default, it is 40478925.

childRelationshipId

(OPTIONAL) The concept Id to relate a child to a parent. By default, it is 40485452.

ffdf

(OPTIONAL) An ffdf object with family ids – only use this if your CDM payer_plan_period table doesn't have family ids

Details

generate creates descriptive statistics summary for an entire OMOP CDM instance.


alondhe/MotherChildLinkage documentation built on May 28, 2019, 4:55 p.m.