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 ukc_neighbourhoods(). If missing, returns all neighbourhoods for the specified police force, using ukc_neighbourhoods().

Details

ukpolice contains the following functions for specific neighbourhoods:

Value

A list with data for a specific neighbourhood, or a tibble with all neighbourhood IDs if no neighbourhood is specified.

See Also

ukc_neighbourhood_boundary()

ukc_neighbourhoods()

ukc_neighbourhood_location()

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)


[Package ukpolice version 0.2.2 Index]