National Preventative Mechanism

    socrata-stream

    1.0.1 • Public • Published

    socrata-stream

    Travis

    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'

    Install

    npm i socrata-stream

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • karissa