Skip to main content

Python client for parsing SCOTUS data from multiple sources.

Project description

Usage

pip install -e git@github.com:newsdev/nyt-clerk.git#egg=clerk
python -m clerk.scdb
python -m clerk.scotus
python -m clerk.scores

Data

  • clerk/data/scdb_cases.json: SCDB fields about decided merits cases, excluding the justice and vote details.

  • clerk/data/scdb_justices.json: SCDB fields about individual justices.

  • clerk/data/scdb_votes.json: SCDB fields about a single justice’s vote in a single case.

  • clerk/data/scotus_cases.json: Case data from the SupremeCourt.gov site, including transcripts and audio where available.

  • clerk/data/scores_courtterms.json: Data about the ideology of a given Court term.

  • clerk/data/scores_justices.json: Data about the ideology and qualifications of a given Justice before they were confirmed.

  • clerk/data/scores_justicetterms.json: Data about the ideology of an individual Justice in a given Court term.

SCDB Data

SCDB data includes cases from 1946 term to the 2014 term. Many fields need to be mapped to their full values. The SCDB maintains an online codebook with these maps.

SCOTUS Data

The SupremeCourt.gov site has case data from the 2000 term until the present for some cases. * Argument transcripts: 2000-present * Slip opinions (decision PDFs): 2006-present * Oral argument audio: 2010-present

Ideology / Qualification Scores

Martin-Quinn scores measure the relative ideology of a Justice or a Supreme Court term to the median Justice. Andrew Martin and Kevin Quinn wrote an excellent paper about the method.

Segal-Cover scores measure the ideology and qualification of an individual Justice before their appointment to the Court. Jeffrey Segal wrote a summary and shows the raw data as a table (warning: PDF).

Todos

  • Build inflator for turning JSON into Python objects.

  • Think a bit more about the developer API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyt-clerk-0.0.13.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file nyt-clerk-0.0.13.tar.gz.

File metadata

  • Download URL: nyt-clerk-0.0.13.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nyt-clerk-0.0.13.tar.gz
Algorithm Hash digest
SHA256 5cd153c5fc6f6c1e0619a9ee4a2220c2b5ccb119295e021c3df4770ed519b64f
MD5 90f7130f12019f0dc6ee55c4cdec136a
BLAKE2b-256 f7747cdc2533297e7df8f7cc42551e8ac269e23bc1b0e495790d4bc5ae6cb59f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page