Permalink
Browse files

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

  • Loading branch information...
2 parents bb9fb75 + 8987036 commit fde45bc05de80e2f43ca265135de1eb68a203be0 Ubuntu committed Jul 19, 2011
Showing with 6 additions and 4 deletions.
  1. +4 −4 dataprocessing/batch_sf.sh
  2. +1 −0 dataprocessing/get_state_abbr.py
  3. +1 −0 dataprocessing/get_state_fips.py
@@ -22,14 +22,14 @@ echo 'Ensuring mongo indexes.'
./ensure_indexes.sh
echo 'Fetching data'
-#./fetch_sf_data_2000.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR" "$STATE_FIPS"
-#./fetch_sf_data_2010.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR"
+./fetch_sf_data_2000.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR" "$STATE_FIPS"
+./fetch_sf_data_2010.sh "$STATE_NAME_SPACE_FIXED" "$STATE_NAME_LOWER" "$STATE_NAME_ABBR"
echo 'Loading 2000 geographies'
./load_sf_geographies_2000.py data/${STATE_NAME_ABBR}geo2000.csv || exit $?
echo 'Loading 2000 data'
-for i in {1..1}
+for i in {1..39}
do
./load_sf_data_2000.py data/sf_data_2000_${STATE_NAME_LOWER}_$i.csv
done
@@ -56,7 +56,7 @@ else
fi
echo 'Loading 2010 data'
-for i in {1..1}
+for i in {1..47}
do
if [ "$FAKE" = "FAKE" ]; then
# Load 2000 data as 2010 for testing
@@ -42,6 +42,7 @@
'Oklahoma': 'ok',
'Oregon': 'or',
'Pennsylvania': 'pa',
+ 'Puerto Rico': 'pr',
'Rhode Island': 'ri',
'South Carolina': 'sc',
'South Dakota': 'sd',
@@ -42,6 +42,7 @@
'Oklahoma': '40',
'Oregon': '41',
'Pennsylvania': '42',
+ 'Puerto Rico': '72',
'Rhode Island': '44',
'South Carolina': '45',
'South Dakota': '46',

0 comments on commit fde45bc

Please sign in to comment.