-
Notifications
You must be signed in to change notification settings - Fork 0
/
nta_lists.py
19 lines (16 loc) · 8.95 KB
/
nta_lists.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
boro_lists = {
'all_ntas': ['Allerton-Pelham Gardens', "Annadale-Huguenot-Prince's Bay-Eltingville", 'Arden Heights', 'Astoria', 'Auburndale', 'Baisley Park', 'Bath Beach', 'Battery Park City-Lower Manhattan', 'Bay Ridge', 'Bayside-Bayside Hills', 'Bedford', 'Bedford Park-Fordham North', 'Bellerose', 'Belmont', 'Bensonhurst East', 'Bensonhurst West', 'Borough Park', 'Briarwood-Jamaica Hills', 'Brighton Beach', 'Bronxdale', 'Brooklyn Heights-Cobble Hill', 'Brownsville', 'Bushwick North', 'Bushwick South', 'Cambria Heights', 'Canarsie', 'Carroll Gardens-Columbia Street-Red Hook', 'Central Harlem North-Polo Grounds', 'Central Harlem South', 'Charleston-Richmond Valley-Tottenville', 'Chinatown', 'Claremont-Bathgate', 'Clinton', 'Clinton Hill', 'Co-op City', 'College Point', 'Corona', 'Crotona Park East', 'Crown Heights North', 'Crown Heights South', 'Cypress Hills-City Line', 'DUMBO-Vinegar Hill-Downtown Brooklyn-Boerum Hill', 'Douglas Manor-Douglaston-Little Neck', 'Dyker Heights', 'East Concourse-Concourse Village', 'East Elmhurst', 'East Flatbush-Farragut', 'East Flushing', 'East Harlem North', 'East Harlem South', 'East New York', 'East New York (Pennsylvania Ave)', 'East Tremont', 'East Village', 'East Williamsburg', 'Eastchester-Edenwald-Baychester', 'Elmhurst', 'Elmhurst-Maspeth', 'Erasmus', 'Far Rockaway-Bayswater', 'Flatbush', 'Flatlands', 'Flushing', 'Fordham South', 'Forest Hills', 'Fort Greene', 'Fresh Meadows-Utopia', 'Ft. Totten-Bay Terrace-Clearview', 'Georgetown-Marine Park-Bergen Beach-Mill Basin', 'Glen Oaks-Floral Park-New Hyde Park', 'Glendale', 'Gramercy', 'Grasmere-Arrochar-Ft. Wadsworth', 'Gravesend', 'Great Kills', 'Greenpoint', 'Grymes Hill-Clifton-Fox Hills', 'Hamilton Heights', 'Hammels-Arverne-Edgemere', 'Highbridge', 'Hollis', 'Homecrest', 'Hudson Yards-Chelsea-Flatiron-Union Square', 'Hunters Point-Sunnyside-West Maspeth', 'Hunts Point', 'Jackson Heights', 'Jamaica', 'Jamaica Estates-Holliswood', 'Kensington-Ocean Parkway', 'Kew Gardens', 'Kew Gardens Hills', 'Kingsbridge Heights', 'Laurelton', 'Lenox Hill-Roosevelt Island', 'Lincoln Square', 'Lindenwood-Howard Beach', 'Longwood', 'Lower East Side', 'Madison', 'Manhattanville', 'Marble Hill-Inwood', "Mariner's Harbor-Arlington-Port Ivory-Graniteville", 'Maspeth', 'Melrose South-Mott Haven North', 'Middle Village', 'Midtown-Midtown South', 'Midwood', 'Morningside Heights', 'Morrisania-Melrose', 'Mott Haven-Port Morris', 'Mount Hope', 'Murray Hill', 'Murray Hill-Kips Bay', 'New Brighton-Silver Lake', 'New Dorp-Midland Beach', 'New Springville-Bloomfield-Travis', 'North Corona', 'North Riverdale-Fieldston-Riverdale', 'North Side-South Side', 'Norwood', 'Oakland Gardens', 'Oakwood-Oakwood Beach', 'Ocean Hill', 'Ocean Parkway South', 'Old Astoria', 'Old Town-Dongan Hills-South Beach', 'Ozone Park', 'Park Slope-Gowanus', 'Parkchester', 'Pelham Bay-Country Club-City Island', 'Pelham Parkway', 'Pomonok-Flushing Heights-Hillcrest', 'Port Richmond', 'Prospect Heights', 'Prospect Lefferts Gardens-Wingate', 'Queens Village', 'Queensboro Hill', 'Queensbridge-Ravenswood-Long Island City', 'Rego Park', 'Richmond Hill', 'Ridgewood', 'Rosedale', 'Rossville-Woodrow', 'Rugby-Remsen Village', 'Schuylerville-Throgs Neck-Edgewater Park', 'Seagate-Coney Island', 'Sheepshead Bay-Gerritsen Beach-Manhattan Beach', 'SoHo-TriBeCa-Civic Center-Little Italy', 'Soundview-Bruckner', 'Soundview-Castle Hill-Clason Point-Harding Park', 'South Jamaica', 'South Ozone Park', 'Springfield Gardens North', 'Springfield Gardens South-Brookville', 'Spuyten Duyvil-Kingsbridge', 'St. Albans', 'Stapleton-Rosebank', 'Starrett City', 'Steinway', 'Stuyvesant Heights', 'Stuyvesant Town-Cooper Village', 'Sunset Park East', 'Sunset Park West', 'Turtle Bay-East Midtown', 'University Heights-Morris Heights', 'Upper East Side-Carnegie Hill', 'Upper West Side', 'Van Cortlandt Village', 'Van Nest-Morris Park-Westchester Square', 'Washington Heights North', 'Washington Heights South', 'West Brighton', 'West Concourse', 'West Farms-Bronx River', 'West New Brighton-New Brighton-St. George', 'West Village', 'Westchester-Unionport', 'Westerleigh', 'Whitestone', 'Williamsbridge-Olinville', 'Williamsburg', 'Windsor Terrace', 'Woodhaven', 'Woodlawn-Wakefield', 'Woodside', 'Yorkville'],
'manhattan':['Battery Park City-Lower Manhattan', 'Central Harlem North-Polo Grounds', 'Central Harlem South', 'Chinatown', 'Clinton', 'East Harlem North', 'East Harlem South', 'East Village', 'Gramercy', 'Hamilton Heights', 'Hudson Yards-Chelsea-Flatiron-Union Square', 'Lenox Hill-Roosevelt Island', 'Lincoln Square', 'Lower East Side', 'Manhattanville', 'Marble Hill-Inwood', 'Midtown-Midtown South', 'Morningside Heights', 'Murray Hill-Kips Bay', 'SoHo-TriBeCa-Civic Center-Little Italy', 'Stuyvesant Town-Cooper Village', 'Turtle Bay-East Midtown', 'Upper East Side-Carnegie Hill', 'Upper West Side', 'Washington Heights North', 'Washington Heights South', 'West Village', 'Yorkville'],
'brooklyn': ['Bath Beach', 'Bay Ridge', 'Bedford', 'Bensonhurst East', 'Bensonhurst West', 'Borough Park', 'Brighton Beach', 'Brooklyn Heights-Cobble Hill', 'Brownsville', 'Bushwick North', 'Bushwick South', 'Canarsie', 'Carroll Gardens-Columbia Street-Red Hook', 'Clinton Hill', 'Crown Heights North', 'Crown Heights South', 'Cypress Hills-City Line', 'DUMBO-Vinegar Hill-Downtown Brooklyn-Boerum Hill', 'Dyker Heights', 'East Flatbush-Farragut', 'East New York', 'East New York (Pennsylvania Ave)', 'East Williamsburg', 'Erasmus', 'Flatbush', 'Flatlands', 'Fort Greene', 'Georgetown-Marine Park-Bergen Beach-Mill Basin', 'Gravesend', 'Greenpoint', 'Homecrest', 'Kensington-Ocean Parkway', 'Madison', 'Midwood', 'North Side-South Side', 'Ocean Hill', 'Ocean Parkway South', 'Ozone Park', 'Park Slope-Gowanus', 'Prospect Heights', 'Prospect Lefferts Gardens-Wingate', 'Rugby-Remsen Village', 'Seagate-Coney Island', 'Sheepshead Bay-Gerritsen Beach-Manhattan Beach', 'Starrett City', 'Stuyvesant Heights', 'Sunset Park East', 'Sunset Park West', 'West Brighton', 'Williamsburg', 'Windsor Terrace', 'Woodhaven'],
'bronx': ['Allerton-Pelham Gardens', 'Bedford Park-Fordham North', 'Belmont', 'Bronxdale', 'Claremont-Bathgate', 'Co-op City', 'Crotona Park East', 'East Concourse-Concourse Village', 'East Tremont', 'Eastchester-Edenwald-Baychester', 'Fordham South', 'Highbridge', 'Hunts Point', 'Kingsbridge Heights', 'Longwood', 'Marble Hill-Inwood', 'Melrose South-Mott Haven North', 'Morrisania-Melrose', 'Mott Haven-Port Morris', 'Mount Hope', 'North Riverdale-Fieldston-Riverdale', 'Norwood', 'Parkchester', 'Pelham Bay-Country Club-City Island', 'Pelham Parkway', 'Schuylerville-Throgs Neck-Edgewater Park', 'Soundview-Bruckner', 'Soundview-Castle Hill-Clason Point-Harding Park', 'Spuyten Duyvil-Kingsbridge', 'University Heights-Morris Heights', 'Van Cortlandt Village', 'Van Nest-Morris Park-Westchester Square', 'West Concourse', 'West Farms-Bronx River', 'Westchester-Unionport', 'Williamsbridge-Olinville', 'Woodlawn-Wakefield'],
'queens': ['Astoria', 'Auburndale', 'Baisley Park', 'Bayside-Bayside Hills', 'Bellerose', 'Briarwood-Jamaica Hills', 'Bushwick North', 'Cambria Heights', 'College Point', 'Corona', 'Cypress Hills-City Line', 'Douglas Manor-Douglaston-Little Neck', 'East Elmhurst', 'East Flushing', 'East New York', 'Elmhurst', 'Elmhurst-Maspeth', 'Far Rockaway-Bayswater', 'Flushing', 'Forest Hills', 'Fresh Meadows-Utopia', 'Ft. Totten-Bay Terrace-Clearview', 'Georgetown-Marine Park-Bergen Beach-Mill Basin', 'Glen Oaks-Floral Park-New Hyde Park', 'Glendale', 'Hammels-Arverne-Edgemere', 'Hollis', 'Hunters Point-Sunnyside-West Maspeth', 'Jackson Heights', 'Jamaica', 'Jamaica Estates-Holliswood', 'Kew Gardens', 'Kew Gardens Hills', 'Laurelton', 'Lindenwood-Howard Beach', 'Maspeth', 'Middle Village', 'Murray Hill', 'North Corona', 'Oakland Gardens', 'Old Astoria', 'Ozone Park', 'Pomonok-Flushing Heights-Hillcrest', 'Queens Village', 'Queensboro Hill', 'Queensbridge-Ravenswood-Long Island City', 'Rego Park', 'Richmond Hill', 'Ridgewood', 'Rosedale', 'South Jamaica', 'South Ozone Park', 'Springfield Gardens North', 'Springfield Gardens South-Brookville', 'St. Albans', 'Steinway', 'Whitestone', 'Woodhaven', 'Woodside'],
'staten_island': ["Annadale-Huguenot-Prince's Bay-Eltingville", 'Arden Heights', 'Charleston-Richmond Valley-Tottenville', 'Grasmere-Arrochar-Ft. Wadsworth', 'Great Kills', 'Grymes Hill-Clifton-Fox Hills', "Mariner's Harbor-Arlington-Port Ivory-Graniteville", 'New Brighton-Silver Lake', 'New Dorp-Midland Beach', 'New Springville-Bloomfield-Travis', 'Oakwood-Oakwood Beach', 'Old Town-Dongan Hills-South Beach', 'Port Richmond', 'Rossville-Woodrow', 'Stapleton-Rosebank', 'West New Brighton-New Brighton-St. George', 'Westerleigh']
}
#'Breezy Point-Belle Harbor-Rockaway Park-Broad Chan' removed from all_ntas and queens because of error
#'Todt Hill-Emerson Hill-Heartland Village-Lighthous' removed from all_ntas and staten island because of error
# How I combined lists into all_ntas:
# n = []
# for index, row in df.iterrows():
# if row['boroname'] == 'Staten Island':
# n.append(row['nta_name'])
# n = list(dict.fromkeys(n))