Git Product home page Git Product logo

bill-nicknames's Introduction

Purpose

A CSV file that maps bill codes to popular nicknames and keywords.

If you run a service that allows people to search for bills, this would be a great dataset to integrate into your search.

Design

This dataset is designed to be responsive to user searches, so it's not always a literal match between a bill and its keyword. If someone searches for "SOPA", this should match on both SOPA and PIPA, because many people don't know the difference, and the two are often confused or referred to as a single entity.

Similarly, "Obamacare" should match on both the Patient Protection and Affordable Care Act and the associated Health Care and Education Reconciliation Act, which were passed as a package deal and both collectively define what people think of as "Obamacare".

One possible way to have both precision and flexibility would be to add another column that has a relationship flag, to distinguish between terms that refer to a bill exactly, or terms that are less directly related. Open an issue if you want to talk about that.

How it works

The CSV has 5 columns.

bill_type - The bill's type. One of:

  • "hr" - Bills originating in the House (often seen as "H.R.")
  • "hres" - Resolutions originating in the House (often seen as "H.Res")
  • "hjres" - Joint resolutions originating in the House (often seen as "H.J.Res")
  • "hconres" - Concurrent resolutions originating in the House (often seen as "H.Con.Res")
  • "s" - Bills originating in the Senate (often seen as "S.")
  • "sres" - Resolutions originating in the Senate (often seen as "S.Res")
  • "sjres" - Joint resolutions originating in the Senate (often seen as "S.J.Res")
  • "sconres" - Concurrent resolutions originating in the Senate (often seen as "S.Con.Res")

bill_number - The bill's number. (e.g. for "H.R. 3590", this would be "3590")

congress - The number of the Congress this bill was introduced in. (e.g. for the 111th Congress, this would be "111")

term - The term or phrase that should be associated with this bill. All lower case.

comment - Any comment to describe why this bill should be linked to this keyword.

Contributing

If you want to add entries, fork it, add away, and send a pull request. I'm inclined to take an inclusive approach, since false positives don't seem as bad as simply missing out on finding the bill someone was searching for altogether!

Public domain

This project is dedicated to the public domain. As spelled out in CONTRIBUTING:

The project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

However, if you split this off somewhere else and add your own expertise to it, our request is you keep it public. Most ideally, keep it within Github, so that your additions can easily be seen and retrieved.

bill-nicknames's People

Contributors

akmassey avatar irosenb avatar jcarbaugh avatar konklone avatar twneale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bill-nicknames's Issues

Harvest names from Wikipedia

There are a number of fields in the Wikipedia template for US legislation that hopefully make harvesting this material possible (if anyone knows how to pull bulk data from Wikipedia):
https://en.wikipedia.org/wiki/Template:Infobox_U.S._legislation

Fields that looked helpful:
nickname
Other short titles
acronym

Fields to match bill data with Wikipedia:
introducedin
introducedbill
introducedby
introduceddate

A lot of bills never get nicknames, but here are some recent examples:
https://en.wikipedia.org/wiki/Agricultural_Act_of_2014
https://en.wikipedia.org/wiki/Border_Security,_Economic_Opportunity,_and_Immigration_Modernization_Act_of_2013
https://en.wikipedia.org/wiki/Consolidated_Appropriations_Act,_2014

Create tool to easily submit bill nicknames

Using the GitHub API, we can pretty easily automate pull requests that add well-formatted lines to this CSV.

This would make it easier for people to contribute to the repo and help reduce the headaches of editing pull requests to conform to the csv schema. Probably a job for code in a different repo, but I'm going to open this issue in case people have thoughts.

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.