geocode_row_by_row: Geocode a data.frame of cities row by row

geocode_row_by_rowR Documentation

Geocode a data.frame of cities row by row

Description

Equivalent to banR::geocode_tbl() but much slower (one API request per row) This function is used when we only want "municipality" as result type which is impossible with geocode_tbl().

Usage

geocode_row_by_row(.data, city_col, score_limit = 0.4)

Arguments

.data

a data.frame containing a columns with city names to geocode

city_col

column that contains city names

score_limit

results below this score will be ignored and replaced by NAs

Value

the input data.frame with geocoding infomation.


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