Hi community
I want to correct the coordinates of a database. I have only in some cases a new correction for latitude or longitude but in somes cases both changes.
So, when I graph in leaflet
I get an error for those blank data.
The idea is that when the blank space is filled with the data from the first rows of the A-D
The Acces column is an identifier
dat <- data.frame(Acces=c('A','B','C','D','E',
'A','B','C','D','E'),
latitud=c( -24.12,-26.33,-27.32,-29.48,-27.43,
'',-26.80,-27.3206, '', -27.4334),
longitud=c(-65.40,-58.75,-58.58,-56.48, -58.82,
-65.4027,-58.9666,'', -56.9833, -58.8337))
Hope obtain this:
Tnks!