-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
37 lines (19 loc) · 865 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// To download fields from socrata
node scripts/processTables
node scripts/processGeo
node scripts/combineOutput
node scripts/tocsv
// To get attachments
node scripts/getAttachmentList
// Or to run all the node scripts and get resulting csvs
npm run output_csvs
// to update the field and attachment datasets on the portal
python pydev/update_metadata_fields.py -c fieldConfig.yaml -d /Users/j9/Desktop/fetch-socrata-fields/configs/
// update the master data dictionary dataset
python pydev/update_master_data_dictionary.py -c fieldConfigMasterDD.yaml -d /Users/j9/Desktop/fetch-socrata-fields/configs/
// to run the total job
./fetch_metadata_fields.sh
// Additional Installation notes
// You will need node and npm installed --> we used node v.6 or greater
// run the install script, setup_dirs to set up the dirctory structure:
`setup_dirs.sh`