Coder Social home page Coder Social logo

census-tools's Introduction

census-tools

These tools help make it easy to extract data from the online zip file of the 2000 U.S. Census without having to download them first. You can choose from a number of different summary levels like state, county, tract, and block, filter by geographic bounds, select the specific topics you're interested in, and convert everything to simple tables or GeoJSON data.

census2text.py

Usage: census2text.py [options] [list of table IDs]
Help: census2text.py --help

Convert remote U.S. Census 2000 data to local tab-separated text files.

Examples:

Housing basics for counties in Rhode Island.

census2text.py --state 'Rhode Island' H1 H3 H4

Age breakdowns for census tracts around Oakland, CA.

census2text.py --state California --bbox 37.86 -122.35 37.70 -122.10 --geography tract P12

Family type and employment state for counties around New England.

census2text.py --file SF3 --bbox 47.7 -80.7 38.4 -66.4 P44

Complete documentation of Summary File data is dense but helpful:

See Chapter 7, page 228 for explanation of column names in output.

Other summary files have similar docs:

Available summary files: SF1, SF3.

Available table IDs for each summary file:

Available summary levels: county, state, block, tract.

See also numeric summary levels in:

text2geojson.py

Accepts text format from census2text.py, and converts it to useful GeoJSON (http://geojson.org).

census-tools's People

Contributors

migurski avatar

Watchers

James Cloos 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.