ukc_neighbourhood_specific {ukpolice} | R Documentation |
Specific Neighbourhood
Description
Data on a specific neighbourhood within a given police force area.
Usage
ukc_neighbourhood_specific(force, neighbourhood_id)
ukc_neighbourhood_events(force, neighbourhood_id)
ukc_neighbourhood_priorities(force, neighbourhood_id)
ukc_neighbourhood_team(force, neighbourhood_id)
Arguments
force |
A string containing the name of the police force to return neighbourhoods for. Must be specified, and is not case sensitive. |
neighbourhood_id |
A string containing the ID of a given neighbourhood,
returned from |
Details
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.
Value
A list with data for a specific neighbourhood, or a tibble with all neighbourhood IDs if no neighbourhood is specified.
See Also
Examples
## Not run:
# returns a specific neighbourood
places4 <- ukc_neighbourhood_specific("dorset", "55.CR3001")
# returns all neighbourhoods as specific neighbourhood is unspecified.
places3 <- ukc_neighbourhood_specific("dorset")
## End(Not run)
## Not run:
events <- ukc_neighbourhood_events("dorset", "55.CR3001")
## End(Not run)
## Not run:
priorities <- ukc_neighbourhood_team("dorset", "55.CR3001")
## End(Not run)
## Not run:
people <- ukc_neighbourhood_team("dorset", "55.CR3001")
## End(Not run)