From 7b8cd40d5f84e25422f34e23ed3734053298b5b9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 10 Nov 2009 00:40:22 -0500 Subject: [PATCH] Added the Delaware lines to the download_data script. --- bin/download_data | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bin/download_data b/bin/download_data index 7e59ece..6830f5f 100755 --- a/bin/download_data +++ b/bin/download_data @@ -17,6 +17,7 @@ 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') @@ -26,7 +27,14 @@ wv = State(54, 'West Virginia') # Now we add all of the counties belonging to each state, starting -# with Washington D.C. +# with Delaware. + +de.add_county(1, 'Kent') +de.add_county(3, 'New Castle') +de.add_county(5, 'Sussex') + + +# Washington D.C. dc.add_county(1, 'District of Columbia', True) @@ -395,5 +403,5 @@ 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 = [dc, md, ny, pa, va, wv] +states = [de, dc, md, ny, pa, va, wv] Data.download_lines(states) -- 2.43.2