R/last-update.R

Defines functions ukc_last_update

Documented in ukc_last_update

#' Latest crime update
#'
#' Returns the latest month crime data was updated for. The date is in standard
#' ISO format but the actual day is not relevant.
#'
#' @export
ukc_last_update <- function() {
  query <- "crime-last-updated"

  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.