Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CS.cities :ny, :us gets wrong data. #20

Closed
pragmaticivan opened this issue Oct 15, 2016 · 0 comments
Closed

CS.cities :ny, :us gets wrong data. #20

pragmaticivan opened this issue Oct 15, 2016 · 0 comments

Comments

@pragmaticivan
Copy link

NY seems to have some issue getting correct city list.

Result:

>> CS.cities :ny, :us
=> ["Accord", "Acra", "Adams", "Addison", "Afton", "Akron", "Albany", "Albertson", "Albion", "Alden", "Alexander", "Alexandria Bay", "Alfred", "Alfred Station", "Allegany", "Almond", "Alplaus", "Altamont", "Altmar", "Altona", "Amagansett", "Amawalk", "Amenia", "Amherst", "Amityville", "Amsterdam", "Andes", "Andover", "Angelica", "Angola", "Annandale-on-Hudson", "Apalachin", "Aquebogue", "Arcade", "Ardsley", "Argyle", "Arkport", "Armonk", "Arverne", "Ashville", "Astoria", "Athens", "Atlantic Beach", "Attica", "Au Sable Forks", "Auburn", "Aurora", "Austerlitz", "Ava", "Averill Park", "Avoca", "Avon", "Babylon", "Bainbridge", "Baldwin", "Baldwin Place", "Baldwinsville", "Ballston Lake", "Ballston Spa", "Barryville", "Barton", "Batavia", "Bath", "Bay Shore", "Bayport", "Bayside", "Bayville", "Beacon", "Bearsville", "Beaver Dams", "Bedford", "Bedford Hills", "Bellerose", "Bellmore", "Bellport", "Belmont", "Bemus Point", "Bergen", "Berkshire", "Berlin", "Berne", "Bernhards Bay", "Bethpage", "Big Flats", "Binghamton", "Blauvelt", "Blooming Grove", "Bloomingburg", "Blossvale", "Blue Point", "Bohemia", "Boiceville", "Bolivar", "Bolton Landing", "Bombay", "Boonville", "Boston", "Bovina Center", "Bowmansville", "Bradford", "Branchport", "Brant Lake", "Brasher Falls", "Brentwood", "Brewerton", "Brewster", "Briarcliff Manor", "Bridgehampton", "Bridgeport", "Brightwaters", "Broadalbin", "Brockport", "Brocton", "Bronxville", "Brookfield", "Brookhaven", "Brooklyn", "Brooktondale", "Brushton", "Buchanan", "Buffalo", "Burdett", "Burlington Flats", "Burnt Hills", "Burt", "Byron", "Cadyville", "Cairo", "Caledonia", "Callicoon", "Calverton", "Cambria Heights", "Cambridge", "Camden", "Cameron Mills", "Camillus", "Campbell", "Campbell Hall", "Canajoharie", "Canandaigua", "Canastota", "Candor", "Canisteo", "Canton", "Cape Vincent", "Carle Place", "Carmel", "Caroga Lake", "Carthage", "Cassadaga", "Cassville", "Castile", "Castleton-on-Hudson", "Castorland", "Cato", "Catskill", "Cattaraugus", "Cayuga", "Cazenovia", "Cedarhurst", "Celoron", "Center Moriches", "Centereach", "Centerport", "Central Islip", "Central Square", "Central Valley", "Chadwicks", "Champlain", "Chappaqua", "Chatham", "Chaumont", "Chazy", "Chemung", "Chenango Forks", "Cherry Creek", "Cherry Valley", "Chester", "Chestertown", "Chittenango", "Churchville", "Cicero", "Cincinnatus", "Circleville", "Clarence", "Clarence", "Claverack", "Clay", "Clayton", "Cleveland", "Clifton Park", "Clifton Springs", "Climax", "Clinton", "Clinton Corners", "Clintondale", "Clyde", "Clymer", "Cobleskill", "Coeymans", "Cohocton", "Cohoes", "Cold Brook", "Cold Spring", "Cold Spring Harbor", "College Point", "Colton", "Commack", "Comstock", "Conesus", "Congers", "Conklin", "Constantia", "Cooperstown", "Copake", "Copake Falls", "Copenhagen", "Copiague", "Coram", "Corfu", "Corinth", "Corning", "Cornwall-on-Hudson", "Cornwallville", "Corona", "Cortland", "Coxsackie", "Cragsmoor", "Cranberry Lake", "Craryville", "Crompond", "Cropseyville", "Cross River", "Croton Falls", "Croton-on-Hudson", "Crown Point", "Cuba", "Cuddebackville", "Cutchogue", "Dalton", "Dansville", "Darien Center", "De Kalb Junction", "Deansboro", "Deer Park", "Delanson", "Delevan", "Delhi", "Delmar", "Denver", "Depew", "Deposit", "Derby", "Dewittville", "Dexter", "Dickinson Center", "Dobbs Ferry", "Dodgewood", "Dolgeville", "Dover Plains", "Downsville", "Dryden", "Duanesburg", "Dundee", "Dunkirk", "Durham", "Durhamville", "Eagle Bridge", "Earlville", "East Amherst", "East Aurora", "East Berne", "East Branch", "East Chatham", "East Concord", "East Durham", "East Elmhurst", "East Greenbush", "East Hampton", "East Islip", "East Marion", "East Meadow", "East Meredith", "East Moriches", "East Nassau", "East Northport", "East Norwich", "East Otto", "East Pharsalia", "East Quogue", "East Rochester", "East Rockaway", "East Setauket", "East Syracuse", "Eastchester", "Eastport", "Eden", "Edmeston", "Edwards", "Elbridge", "Eldred", "Elizaville", "Elka Park", "Ellenville", "Ellicottville", "Elma", "Elmhurst", "Elmira", "Elmont", "Elmsford", "Endicott", "Erieville", "Erin", "Esopus", "Essex", "Fabius", "Fair Haven", "Fairport", "Falconer", "Fallsburg", "Far Rockaway", "Farmingdale", "Farmington", "Farmingville", "Fayetteville", "Feura Bush", "Fillmore", "Fishers", "Fishers Island", "Fishers Landing", "Fishkill", "Fleischmanns", "Floral Park", "Florida", "Flushing", "Fonda", "Forest Hills", "Fort Ann", "Fort Covington", "Fort Drum", "Fort Edward", "Fort Johnson", "Fort Montgomery", "Fort Plain", "Frankfort", "Franklin", "Franklin Square", "Franklinville", "Fredonia", "Freedom", "Freehold", "Freeport", "Fresh Meadows", "Frewsburg", "Friendship", "Fulton", "Fultonville", "Gainesville", "Galway", "Gansevoort", "Garden City", "Gardiner", "Garnerville", "Garrison", "Gasport", "Geneseo", "Geneva", "Genoa", "Georgetown", "Germantown", "Getzville", "Ghent", "Gilboa", "Glen Cove", "Glen Head", "Glen Oaks", "Glen Spey", "Glenfield", "Glenham", "Glenmont", "Glens Falls", "Glenwood", "Glenwood Landing", "Gloversville", "Goldens Bridge", "Goshen", "Gouverneur", "Gowanda", "Grahamsville", "Grand Island", "Granite Springs", "Granville", "Great Neck", "Great River", "Great Valley", "Greene", "Greenfield Center", "Greenlawn", "Greenport", "Greenvale", "Greenville", "Greenwich", "Greenwood Lake", "Groton", "Groveland", "Guilderland", "Guilford", "Hamburg", "Hamden", "Hamilton", "Hamlin", "Hammondsport", "Hampton Bays", "Hancock", "Hannibal", "Harford", "Harpursville", "Harriman", "Harrison", "Hartsdale", "Hastings", "Hastings-on-Hudson", "Hauppauge", "Haverstraw", "Hawthorne", "Hector", "Hemlock", "Hempstead", "Henrietta", "Hensonville", "Herkimer", "Hermon", "Heuvelton", "Hewlett", "Hicksville", "High Falls", "Highland", "Highland Falls", "Highland Mills", "Hillburn", "Hillsdale", "Hilton", "Hobart", "Hogansburg", "Holbrook", "Holland", "Holland Patent", "Holley", "Hollis", "Holmes", "Holtsville", "Homer", "Honeoye", "Honeoye Falls", "Hoosick", "Hoosick Falls", "Hopewell Junction", "Hornell", "Horseheads", "Houghton", "Howard Beach", "Howells", "Howes Cave", "Hubbardsville", "Hudson", "Hudson Falls", "Huguenot", "Hume", "Hunter", "Huntington", "Huntington Station", "Hurley", "Hurleyville", "Hyde Park", "Ilion", "Indian Lake", "Inlet", "Interlaken", "Inwood", "Irvington", "Island Park", "Islandia", "Islip", "Islip Terrace", "Ithaca", "Jackson Heights", "Jamaica", "Jamesport", "Jamestown", "Jamesville", "Jasper", "Jay", "Jefferson Valley", "Jeffersonville", "Jericho", "Johnson", "Johnson City", "Johnstown", "Jordan", "Jordanville", "Katonah", "Keene Valley", "Keeseville", "Kendall", "Kennedy", "Kerhonkson", "Keuka Park", "Kew Gardens", "Kiamesha Lake", "Kinderhook", "Kings Park", "Kingston", "Kirkville", "Kirkwood", "La Fargeville", "LaFayette", "Lacona", "Lagrangeville", "Lake George", "Lake Grove", "Lake Katrine", "Lake Luzerne", "Lake Peekskill", "Lake Placid", "Lake Pleasant", "Lake View", "Lakeville", "Lakewood", "Lancaster", "Lansing", "Larchmont", "Latham", "Laurel", "Laurens", "Lawrence", "Le Roy", "Lee Center", "Leeds", "Leicester", "Levittown", "Lewis", "Lewiston", "Liberty", "Lily Dale", "Lima", "Lincolndale", "Lindenhurst", "Lindley", "Lisbon", "Lisle", "Little Falls", "Little Neck", "Little Valley", "Liverpool", "Livingston Manor", "Livonia", "Loch Sheldrake", "Locke", "Lockport", "Locust Valley", "Long Beach", "Long Island", "Long Lake", "Lowman", "Lowville", "Lynbrook", "Lyons", "Macedon", "Machias", "Madison", "Madrid", "Mahopac", "Mallory", "Malone", "Malverne", "Mamaroneck", "Manhasset", "Manlius", "Mannsville", "Manorville", "Marathon", "Marcellus", "Marcy", "Margaretville", "Marietta", "Marilla", "Marion", "Marlboro", "Martville", "Maspeth", "Massapequa", "Massapequa Park", "Massena", "Mastic", "Mastic Beach", "Mattituck", "Maybrook", "Mayfield", "Mayville", "Mechanicville", "Medford", "Medina", "Medusa", "Melrose", "Melville", "Merrick", "Mexico", "Middle Grove", "Middle Island", "Middle Village", "Middleburgh", "Middleport", "Middlesex", "Middletown", "Millbrook", "Miller Place", "Millerton", "Millport", "Millwood", "Milton", "Mineola", "Minetto", "Mineville", "Minoa", "Modena", "Mohawk", "Mohegan Lake", "Moira", "Monroe", "Monsey", "Montauk", "Montgomery", "Monticello", "Montour Falls", "Montrose", "Mooers", "Mooers Forks", "Moravia", "Moriah", "Moriches", "Morris", "Morrisonville", "Morrisville", "Mount Kisco", "Mount Morris", "Mount Sinai", "Mount Tremper", "Mount Upton", "Mount Vernon", "Mount Vision", "Mountain Dale", "Mountainville", "Munnsville", "Nanuet", "Naples", "Narrowsburg", "Nassau", "Natural Bridge", "Nedrow", "Nesconset", "Neversink", "New Berlin", "New City", "New Hampton", "New Hartford", "New Hyde Park", "New Lebanon", "New Milford", "New Paltz", "New Rochelle", "New Suffolk", "New Windsor", "New Woodstock", "New York", "New York Mills", "Newark", "Newburgh", "Newcomb", "Newfield", "Newport", "Niagara Falls", "Nichols", "Nicholville", "Norfolk", "North Babylon", "North Bangor", "North Bay", "North Chili", "North Collins", "North Creek", "North Greece", "North Java", "North Rose", "North Salem", "North Tonawanda", "Northport", "Northrup's of West Bloomfield Mobile Home Park", "Northville", "Norwich", "Norwood", "Nunda", "Nyack", "Oak Hill", "Oakdale", "Oakfield", "Oakland Gardens", "Ocean Beach", "Oceanside", "Odessa", "Ogdensburg", "Old Bethpage", "Old Chatham", "Old Forge", "Old Westbury", "Olean", "Olivebridge", "Olmstedville", "Oneida", "Oneonta", "Ontario", "Orangeburg", "Orchard Park", "Oriskany", "Oriskany Falls", "Ossining", "Oswego", "Otego", "Otisville", "Ovid", "Owego", "Oxford", "Oyster Bay", "Ozone Park", "Painted Post", "Palatine Bridge", "Palenville", "Palisades", "Palmyra", "Panama", "Parish", "Patchogue", "Patterson", "Pattersonville", "Paul Smiths", "Pavilion", "Pawling", "Pearl River", "Peconic", "Peekskill", "Pelham", "Penfield", "Penn Yan", "Pennellville", "Perry", "Peru", "Petersburg", "Phelps", "Philadelphia", "Philmont", "Phoenix", "Piermont", "Pine Bush", "Pine City", "Pine Hill", "Pine Plains", "Pine Valley", "Pitcher", "Pittsford", "Plainview", "Plattsburgh", "Pleasant Valley", "Pleasantville", "Poestenkill", "Point Lookout", "Pomona", "Pompey", "Port Byron", "Port Chester", "Port Crane", "Port Ewen", "Port Gibson", "Port Henry", "Port Jefferson", "Port Jefferson Station", "Port Jervis", "Port Washington", "Portageville", "Porter Corners", "Portland", "Portville", "Potsdam", "Pottersville", "Poughkeepsie", "Poughquag", "Pound Ridge", "Prattsburgh", "Prattsville", "Pulaski", "Purchase", "Purdys", "Purling", "Putnam Valley", "Queens Village", "Queensbury", "Quogue", "Randolph", "Ransomville", "Ravena", "Red Creek", "Red Hook", "Redwood", "Rego Park", "Remsen", "Remsenburg", "Rensselaer", "Rexford", "Rhinebeck", "Richfield Springs", "Richford", "Richmond Hill", "Richmondville", "Richville", "Ridge", "Ripley", "Riverhead", "Rochester", "Rock Hill", "Rock Tavern", "Rockaway Park", "Rockville Centre", "Rocky Point", "Rome", "Romulus", "Ronkonkoma", "Roosevelt", "Roscoe", "Rosedale", "Rosendale", "Roslyn", "Roslyn Heights", "Rotterdam Junction", "Round Top", "Rouses Point", "Roxbury", "Rush", "Rushford", "Rushville", "Rye", "Sackets Harbor", "Sag Harbor", "Sagaponack", "Saint Albans", "Saint Bonaventure", "Saint James", "Saint Johnsville", "Saint Regis Falls", "Salamanca", "Salem", "Salisbury Mills", "Salt Point", "Sanborn", "Sandy Creek", "Saranac Lake", "Saratoga Springs", "Saugerties", "Sauquoit", "Savannah", "Sayville", "Scarsdale", "Schaghticoke", "Schenectady", "Schenevus", "Schodack Landing", "Schoharie", "Schroon Lake", "Schuylerville", "Scio", "Scotia", "Scottsville", "Sea Cliff", "Seaford", "Selden", "Selkirk", "Seneca Falls", "Shandaken", "Shelter Island", "Shelter Island Heights", "Shenorock", "Sherburne", "Sheridan", "Sherman", "Sherrill", "Shirley", "Shokan", "Shoreham", "Shortsville", "Shrub Oak", "Sidney", "Sidney Center", "Silver Creek", "Silver Springs", "Sinclairville", "Skaneateles", "Skaneateles Falls", "Slate Hill", "Slaterville Springs", "Slingerlands", "Sloansville", "Sloatsburg", "Smallwood", "Smartville", "Smithtown", "Smithville Flats", "Smyrna", "Sodus", "Somers", "Sound Beach", "South Bethlehem", "South Butler", "South Dayton", "South Fallsburg", "South Glens Falls", "South Jamesport", "South Kortright", "South New Berlin", "South Otselic", "South Ozone Park", "South Plymouth", "South Salem", "Southampton", "Southfields", "Southold", "Sparkill", "Sparrow Bush", "Speculator", "Spencer", "Spencerport", "Spencertown", "Sprakers", "Spring Valley", "Springfield Gardens", "Springville", "Springwater", "Staatsburg", "Stamford", "Stanfordville", "Stanley", "Star Lake", "Staten Island", "Stephentown", "Sterling Forest", "Stillwater", "Stone Ridge", "Stony Brook", "Stony Creek", "Stony Point", "Stormville", "Strykersville", "Stuyvesant", "Stuyvesant Falls", "Suffern", "Sugar Loaf", "Sunnyside", "Sylvan Beach", "Syosset", "Syracuse", "Taberg", "Tappan", "Tarrytown", "The Bronx", "Thiells", "Thornwood", "Ticonderoga", "Tillson", "Tomkins Cove", "Tonawanda", "Treadwell", "Troy", "Trumansburg", "Truxton", "Tuckahoe", "Tully", "Tupper Lake", "Tuxedo Park", "Ulster Park", "Unadilla", "Union Springs", "Uniondale", "Unionville", "Upton", "Utica", "Vails Gate", "Valatie", "Valhalla", "Valley Cottage", "Valley Stream", "Van Etten", "Varysburg", "Verbank", "Vernon", "Vernon Center", "Verona", "Verona Beach", "Verplanck", "Vestal", "Victor", "Victory Mills", "Voorheesville", "Waccabuc", "Wading River", "Walden", "Wallkill", "Walton", "Walworth", "Wanakena", "Wantagh", "Wappingers Falls", "Warners", "Warrensburg", "Warsaw", "Warwick", "Washingtonville", "Wassaic", "Water Mill", "Waterford", "Waterloo", "Waterport", "Watertown", "Waterville", "Watervliet", "Watkins Glen", "Waverly", "Wayland", "Webster", "Weedsport", "Wells", "Wellsburg", "Wellsville", "West Babylon", "West Bloomfield", "West Chazy", "West Cornwall", "West Coxsackie", "West Edmeston", "West Falls", "West Haverstraw", "West Hempstead", "West Henrietta", "West Hurley", "West Islip", "West Leyden", "West Monroe", "West Nyack", "West Point", "West Sand Lake", "West Sayville", "West Somerset", "West Valley", "West Winfield", "Westbrookville", "Westbury", "Westerlo", "Westfield", "Westhampton", "Westhampton Beach", "Westons Mills", "Westport", "Westtown", "White Plains", "Whitehall", "Whitesboro", "Whitestone", "Whitesville", "Whitney Point", "Willet", "Williamson", "Williamstown", "Williston Park", "Willsboro", "Willseyville", "Wilmington", "Wilson", "Windsor", "Wingdale", "Winthrop", "Wolcott", "Woodbourne", "Woodbury", "Woodhaven", "Woodhull", "Woodmere", "Woodridge", "Woodside", "Woodstock", "Worcester", "Wurtsboro", "Wyandanch", "Wynantskill", "Wyoming", "Yaphank", "Yonkers", "York", "Yorktown Heights", "Youngstown", "Youngsville", "Yulan"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant