ukp_poly_paste: Format long/lat numbers into the right string

Description Usage Arguments Value Examples

Description

ukp_poly_paste takes a dataframe of longitude and latitude and pastes them into the correct format required for the ukpolice API

Usage

1
ukp_poly_paste(data, long, lat)

Arguments

data

a dataframe

long

character

lat

character

Value

character vector: "lat_1,long_1:lat_2,long_2:...,lat_n,long_n"

Examples

1
2
3
4
## Not run: 
ukp_poly_paste(york, "long", "lat")

## End(Not run)

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