geocode_df_cities_cp: geocode df with postal code

View source: R/geocode_cities_cp.R

geocode_df_cities_cpR Documentation

geocode df with postal code

Description

A variation of geocode_df_cities for data with postcode provided Use of banR. Countries that are not "France" or NA will not be altered by this function

Usage

geocode_df_cities_cp(.data, city_col, cp_col, country_col)

Arguments

.data

a data.frame

city_col

name of the column that contains the city names

cp_col

name of the column that contains postal code (french)

country_col

name of the column that contains the country names

Details

Messages are not displayed when there is no error. input.data is not altered even if contains special characters. Column order is also preserved

Value

.data with additional (or updated) columns named after city_col with the extension: _lat _lon and _cog


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.