Running Demo Merge Project
- Generate the test code
cd test_data_generator
python generate_merge_test_data.py 100
cp *.csv ../../importdata/
cd ..
- Ensure the following tables have been created in the
merge_utilitiesschema. If not then run dag 01_setup_provider_schema to create themmatch_confidence_setsui_set_membershipui_set_status
- Get the test data into landing by running these dags:
- 02_import_and_conform_source1_to_v12
- 03_import_data_into_landing (with source
Affordablecare)
- Add this row to
monarch_config.remap_table
| parent_object_name | object_name | remap_object_name | id_col | enabled |
|---|---|---|---|---|
| account | account | account | parentid | true |
- Generate match confidence sets by running dag merge_preprocess. At this point you can navigate to the merge UI and see some data (everything except merge preview)
- Generate merge instructions and remap instructions by running dag provider_merge
- Generate the merge preview by running dag 04_data_quality_and_mastering
- Go to the merge UI and see the full view (including merge preview)
Troubleshooting
- If the merge_preprocess schema isn't showing up, double check the that the ports are set correctly in
src/custom/dbt/profiles.yml