Skip to content

Commit f60538e

Browse files
committed
add hpd_hny_units_by_building ingest template
1 parent 97ddf50 commit f60538e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

dcpy/library/templates/hpd_hny_units_by_building.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# migrated to ingest
12
dataset:
23
name: hpd_hny_units_by_building
34
acl: public-read
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
id: hpd_hny_units_by_building
2+
acl: public-read
3+
4+
attributes:
5+
name: Housing New York Units by Building
6+
description: |
7+
The Department of Housing Preservation and Development (HPD) reports on buildings, units,
8+
and projects that began after January 1, 2014 and are counted towards the Housing New York plan.
9+
The Housing New York Units by Project file presents this data by project, and includes project-level data,
10+
such as senior units, but does not include building-level data.
11+
The unit counts are provided for each project, rather than by building.
12+
For additional documentation, including a data dictionary, review the attachments in the
13+
“About this Dataset” section of the Primer landing page.
14+
url: https://data.cityofnewyork.us/d/hg8x-zxpr
15+
16+
ingestion:
17+
source:
18+
type: socrata
19+
org: nyc
20+
uid: hg8x-zxpr
21+
format: csv
22+
file_format:
23+
type: csv
24+
dtype: str
25+
processing_steps:
26+
- name: clean_column_names
27+
args: { "replace": { " ": "_" }, "strip": True, "lower": True }

0 commit comments

Comments
 (0)