Skip to content

Commit b537db5

Browse files
committed
add dycd_service_sites ingest template
1 parent b934335 commit b537db5

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

dcpy/library/templates/dycd_service_sites.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: dycd_service_sites
34
acl: public-read
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
id: dycd_service_sites
2+
acl: public-read
3+
4+
attributes:
5+
name: DYCD DYCD Program Sites
6+
description: |
7+
This dataset provides a breakdown of all the Service Categories that are provided and funded by DYCD.
8+
9+
For each Service Category, the datasets list their DYCD business unit (Program Area), sub-divisions (Program Types), the DYCD-funded organization (Provider) that provide their respective services, and the Program Sites where these services are available.
10+
11+
Each row is a Program Site for each fiscal year.
12+
url: https://data.cityofnewyork.us/d/ebkm-iyma
13+
14+
ingestion:
15+
source:
16+
type: socrata
17+
org: nyc
18+
uid: ebkm-iyma
19+
format: csv
20+
file_format:
21+
type: csv
22+
processing_steps:
23+
- name: clean_column_names
24+
args: { "replace": { " ": "_" }, "strip": True, "lower": True }
25+
- name: coerce_column_types
26+
args:
27+
column_types:
28+
y_coordinate: numeric
29+
x_coordinate: numeric
30+
latitude: numeric
31+
longitude: numeric
32+
bin: numeric
33+
census_tract_2010: numeric
34+
bbl: numeric
35+
postcode: numeric
36+
totalslots: numeric
37+
totalparticipants: numeric
38+
fiscalyear: integer

0 commit comments

Comments
 (0)