View source: R/ojo_crim_cases.R
ojo_add_counts | R Documentation |
Add counts to a tibble of cases
ojo_add_counts(data, vars = NULL, ...)
data |
A tibble returned by an |
vars |
Variable names from the |
... |
Placeholder for future arguments |
A lazy tibble with counts for each case
## Not run:
ojo_tbl("case") |>
filter(
year == 2024,
district == "CLEVELAND",
case_type == "CF"
) |>
ojo_add_counts()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.