Skip to content
What the Package Does (One Line, Title Case)
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data-raw
data
man
.DS_Store
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
README.Rmd
README.md
scotus.Rproj

README.md

scotus

The goal of scotus is to provide a access to SCOTUS opinions for use in text analysis. All the data have been taken fro the repository https://github.com/brianwc/bulk_scotus.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/scotus")

Darta

So far the package only includes 1 dataset, scotus_sample which is a random sample of 10% of the total number of opinions (for size reasons).

library(scotus)
str(scotus_sample)
#> Classes 'tbl_df', 'tbl' and 'data.frame':    6336 obs. of  5 variables:
#>  $ year         : chr  "2002" "2002" "2002" "1918" ...
#>  $ case_name    : chr  "Martinez-Garduno, AKA Garcia-Jimenez v. United States" "Dinkins v. Cockrell, Director, Texas Department of Criminal Justice, Institutional Division" "Young v. Stubblefield, Superintendent, Missouri Eastern Correctional Center" "Cox v. Wood" ...
#>  $ docket_number: chr  "02-5021" "02-5107" "02-6152" "833" ...
#>  $ id           : num  107750 107820 108930 83544 100733 ...
#>  $ text         : chr  "No. 02-5021.\nCERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE NINTH CIRCUIT.\nC. A. 9th Cir. Certiorar"| __truncated__ "No. 02-5107.\nCERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE FIFTH CIRCUIT.\nC. A. 5th Cir. Certiorar"| __truncated__ "No. 02-6152.\nCERTIORARI TO THE UNITED STATES COURT OF APPEALS FOR THE EIGHTH CIRCUIT.\nC. A. 8th Cir. Certiorari denied." "No. 833.\nMr. Hannis Taylor, of Washington, D. C., for appellant.\nMr. Solicitor General Davis, for appellee.\n"| __truncated__ ...
You can’t perform that action at this time.