SymbolixAU / googleway

R Package for accessing and plotting Google Maps
http://symbolixau.github.io/googleway/
Other
234 stars 46 forks source link

google_nearestRoads returns more data than what I give it #259

Open dsanchezq opened 2 years ago

dsanchezq commented 2 years ago

Hi, I have more than 6,000 data so I divided my data frame into a list of 60 of 100 data each (named "cortes"). I run google_nearestRoads as follow:

ajuste4<-google_nearestRoads(cortes$"4", key = key, simplify = T)

And the function returns a list of 1 with 136 data, some with originalIndex repeated.

Does anyone know why it returns more data than I give it and how to correct it?

Thanks!!

dcooley commented 2 years ago

can you give me an example of cortes that I can use that shows the issue?