From: Michael Orlitzky Date: Thu, 8 Oct 2009 11:38:51 +0000 (-0400) Subject: Added the NY and VA county "all lines" files to download_data. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=344e78624b343dd3ae89bbcc342f54ded11392d5;p=dead%2Fcensus-tools.git Added the NY and VA county "all lines" files to download_data. --- diff --git a/bin/download_data b/bin/download_data index 2497a79..c8a81a4 100755 --- a/bin/download_data +++ b/bin/download_data @@ -51,6 +51,71 @@ md.add_county(43, 'Washington') md.add_county(45, 'Wicomico') md.add_county(47, 'Worcester') +# New York +ny.add_county(1, 'Albany') +ny.add_county(3, 'Allegany') +ny.add_county(5, 'Bronx') +ny.add_county(7, 'Broome') +ny.add_county(9, 'Cattaraugus') +ny.add_county(11, 'Cayuga') +ny.add_county(13, 'Chautauqua') +ny.add_county(15, 'Chemung') +ny.add_county(17, 'Chenango') +ny.add_county(19, 'Clinton') +ny.add_county(21, 'Columbia') +ny.add_county(23, 'Cortland') +ny.add_county(25, 'Delaware') +ny.add_county(27, 'Dutchess') +ny.add_county(29, 'Erie') +ny.add_county(31, 'Essex') +ny.add_county(33, 'Franklin') +ny.add_county(35, 'Fulton') +ny.add_county(37, 'Genesee') +ny.add_county(39, 'Greene') +ny.add_county(41, 'Hamilton') +ny.add_county(43, 'Herkimer') +ny.add_county(45, 'Jefferson') +ny.add_county(47, 'Kings') +ny.add_county(49, 'Lewis') +ny.add_county(51, 'Livingston') +ny.add_county(53, 'Madison') +ny.add_county(55, 'Monroe') +ny.add_county(57, 'Montgomery') +ny.add_county(59, 'Nassau') +ny.add_county(61, 'New York') +ny.add_county(63, 'Niagara') +ny.add_county(65, 'Oneida') +ny.add_county(67, 'Onondaga') +ny.add_county(69, 'Ontario') +ny.add_county(71, 'Orange') +ny.add_county(73, 'Orleans') +ny.add_county(75, 'Oswego') +ny.add_county(77, 'Otsego') +ny.add_county(79, 'Putnam') +ny.add_county(81, 'Queens') +ny.add_county(83, 'Rensselaer') +ny.add_county(85, 'Richmond') +ny.add_county(87, 'Rockland') +ny.add_county(89, 'St Lawrence') +ny.add_county(91, 'Saratoga') +ny.add_county(93, 'Schenectady') +ny.add_county(95, 'Schoharie') +ny.add_county(97, 'Schuyler') +ny.add_county(99, 'Seneca') +ny.add_county(101, 'Steuben') +ny.add_county(103, 'Suffolk') +ny.add_county(105, 'Sullivan') +ny.add_county(107, 'Tioga') +ny.add_county(109, 'Tompkins') +ny.add_county(111, 'Ulster') +ny.add_county(113, 'Warren') +ny.add_county(115, 'Washington') +ny.add_county(117, 'Wayne') +ny.add_county(119, 'Westchester') +ny.add_county(121, 'Wyoming') +ny.add_county(123, 'Yates') + + # Pennsylvania pa.add_county(1, 'Adams') pa.add_county(3, 'Allegheny') @@ -120,6 +185,142 @@ pa.add_county(129, 'Westmoreland') pa.add_county(131, 'Wyoming') pa.add_county(133, 'York') +va.add_county(1, 'Accomack') +va.add_county(3, 'Albemarle') +va.add_county(5, 'Alleghany') +va.add_county(7, 'Amelia') +va.add_county(9, 'Amherst') +va.add_county(11, 'Appomattox') +va.add_county(13, 'Arlington') +va.add_county(15, 'Augusta') +va.add_county(17, 'Bath') +va.add_county(19, 'Bedford') +va.add_county(21, 'Bland') +va.add_county(23, 'Botetourt') +va.add_county(25, 'Brunswick') +va.add_county(27, 'Buchanan') +va.add_county(29, 'Buckingham') +va.add_county(31, 'Campbell') +va.add_county(33, 'Caroline') +va.add_county(35, 'Carroll') +va.add_county(36, 'Charles City') +va.add_county(37, 'Charlotte') +va.add_county(41, 'Chesterfield') +va.add_county(43, 'Clarke') +va.add_county(45, 'Craig') +va.add_county(47, 'Culpeper') +va.add_county(49, 'Cumberland') +va.add_county(51, 'Dickenson') +va.add_county(53, 'Dinwiddie') +va.add_county(57, 'Essex') +va.add_county(59, 'Fairfax') +va.add_county(61, 'Fauquier') +va.add_county(63, 'Floyd') +va.add_county(65, 'Fluvanna') +va.add_county(67, 'Franklin') +va.add_county(69, 'Frederick') +va.add_county(71, 'Giles') +va.add_county(73, 'Gloucester') +va.add_county(75, 'Goochland') +va.add_county(77, 'Grayson') +va.add_county(79, 'Greene') +va.add_county(81, 'Greensville') +va.add_county(83, 'Halifax') +va.add_county(85, 'Hanover') +va.add_county(87, 'Henrico') +va.add_county(89, 'Henry') +va.add_county(91, 'Highland') +va.add_county(93, 'Isle of Wight') +va.add_county(95, 'James City') +va.add_county(97, 'King and Queen') +va.add_county(99, 'King George') +va.add_county(101, 'King William') +va.add_county(103, 'Lancaster') +va.add_county(105, 'Lee') +va.add_county(107, 'Loudoun') +va.add_county(109, 'Louisa') +va.add_county(111, 'Lunenburg') +va.add_county(113, 'Madison') +va.add_county(115, 'Mathews') +va.add_county(117, 'Mecklenburg') +va.add_county(119, 'Middlesex') +va.add_county(121, 'Montgomery') +va.add_county(125, 'Nelson') +va.add_county(127, 'New Kent') +va.add_county(131, 'Northampton') +va.add_county(133, 'Northumberland') +va.add_county(135, 'Nottoway') +va.add_county(137, 'Orange') +va.add_county(139, 'Page') +va.add_county(141, 'Patrick') +va.add_county(143, 'Pittsylvania') +va.add_county(145, 'Powhatan') +va.add_county(147, 'Prince Edward') +va.add_county(149, 'Prince George') +va.add_county(153, 'Prince William') +va.add_county(155, 'Pulaski') +va.add_county(157, 'Rappahannock') +va.add_county(159, 'Richmond') +va.add_county(161, 'Roanoke') +va.add_county(163, 'Rockbridge') +va.add_county(165, 'Rockingham') +va.add_county(167, 'Russell') +va.add_county(169, 'Scott') +va.add_county(171, 'Shenandoah') +va.add_county(173, 'Smyth') +va.add_county(175, 'Southampton') +va.add_county(177, 'Spotsylvania') +va.add_county(179, 'Stafford') +va.add_county(181, 'Surry') +va.add_county(183, 'Sussex') +va.add_county(185, 'Tazewell') +va.add_county(187, 'Warren') +va.add_county(191, 'Washington') +va.add_county(193, 'Westmoreland') +va.add_county(195, 'Wise') +va.add_county(197, 'Wythe') +va.add_county(199, 'York') +va.add_county(510, 'Alexandria city', True) +va.add_county(515, 'Bedford city', True) +va.add_county(520, 'Bristol city', True) +va.add_county(530, 'Buena Vista city', True) +va.add_county(540, 'Charlottesville city', True) +va.add_county(550, 'Chesapeake city', True) +va.add_county(570, 'Colonial Heights city', True) +va.add_county(580, 'Covington city', True) +va.add_county(590, 'Danville city', True) +va.add_county(595, 'Emporia city', True) +va.add_county(600, 'Fairfax city', True) +va.add_county(610, 'Falls Church city', True) +va.add_county(620, 'Franklin city', True) +va.add_county(630, 'Fredericksburg city', True) +va.add_county(640, 'Galax city', True) +va.add_county(650, 'Hampton city', True) +va.add_county(660, 'Harrisonburg city', True) +va.add_county(670, 'Hopewell city', True) +va.add_county(678, 'Lexington city', True) +va.add_county(680, 'Lynchburg city', True) +va.add_county(683, 'Manassas city', True) +va.add_county(685, 'Manassas Park city', True) +va.add_county(690, 'Martinsville city', True) +va.add_county(700, 'Newport News city', True) +va.add_county(710, 'Norfolk city', True) +va.add_county(720, 'Norton city', True) +va.add_county(730, 'Petersburg city', True) +va.add_county(735, 'Poquoson city', True) +va.add_county(740, 'Portsmouth city', True) +va.add_county(750, 'Radford city', True) +va.add_county(760, 'Richmond city', True) +va.add_county(770, 'Roanoke city', True) +va.add_county(775, 'Salem city', True) +va.add_county(790, 'Staunton city', True) +va.add_county(800, 'Suffolk city', True) +va.add_county(810, 'Virginia Beach city', True) +va.add_county(820, 'Waynesboro city', True) +va.add_county(830, 'Williamsburg city', True) +va.add_county(840, 'Winchester city', True) + + states = [dc, md, ny, pa, va] Data.download_lines(states)