From 64e584ed3a776eb6c706990c5c19a215f912720d Mon Sep 17 00:00:00 2001
From: Kyle Zollo-Venecek data_source
web-hosted entities. All source data in gaiaDB must be referenced in
this table.
User Guide
-All records in this table are sources of geospatial data. They can be -sources of geometry data, such as point, line, or polygon, or they can -be attribute data with an identifier that relates them to geometry data, -such as a FIPS code or GEOID.
+NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
ETL Conventions
-All sources of data that should be included in gaiaDB must have an -entry in this table. Geometry data sources require a “geom_spec”: a -lightweight transformation from the source data to the standardized -format, written in R and serialized as JSON.
+NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
-This field can be used to determine the provenance of the Exposure -record, as in whether the exposure was from an ___________ or other -sources. +This field identifies the origin of the exposure record (e.g. Census, +EHR, Environmental data, Geospatial data, Satellite imagery, GIS +mapping, Sensor network, Mobile device geolocation, LiDAR) |
The CONCEPT_ID to which the exposure’s data source type is mapped. This
@@ -3102,11 +3118,10 @@ exposure_occurrenceoperator_concept_id |
-The meaning of Concept |
@@ -3162,8 +3177,7 @@ | If the raw data gives a categorial result for exposures those values are -captured and mapped to standard concepts in the <91>Exposure -Value<92> domain. +captured and mapped to standard concepts in the ?Exposure Value? domain. | This mapping should be integrated into the variable_source record and diff --git a/docs/gaiaCore/pkgdown.yml b/docs/gaiaCore/pkgdown.yml index ded0628..1ee4fb5 100644 --- a/docs/gaiaCore/pkgdown.yml +++ b/docs/gaiaCore/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: '2.18' pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2024-03-01T14:55Z +last_built: 2024-03-01T16:56Z diff --git a/inst/csv/gaia001fieldLevel.csv b/inst/csv/gaia001fieldLevel.csv index cc67ca0..c9cb329 100644 --- a/inst/csv/gaia001fieldLevel.csv +++ b/inst/csv/gaia001fieldLevel.csv @@ -76,7 +76,7 @@ exposure_occurrence,exposure_start_date,Yes,date,Use this date to determine the exposure_occurrence,exposure_start_datetime,No,datetime,,,No,No,,,,, exposure_occurrence,exposure_end_date,Yes,date,Use this date to determine the end date of the exposure.,The date range of the exposure should represent the temporal overlap between the place-based exposure data point and the LOCATION_ID's location_history record.,No,No,,,,, exposure_occurrence,exposure_end_datetime,No,datetime,,,No,No,,,,, -exposure_occurrence,exposure_type_concept_id,Yes,integer,"This field can be used to determine the provenance of the Exposure record, as in whether the exposure was from an ___________ or other sources.",The CONCEPT_ID to which the exposure's data source type is mapped. This mapping should be integrated into the data_source record and automatically populated in this record.,No,Yes,concept,concept_id,Type Concept,, +exposure_occurrence,exposure_type_concept_id,Yes,integer,"This field identifies the origin of the exposure record (e.g. Census, EHR, Environmental data, Geospatial data, Satellite imagery, GIS mapping, Sensor network, Mobile device geolocation, LiDAR)",The CONCEPT_ID to which the exposure's data source type is mapped. This mapping should be integrated into the data_source record and automatically populated in this record.,No,Yes,concept,concept_id,Type Concept,, exposure_occurrence,exposure_relationship_concept_id,Yes,integer,This field can be used to determine the spatiotemporal relationship between the source Exposure and the Person,The CONCEPT_ID to which the relationship between the Exposure and the Person is mapped. This mapping should be automatically populated in this record.,No,Yes,concept,concept_id,,, exposure_occurrence,exposure_source_concept_id,No,integer,This field can be used to determine the original source of place-based exposure data,The CONCEPT_ID to which the exposure's data source is mapped. This mapping should be integrated into the data_source record and automatically populated in this record.,No,Yes,concept,concept_id,,, exposure_occurrence,exposure_source_value,No,varchar(50),This field houses the verbatim name of the original source of place-based exposure data.,This name is mapped to a Standard Exposure Source Concept and the original name is stored here for reference.,No,No,,,,, @@ -84,7 +84,7 @@ exposure_occurrence,exposure_relationship_source_value,No,varchar(50),,,No,No,,, exposure_occurrence,dose_unit_source_value,No,varchar(50),,,No,No,,,,, exposure_occurrence,quantity,No,integer,,,No,No,,,,, exposure_occurrence,modifier_source_value,No,varchar(50),,,No,No,,,,, -exposure_occurrence,operator_concept_id,No,integer,"The meaning of Concept4172703for = is identical to omission of a OPERATOR_CONCEPT_ID value. Since the use of this field is rare, its important when devising analyses to not to forget testing for the content of this field for values different from =.",,No,Yes,concept,concept_id,,, +exposure_occurrence,operator_concept_id,No,integer,"The meaning of Concept?4172703?for ?=? is identical to omission of a OPERATOR_CONCEPT_ID value. Since the use of this field is rare, it?s important when devising analyses to not to forget testing for the content of this field for values different from =.",,No,Yes,concept,concept_id,,, exposure_occurrence,value_as_number,No,float,"This is the numerical value of the Exposure, if available.",This value should be integrated into the variable_source record and automatically populated in this record.,No,No,,,,, -exposure_occurrence,value_as_concept_id,No,integer,If the raw data gives a categorial result for exposures those values are captured and mapped to standard concepts in the Exposure Value domain.,This mapping should be integrated into the variable_source record and automatically populated in this record.,No,Yes,concept,concept_id,,, +exposure_occurrence,value_as_concept_id,No,integer,If the raw data gives a categorial result for exposures those values are captured and mapped to standard concepts in the ?Exposure Value? domain.,This mapping should be integrated into the variable_source record and automatically populated in this record.,No,Yes,concept,concept_id,,, exposure_occurrence,unit_concept_id,No,integer,UNIT_SOURCE_VALUES should be mapped to a Standard Concept in the Unit domain that best represents the unit as given in the source data.,This mapping should be integrated into the variable_source record and automatically populated in this record.,No,Yes,concept,concept_id,Unit,, diff --git a/rmd/gaia-datamodels.Rmd b/rmd/gaia-datamodels.Rmd index 8cb1332..d7f9612 100644 --- a/rmd/gaia-datamodels.Rmd +++ b/rmd/gaia-datamodels.Rmd @@ -65,12 +65,13 @@ for(tb in tables) { tableInfo <- subset(tableSpecs, gaiaTableName == tb) cat("**Table Description**\n\n",tableInfo[,"tableDescription"][[1]], "\n\n") - if(!isTRUE(tableInfo[,"userGuidance"][[1]]=="")){ - cat("**User Guide**\n\n",tableInfo[,"userGuidance"][[1]],"\n\n") + fieldInfo <- subset(cdmSpecs, gaiaTableName == tb) + if(!isTRUE(fieldInfo[,"userGuidance"][[1]]=="")){ + cat("**User Guide**\n\n",fieldInfo[,"userGuidance"][[1]],"\n\n") } - if(!isTRUE(tableInfo[,"etlConventions"][[1]]=="")){ - cat("**ETL Conventions**\n\n",tableInfo[,"etlConventions"][[1]],"\n\n") + if(!isTRUE(fieldInfo[,"etlConventions"][[1]]=="")){ + cat("**ETL Conventions**\n\n",fieldInfo[,"etlConventions"][[1]],"\n\n") } loopTable <- subset(gaiaSpecsClean, `Gaia Table` == tb) |