Learn R Programming

rgeoapi (version 1.1.0)

DepByReg: Get Departments by Region

Description

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

Usage

DepByReg(codeRegion)

Arguments

codeRegion
a numeric vector with an INSEE code.

Value

Returns a data.frame with departments names, INSEE codes, and region codes of the departments.

Details

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

Examples

Run this code
DepByReg(codeRegion = 53)

Run the code above in your browser using DataLab