Skip to content
This repository
Browse code

Merge branch 'master' of github.com:ireapps/census

  • Loading branch information...
commit fde45bc05de80e2f43ca265135de1eb68a203be0 2 parents bb9fb75 + 8987036
Ubuntu authored
8 dataprocessing/batch_sf.sh
@@ -22,14 +22,14 @@ echo 'Ensuring mongo indexes.'
22 22 ./ensure_indexes.sh
23 23
24 24 echo 'Fetching data'
25   -#./fetch_sf_data_2000.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR" "$STATE_FIPS"
26   -#./fetch_sf_data_2010.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR"
  25 +./fetch_sf_data_2000.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR" "$STATE_FIPS"
  26 +./fetch_sf_data_2010.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR"
27 27
28 28 echo 'Loading 2000 geographies'
29 29 ./load_sf_geographies_2000.py data/${STATE_NAME_ABBR}geo2000.csv || exit $?
30 30
31 31 echo 'Loading 2000 data'
32   -for i in {1..1}
  32 +for i in {1..39}
33 33 do
34 34 ./load_sf_data_2000.py data/sf_data_2000_${STATE_NAME_LOWER}_$i.csv
35 35 done
@@ -56,7 +56,7 @@ else
56 56 fi
57 57
58 58 echo 'Loading 2010 data'
59   -for i in {1..1}
  59 +for i in {1..47}
60 60 do
61 61 if [ "$FAKE" = "FAKE" ]; then
62 62 # Load 2000 data as 2010 for testing
1  dataprocessing/get_state_abbr.py
@@ -42,6 +42,7 @@
42 42 'Oklahoma': 'ok',
43 43 'Oregon': 'or',
44 44 'Pennsylvania': 'pa',
  45 + 'Puerto Rico': 'pr',
45 46 'Rhode Island': 'ri',
46 47 'South Carolina': 'sc',
47 48 'South Dakota': 'sd',
1  dataprocessing/get_state_fips.py
@@ -42,6 +42,7 @@
42 42 'Oklahoma': '40',
43 43 'Oregon': '41',
44 44 'Pennsylvania': '42',
  45 + 'Puerto Rico': '72',
45 46 'Rhode Island': '44',
46 47 'South Carolina': '45',
47 48 'South Dakota': '46',

0 comments on commit fde45bc

Please sign in to comment.
Something went wrong with that request. Please try again.