From eb51c39a919ac83319a6ced262051e6f8b0f00c4 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 25 Nov 2009 20:20:51 -0500 Subject: [PATCH] Added New Jersey to the download_data script. --- bin/download_data | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/bin/download_data b/bin/download_data index 81bffc4..da3cb75 100755 --- a/bin/download_data +++ b/bin/download_data @@ -20,6 +20,7 @@ from Data import State, County de = State(10, 'Delaware', 'DE') dc = State(11, 'District of Columbia', 'DC') md = State(24, 'Maryland', 'MD') +nj = State(34, 'New Jersey', 'NJ') ny = State(36, 'New York', 'NY') pa = State(42, 'Pennsylvania', 'PA') va = State(51, 'Virginia', 'VA') @@ -67,6 +68,31 @@ md.add_county(45, 'Wicomico') md.add_county(47, 'Worcester') +# New Jersey + +nj.add_county(1, 'Atlantic') +nj.add_county(3, 'Bergen') +nj.add_county(5, 'Burlington') +nj.add_county(7, 'Camden') +nj.add_county(9, 'Cape May') +nj.add_county(11, 'Cumberland') +nj.add_county(13, 'Essex') +nj.add_county(15, 'Gloucester') +nj.add_county(17, 'Hudson') +nj.add_county(19, 'Hunterdon') +nj.add_county(21, 'Mercer') +nj.add_county(23, 'Middlesex') +nj.add_county(25, 'Monmouth') +nj.add_county(27, 'Morris') +nj.add_county(29, 'Ocean') +nj.add_county(31, 'Passaic') +nj.add_county(33, 'Salem') +nj.add_county(35, 'Somerset') +nj.add_county(37, 'Sussex') +nj.add_county(39, 'Union') +nj.add_county(41, 'Warren') + + # New York ny.add_county(1, 'Albany') @@ -403,7 +429,7 @@ 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] +states = [de, dc, md, nj, ny, pa, va, wv] Data.download_sf1(states) Data.download_blocks(states) Data.download_lines(states) -- 2.43.2