Currently VOCs are embedded into the source code the site itself, meaning that VOCs don't get updated unless the source code does too. We should move VOCs into the database.
VOC snakemake rules output to the data folder instead the static data folder
Make new folder inside data/ folder called VOCs/, put all JSONs there
Add VOCs to jsons table, modify seed database function
Only need upload the master file vocs.json, don't need to upload individual agency files
Modify db_seed/seed.py to add vocs.json to the jsons table
Adapt VOCList component to use vocs.json (accessible from asyncDataStore) instead of loading from static_data
Currently VOCs are embedded into the source code the site itself, meaning that VOCs don't get updated unless the source code does too. We should move VOCs into the database.
VOCs/
, put all JSONs therejsons
table, modify seed database functionvocs.json
, don't need to upload individual agency filesdb_seed/seed.py
to addvocs.json
to thejsons
tableVOCList
component to usevocs.json
(accessible fromasyncDataStore
) instead of loading fromstatic_data