PEDSnet / pedsnetdcc

CLI tool for PEDSnet data coordinating center ETL tasks
Other
0 stars 0 forks source link

Live demo plan and related needs #58

Closed gracebrownecodes closed 7 years ago

gracebrownecodes commented 8 years ago

The setup is:

The demo is:

Which means the needs are:

What did I miss?

murphyke commented 8 years ago

Yes, load includes adding indexes and FKs.

How about a document that describes and provides examples for all of the steps, including ones we are not actually demo'ing. This could be the basis of the "PEDSnet database management" documentation.

Re: the load command, there is an open PR that should be merged since it was used in production. I just made another ticket with some of the known TODO items for the load command.

Re: the demo environment, if we use db01, we can either create a special demo cluster or we can let Ritu et al know we are co-opting pedsnet_dcc_v22 temporarily and rename the original v22 database.

Steps that aren't demo'd that could appear in our document:

murphyke commented 8 years ago

So my script is something along the lines of:

Steps for initial loading

Things to note: currently the --modelv switch is required, even though the tool should be able to derive the model version from metadata.csv.

gracebrownecodes commented 8 years ago

And then I'll pick up with my script, which goes something like.

pedsnetdcc check_fact_relationship -s chop_pedsnet postgresql://loading_user@reslnpedsndb01.research.chop.edu:5433/pedsnet_dcc_v22
pedsnetdcc sync_observation_period -s chop_pedsnet postgresql://loading_user@reslnpedsndb01.research.chop.edu:5433/pedsnet_dcc_v22
pedsnetdcc transform -s chop_pedsnet,chop_id_maps,dcc_ids,vocabulary --site chop -v 2.2.0 postgresql://loading_user@reslnpedsndb01.research.chop.edu:5433/pedsnet_dcc_v22
pedsnetdcc merge -v 2.2.0 postgresql://loading_user@reslnpedsndb01.research.chop.edu:5433/pedsnet_dcc_v22
murphyke commented 7 years ago

Done.