This site is in beta! Please give us feedback or or contribute!

Looking for the old site? It is up at brigadehub.codeforsanfrancisco.org

sf-openreferral-datalib

« back to Projects

sf-openreferral-datalib

https://github.com/sfbrigade/sf-openreferral-datalib

SF Open Referral Source Data Library

NOTE: This repo is no longer under development or being maintained. Information is for reference purposes only.

##Installation

From the root of the repository, run the following:

pip install virtualenv
virtualenv venv
source venv/bin/activate
python setup.py develop
pip install -r requirements.txt

##Usage

A sforparser script is provided for parsing data in a given format into JSON matching the Open Referral spec.

###Examples

  • sforparser -f apd data/apd/input.txt > data/apd/output.json

##Development

You can run tests with:

py.test