Skip to main content

Load data via the ETL portal (Data Load template)

The data-load workflow based on a ready-made Data Load template in ETL. The template uploads a zip of CSVs, transforms them, optionally truncates the target tables, and ingests them.

Templates used for data load

TemplatesShown asUse for
Load_OMOP_CDM_v54Data Load OMOP CDM v5.4SynPUF-1k (public download is v5.4) and v5.4 vocab
Load_OMOP_CDM_v53Data Load OMOP CDM v5.3v5.3 CDM / vocab

Each template is a 4-node pipeline:

UploadCDMData (zip file upload) → LoadAndTransformFiles and TruncateTables → IngestTables

Before you start

  1. Make sure the target database and schema to load data are ready
  2. The CSV files are transformed
  3. Zip the CSV files using zip -r synpuf1k54.zip synpuf1k54

Steps

  1. Open the Flow editor in the Admin portal → ETL Switch to Admin portal ETL tab

  2. Create new dataflow Create new dataflow

  3. Select Data Load template:

    • Enter a name (e.g. load-synpuf1k or load-vocab) and an optional Comment; Enter dataflow name
    • In Template, select Data Load OMOP CDM v5.4 (or v5.3); Select template
    • Click Create. The canvas is built from the template. Click Create
  4. Set the template Variables to point at the right database and schema Open Variables panel Set Variables

    VariableValues
    database_codealpdev_pg
    cdm_schemacdmdefault
    vocab_schemacdmdefault
    delimiter,
    encodingutf-8
    truncate_tablestrue
    exclude_tables``

    *exclude_tables: if the source zip file has other tables that do not belong to OMOP CDM tables (5.3, 5.4), need to be explicitly specified e.g. exclude_tables = 'cohort,cohort_attributes'.

  5. Upload the csv zip file in UploadCDMData node Edit UploadCDMData node Choose file and Apply

  6. Running the dataflow Run flow

  7. The run should take ≤10 minutes and each node should display a view output button. Output view