Description Usage Arguments Value Examples
Gets multiple oyez cases for analysis. The input, x, can be either a data.frame with columns
term
and docket_number
, or a list of lists, with each sublist containing fields
named term
and docket_number
1 2 3 4 5 6 7 | oyez_cases(x, ...)
## S3 method for class 'data.frame'
oyez_cases(x, ...)
## S3 method for class 'list'
oyez_cases(x, ...)
|
x |
a data.frame or list |
... |
other arguments passed on to methods |
an OyezCaseList object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
df <- data.frame(
term = c("2014", "2014", "2000"),
docket_number = c("13-1175", "13-1499", "00-949")
)
oyez_cases(df)
lst <- list(
list(
term = "2014",
docket_number = "13-1175"
),
list(
term = "2014",
docket_number = "13-1499"
),
list(
term = "2000",
docket_number = "00-949"
)
)
oyez_cases(lst)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.