Description Usage Arguments Details Value See Also Examples
View source: R/neighbourhood-all-specific.R
Data on a specific neighbourhood within a given police force area.
1 2 3 4 5 6 7 | ukc_neighbourhood_specific(force, neighbourhood_id)
ukc_neighbourhood_events(force, neighbourhood_id)
ukc_neighbourhood_priorities(force, neighbourhood_id)
ukc_neighbourhood_team(force, neighbourhood_id)
|
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 |
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.
A list with data for a specific neighbourhood, or a tibble with all neighbourhood IDs if no neighbourhood is specified.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.