This function allows to obtain the lat and lon of places in openstreetmaps API
get.geocode(x, place)
x | for dataframe |
---|---|
place | argument to specify if this island or city (chr) |
the altered dataframe with long and lat columns
if (FALSE) { get.geocode(covid19cv,covid19cv$concelho) }