ukp_neighbourhood: Return the list of neighbourhoods for a force.

Description Usage Arguments Value Examples

Description

ukp_neighbourhood returns the list of neighbourhoods for a force, https://data.police.uk/docs/method/neighbourhoods/

Usage

1
ukp_neighbourhood(neighbourhood, ...)

Arguments

neighbourhood

a text string of a neighbourhood in the UK

...

further arguments passed to or from other methods. For example, verbose option can be added with ukp_api("call", config = httr::verbose()). See more in ?httr::GET documentation (https://cran.r-project.org/web/packages/httr/) and (https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html).

Value

tibble with columns id and name. id is a Police force specific team identifier, note that this identifier is not unique and may also be used by a different force. Name is the name for the neighbourhood

Examples

1
2
library(ukpolice)
ukp_neighbourhood("leicestershire")

njtierney/ukpolice documentation built on May 23, 2019, 8:23 p.m.