Skip to content

Commit 6912719

Browse files
committed
add dycd_service_sites ingest template
1 parent a66baea commit 6912719

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-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: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
{
29+
"y_coordinate": "string",
30+
"x_coordinate": "string",
31+
"latitude": "string",
32+
"longitude": "string",
33+
"bin": "string",
34+
"census_tract_2010": "string",
35+
"bbl": "string",
36+
"postcode": "string",
37+
"totalslots": "string",
38+
"totalparticipants": "string",
39+
"fiscalyear": "string"
40+
}

0 commit comments

Comments
 (0)