Code Monkey home page Code Monkey logo

local-child-allowance's Introduction

ubi-center

Generates data for UBI Center's Plan Explorer tool and visualizations.

Installation

Install with:

pip install git+git://github.com/UBICenter/ubi-center.git

Questions

Contact the maintainer, Max Ghenis ([email protected]).

Citation

You may cite the source of your analysis as "ubicenter release #.#.#, author's calculations."

local-child-allowance's People

Contributors

ben-boehlert avatar maxghenis avatar nmrodelo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

local-child-allowance's Issues

Add mapping from PUMA to Senate and Assembly district

Add three raw files:

  • data/raw/[shapefiles for puma, assembly, and senate]

And two files for processing:

  • py/make_puma_mapping.py: Python script
  • data/puma_mapping.csv: File with puma, assembly_district, senate_district, produced from make_puma_mapping.py

For California for now since others require separate assembly and senate files.

Create block-level dataset to underlie analyses

Since state legislative districts are built from Census blocks, we should build a dataset at the block level that we can then aggregate as needed. It should have these columns:

  • Block
  • Block group
  • Tract
  • Upper state legislative district
  • Lower state legislative district
  • PUMA
  • State
  • Population*

* Population can probably be mapped from the 2010 Census, which has block group level population; this can then be allocated equally across blocks in a block group.

Unknown strings in mapping file district columns

Somehow the centroid match is generating errors for some of the districts, and providing text instead of a number. It is not immediately clear how this is happening, but it may simply be the result of the PUMA with centroid off the coast.

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.