Learn R Programming

rgeoapi (version 1.1.0)

ComByPostal: Get City by Postal Code

Description

Get informations about a French city by its INSEE Code. Please note that this package works only with French cities.

Usage

ComByPostal(codePostal)

Arguments

codePostal
a numeric vector with a postal code.

Value

Returns a data.frame with name, INSEE code, postal code, INSEE department code, INSEE region code, population (approx), surface (in hectares), lat and long (WGS-84).

Details

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

Examples

Run this code
ComByPostal(codePostal = 29000)

Run the code above in your browser using DataLab