Wrapper around tidygeocoder::geocode() that removes unnecessary messages and progress bars and format the output data.table with needed variables

geocode_nomatim(df, city = city, country = country)

Arguments

df

a data.frame containing at least id_rows variable and 2 other with city and country information

city

name of the column containing the city

country

name of the column containing the city

Value

a data.frame containing 3 columns: id_rows, lat and lon