ukc_neighbourhood_specific: Specific Neighbourhood

Description Usage Arguments Details Value See Also Examples

View source: R/neighbourhood-all-specific.R

Description

Data on a specific neighbourhood within a given police force area.

Usage

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)

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

 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)

evanodell/ukpolice documentation built on Nov. 24, 2020, 8:06 a.m.