Skip to content
Browse files

collection

  • Loading branch information...
1 parent 1d2e24d commit eff1be1c6d98d863b72ac5119bca6e7c02ac61e8 @tlevine committed Sep 19, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 bin/collect-yoga
  2. +1 −1 collect/american-fact-finder/standardize-sampling-unit.sh
View
4 bin/collect-yoga
@@ -1,12 +1,14 @@
#!/bin/sh
+set -e
(
cd "$QUINOA_ROOT"/collect/yoga
# Selenium must be running for this.
- ./oh_just_use_selenium.py
+ [ -e sources.db ] || ./oh_just_use_selenium.py
# Selenium doesn't need to be running
+ cp sources.db /tmp/yoga.db
./parse_locations.py
cp /tmp/yoga.db ../../data
View
2 collect/american-fact-finder/standardize-sampling-unit.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# Remove rows that aren't at the zip code level.
-sed -n -e 2p -e /ZCTA/p DEC_10_SF1_GCTP2.ST09.csv | wc -l
+sed -n -e 2p -e /ZCTA/p DEC_10_SF1_GCTP2.ST09.csv

0 comments on commit eff1be1

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