Closed vpchung closed 4 years ago
@vpchung I'm going to hold off on this PR for now. Ideally, we'd use this script to update the grant
table in the DB project, not the merged (which should only be updated via the ETL pipeline moving forward). However, we need to work with Andrew's reverse-ETL code first to make sure all the recent manual edits have been correctly back-propagated.
Thanks @jaeddy , that makes a lot of sense!
Side question: would it be better to have all our pipeline scripts in one language? Or is it okay for me to continue working in Python?
I don't see any problem at the moment with keeping scripts in both R and Python (if we ever decide to make a "package" we can revisit). For now, everyone should use whichever they feel most productive and efficient using!
Hmm.. I accidentally merged this PR and had to revert, but can't seem to re-open the original. @vpchung can you (re)create a new PR? Sorry about the mixup.
Done! #93
This script will iterate through a CSV file (see new_grants_template.csv) and create a new Synapse Project and Wiki pages for each listed grant. The Portals - Grants Merged table will also be updated to include their metadata.