R/neighbourhood-all-specific.R
, R/neighbourhood-events.R
, R/neighbourhood-priorities.R
, and 1 more
ukc_neighbourhood_specific.Rd
Data on a specific neighbourhood within a given police force area.
ukc_neighbourhood_specific(force, neighbourhood_id)
ukc_neighbourhood_events(force, neighbourhood_id)
ukc_neighbourhood_priorities(force, neighbourhood_id)
ukc_neighbourhood_team(force, neighbourhood_id)
A string containing the name of the police force to return neighbourhoods for. Must be specified, and is not case sensitive.
A string containing the ID of a given neighbourhood,
returned from ukc_neighbourhoods()
. If missing, returns all neighbourhoods
for the specified police force, using ukc_neighbourhoods()
.
A list with data for a specific neighbourhood, or a tibble with all neighbourhood IDs if no neighbourhood is specified.
ukpolice
contains the following functions for specific neighbourhoods:
ukc_neighbourhood_specific
-- Basic information and description of a
specific neighbourhood.
ukc_neighbourhood_team
-- Brief biographies of police officers
responsible for the specified neighbourhood.
ukc_neighbourhood_events
-- Police public engagement events taking
place in the specified neighbourhood.
ukc_neighbourhood_priorities
-- Policing priorities for the
specified neighbourhood.
if (FALSE) {
# returns a specific neighbourood
places4 <- ukc_neighbourhood_specific("dorset", "55.CR3001")
# returns all neighbourhoods as specific neighbourhood is unspecified.
places3 <- ukc_neighbourhood_specific("dorset")
}
if (FALSE) {
events <- ukc_neighbourhood_events("dorset", "55.CR3001")
}
if (FALSE) {
priorities <- ukc_neighbourhood_team("dorset", "55.CR3001")
}
if (FALSE) {
people <- ukc_neighbourhood_team("dorset", "55.CR3001")
}