coord_com: cities coordinates

Description Usage Arguments Value Examples

View source: R/coord_com.R

Description

This function allows you to store the coordinates of each cities in a dataframe

Usage

1

Arguments

pol

An sf object of the cities

Value

A data.frame with the same variables as pol, centroïds (lat,lon) and no geometries

Examples

1
2
3
4
5
6
# Import data
data(pol)

coordCom <- coord_com(pol)

coordCom[1:10,]

Geographie-cites/toyspace documentation built on July 11, 2019, 6:07 p.m.