ComByDep: Get Cities by Department

Description Usage Arguments Details Value Note Examples

View source: R/ComByDep.R

Description

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

Usage

1
ComByDep(codeDepartement, postal = FALSE)

Arguments

codeDepartement

a numeric vector with a department INSEE Code.

postal

wether or not to include postal codes. Default is FALSE.

Details

Takes a department INSEE Code, returns a data.frame with the available values.

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 of the cities (WGS-84).

Note

If you don't know the INSEE code of the department you're looking for, you can find it by using the DepByName function.

Examples

1
2
ComByDep(codeDepartement = 35) 
ComByDep(codeDepartement = 29, postal = TRUE)

rgeoapi documentation built on May 30, 2017, 12:04 a.m.