NYC Space/Time Directory ETL module: Building Inspector
ETL module for NYPL’s NYC Space/Time Direcory. This Node.js module downloads, parses, and/or transforms Building Inspector data, and creates a NYC Space/Time Directory dataset.
Data
The dataset created by this ETL module’s transform
step can be found in the data section of the NYC Space/Time Directory website.
Details
ID | building-inspector |
Title | Building Inspector |
Description | Data from the Building Inspector API; contains placenames, address numbers and building footprints obtained from 19th century fire insurance atlases included in the Atlases of New York City Collection at The New York Public Library. |
License | CC0 |
Contributors |
|
Sources | |
Homepage | http://buildinginspector.nypl.org/ |
JSON Schema of Object data:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
"type": "object",
"description": "Building",
"additionalProperties": false,
"required": [
"sheetId",
"layerId",
"mapId"
],
"properties": {
"sheetId": {
"type": "integer",
"description": "Building Inspector map sheet ID"
},
"layerId": {
"type": "integer",
"description": "Map Warper layer ID"
},
"mapId": {
"type": "integer",
"description": "Map Warper map ID"
},
"colors": {
"type": "array",
"description": "Crowdsourced color of building",
"minItems": 1,
"items": {
"type": "string"
}
},
"borough": {
"type": "string",
"description": "NYC borough of map layer"
}
}
},
{
"type": "object",
"description": "Address",
"additionalProperties": false,
"required": [
"number",
"sheetId",
"layerId",
"mapId"
],
"properties": {
"number": {
"type": "string",
"description": "House number of address, transcribed from map"
},
"sheetId": {
"type": "integer",
"description": "Building Inspector map sheet ID"
},
"layerId": {
"type": "integer",
"description": "Map Warper layer ID"
},
"mapId": {
"type": "integer",
"description": "Map Warper map ID"
},
"borough": {
"type": "string",
"description": "NYC borough of map layer"
}
}
}
]
}
Available steps
download
transform
Usage
git clone https://github.com/nypl-spacetime/etl-building-inspector.git /path/to/etl-modules
cd /path/to/etl-modules/etl-building-inspector
npm install
spacetime-etl building-inspector[.<step>]
See http://github.com/nypl-spacetime/spacetime-etl for information about Space/Time's ETL tool. More Space/Time ETL modules can be found on GitHub.
This README file is generated by generate-etl-readme.