GithubHelp home page GithubHelp logo

campustimes / census-communities-usa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dssg/census-communities-usa

0.0 2.0 0.0 3.67 MB

Mapping and analyzing local business data from the Census Bureau.

census-communities-usa's Introduction

census-communities-usa

Mapping and analyzing local business data from the Census Bureau

This the repo for the API that exposes LODES via a JSON api.

The JSON API is served via a flask app. A copy is currently living on heroku. The database is MongoDB. The API and its contents live in /web.

You can see an example of each item in the collection in /data_notes/example_data.json. The data notes folder contains info on the dataset.

The scrapers are live in /scrapers.

Each datapoint represents a census block.

We would like to build an API that allows you to query the census data without having to download entire CSVs.

Installation/Requirements

In order to setup the Census API, you must have a installed copy of mongoDB (Version 2.4 or greater) and at least 200 gb of free space.

By setting the environment variable MONGO_HOST, you can specify which database scrapers/fetch_and_load.py will load into. If this is unset, it will automatically use localhost. You can chose a particular state by calling the program along with a command line argument of a state abbreviation. If no command line argument is supplied, it loads the entire dataset.

census-communities-usa's People

Contributors

hunterowens avatar gmisshula avatar matthewgee avatar

Watchers

James Cloos avatar IN avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.