File tree Expand file tree Collapse file tree 1 file changed +41
-36
lines changed
Expand file tree Collapse file tree 1 file changed +41
-36
lines changed Original file line number Diff line number Diff line change @@ -12,46 +12,51 @@ attributes:
1212 url : https://www1.nyc.gov/site/planning/data-maps/open-data.page#housingdevelopment
1313
1414ingestion :
15- target_crs : EPSG:4326
1615 source :
17- type : edm.publishing.gis
18- name : dcp_inclusionary_housing
16+ type : file_download
17+ url : >-
18+ https://s-media.nyc.gov/agencies/dcp/assets/files/zip/data-tools/bytes/mandatory-inclusionary-housing/nycmih_{{ version }}.zip
19+ target_crs : EPSG:4326
1920 file_format :
2021 type : shapefile
2122 crs : EPSG:2263
2223 processing_steps :
23- - name : clean_column_names
24- args : { "replace": { " ": "_" }, "lower": True }
25- - name : rename_columns
26- args :
27- map : { "geom": "wkb_geometry" }
28- - name : coerce_column_types
29- args :
30- column_types : { "dateadopte": "date" }
31- - name : multi
24+ - name : clean_column_names
25+ args : { "replace": { " ": "_" }, "lower": True }
26+ - name : rename_columns
27+ args :
28+ map :
29+ {
30+ " geom " : " wkb_geometry" ,
31+ " projectnam " : " project_name" ,
32+ " dateadopte " : " date_adopted" ,
33+ " zr_ulurpno " : " zr_ulurp_no" ,
34+ }
3235
3336columns :
34- - id : boro
35- data_type : text
36- - id : status
37- data_type : text
38- - id : projectnam
39- data_type : text
40- - id : dateadopte
41- data_type : date
42- - id : zr_map
43- data_type : text
44- - id : leadaction
45- data_type : text
46- - id : cd
47- data_type : text
48- - id : shape_star
49- data_type : decimal
50- - id : shape_stle
51- data_type : decimal
52- - id : shape_leng
53- data_type : decimal
54- - id : shape_area
55- data_type : decimal
56- - id : wkb_geometry
57- data_type : geometry
37+ - id : boro
38+ data_type : text
39+ - id : status
40+ data_type : text
41+ - id : project_name
42+ data_type : text
43+ - id : date_adopted
44+ data_type : date
45+ - id : zr_ulurp_no
46+ data_type : text
47+ - id : zr_map
48+ data_type : text
49+ - id : cd
50+ data_type : text
51+ - id : mih_option
52+ data_type : text
53+ - id : project_id
54+ data_type : text
55+ - id : zoning_map
56+ data_type : text
57+ - id : shape_leng
58+ data_type : decimal
59+ - id : shape_area
60+ data_type : decimal
61+ - id : wkb_geometry
62+ data_type : geometry
You can’t perform that action at this time.
0 commit comments