]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - bin/download_data
Modified the Data module and download script to download the Summary File 1 data.
[dead/census-tools.git] / bin / download_data
index 37741cd7a84acc53be930ba6e240255f8a743e62..81bffc4a48a5680373180a4a2874e38a2cffc89c 100755 (executable)
@@ -17,13 +17,13 @@ from Data import State, County
 
 
 # Create the State objects.
-de = State(10, 'Delaware')
-dc = State(11, 'District of Columbia')
-md = State(24, 'Maryland')
-ny = State(36, 'New York')
-pa = State(42, 'Pennsylvania')
-va = State(51, 'Virginia')
-wv = State(54, 'West Virginia')
+de = State(10, 'Delaware', 'DE')
+dc = State(11, 'District of Columbia', 'DC')
+md = State(24, 'Maryland', 'MD')
+ny = State(36, 'New York', 'NY')
+pa = State(42, 'Pennsylvania', 'PA')
+va = State(51, 'Virginia', 'VA')
+wv = State(54, 'West Virginia', 'WV')
 
 
 # Now we add all of the counties belonging to each state, starting
@@ -404,5 +404,6 @@ wv.add_county(109, 'Wyoming')
 # Now that the counties have been added, create a list of states to
 # pass to the download_lines function.
 states = [de, dc, md, ny, pa, va, wv]
+Data.download_sf1(states)
 Data.download_blocks(states)
 Data.download_lines(states)