socrata-stream
v1.0.1
Published
Get bulk socrata data as a node stream.
Downloads
12
Readme
socrata-stream
A node API to download raw data from Socrata.
npm install socrata-stream
Usage
Go to a socrata page and copy the URL in the browser. For example, NYC Civic Service Titles.
This module will parse the url to get the correct key nzjr-3966
to construct the API call for downloading bulk data.
API
var stream = socrata(url, [options])
Returns a stream of data from socrata.
Options
format
: can be one of 'csv' (default), 'tsv', 'rdf', 'rss', 'xml'