Learn R Programming

rgeoapi (version 1.1.0)

ComByReg: Get Cities by Region

Description

Get informations about all the cities in a French region by its INSEE code. Please note that this package works only with French cities.

Usage

ComByReg(codeRegion, postal = FALSE)

Arguments

codeRegion
a numeric vector with a region INSEE code.
postal
wether or not to include postal codes. Default is FALSE.

Value

Returns a data.frame with names of the cities, INSEE codes, postal codes, INSEE department codes, INSEE region codes, population of the cities (approx), surface of the cities (in hectares), lat and long (WGS-84).

Details

Takes a region INSEE ode, returns a data.frame with the available values.

Examples

Run this code
ComByReg(codeRegion = 53) 

Run the code above in your browser using DataLab