Skip to content

Commit 2eaf13b

Browse files
authored
Merge pull request #94 from lavingiasa/lavingiasa-cc
Updating the datasets and the boundaries to remove the old city council district lines
2 parents 44237b5 + 02045b7 commit 2eaf13b

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

script/datasets.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,8 @@
4343
},
4444
{
4545
"id": "cc_upcoming",
46-
"datasetName": "City Council Districts - Upcoming 2024",
47-
"url": "https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/nycc_22c1.zip",
48-
"nameCol": "CounDist",
49-
"nameAlt": null
50-
},
51-
{
52-
"id": "cc",
5346
"datasetName": "City Council Districts",
54-
"url": "https://www.nyc.gov/assets/planning/download/zip/data-maps/open-data/nycc_21a.zip",
47+
"url": "https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/nycc_22c1.zip",
5548
"nameCol": "CounDist",
5649
"nameAlt": null
5750
},

src/assets/boundaries/index.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,9 @@ export const layers: ILayers = {
116116
icon: '🩺',
117117
formatContent: name => format_default(name)
118118
},
119-
cc: {
120-
name: 'City Council Districts (Prior to 2024)',
121-
name_plural: 'City Council Districts (Prior to 2024)',
122-
description: 'The New York City Council lines prior to 2024.',
123-
description_url: 'https://council.nyc.gov/',
124-
sql: `SELECT * FROM all_bounds WHERE id = 'cc'`,
125-
icon: '🗽',
126-
formatUrl: name => `https://council.nyc.gov/district-${name}`,
127-
formatContent: name => format_default(name)
128-
},
129119
cc_upcoming: {
130-
name: 'City Council Districts (Current)',
131-
name_plural: 'City Council Districts (Current)',
120+
name: 'City Council Districts',
121+
name_plural: 'City Council Districts',
132122
description:
133123
'The New York City Council is the lawmaking body of New York City. It has 51 members from 51 council districts throughout the five boroughs. The district lines have been updated in 2024.',
134124
description_url: 'https://council.nyc.gov/',

0 commit comments

Comments
 (0)