R/crime-category.R

Defines functions ukc_crime_category

Documented in ukc_crime_category

#' Crime categories
#'
#' @return A `tibble` with all available categories of crime.
#' @export

ukc_crime_category <- function() {
  query <- "crime-categories"

  df <- ukc_get_data(query)

  df
}

Try the ukpolice package in your browser

Any scripts or data that you put into this service are public.

ukpolice documentation built on Aug. 3, 2020, 5:09 p.m.