This function allows to obtain the lat and lon of places in openstreetmaps API

get.geocode(x, place)

Arguments

x

for dataframe

place

argument to specify if this island or city (chr)

Value

the altered dataframe with long and lat columns

Examples

if (FALSE) { get.geocode(covid19cv,covid19cv$concelho) }