Add longitude and latitude of 'locid'

add_coord(x, replace = FALSE)

Arguments

x

data.frame with `locid` column.

replace

logical, if TRUE, existing `lon` and `lat` columns in `x` will be replaced.

Value

`x` with added/replaced `lon` and `lat` for each `locid`

Examples

NA
#> [1] NA