Skip to content
Snippets Groups Projects
Commit af8bdd2b authored by Thomas  OBADIA's avatar Thomas OBADIA
Browse files

Prepare new script to merge data from INVENTORY phase into OBSERVATIONAL...

Prepare new script to merge data from INVENTORY phase into OBSERVATIONAL databases. The script is currently empty and contains just enough things to get the databases from servers (ahead of switching back to my now-repaired laptop).
parent 8c42f1fa
No related branches found
No related tags found
No related merge requests found
## OBSERVATIONAL_02_merge_inventory_metadata.R
## Date : 2024/10/17
## Author : Thomas Obadia
##
## At the population inventory phase, many descriptors including
## GPS coordinates of houses were taken.
## The subset of individuals enrolled in the observational study
## will make use of these metadata to link with epidemiological and
## clinical data such as lab results, malaria prevalence etc.
##
## This script will amend the data from the observational databases
## with descriptors from the inventory databases, using the ID
## allocated at inventory phase.
######################################################################
######################################################################
### SOURCE THE DATABASES
######################################################################
if (!exists("DATA_EXTRACT_IS_RECENT_OBS") || !DATA_EXTRACT_IS_RECENT_OBS) {
cat("Databases are outdated and will be dumped again.\n")
source("./01_INVENTORY/INVENTORY_02_list_all_inventory_participants.R")
source("./01_INVENTORY/INVENTORY_03_list_all_inventory_houses.R")
source("./02_OBSERVATIONAL/OBSERVATIONAL_01_dump_REDCap_database.R")
}
######################################################################
###
######################################################################
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment