DepByName: Get Department by Name

Description Usage Arguments Details Value Examples

View source: R/DepByName.R

Description

Get informations about a French Department by its name. Please note that this package works only with French Department.

Usage

1
DepByName(nom)

Arguments

nom

a character string with the name of the department.

Details

Takes a department INSEE code, returns a data.frame with the available values. Partial matches are possible. In that case, typographic pertinence scores are given.

Value

Returns a data.frame with name, INSEE code, and region code of the department.

Examples

1
2
DepByName(nom = "Ille-et-Vilaine")
DepByName(nom = "mo")

ColinFay/rgeoapi documentation built on June 2, 2017, 2:21 a.m.