hello everybody
I am new to r and trying to clean geocode data which is storede in two columns, Longitude and Latitude.
the data are entered in different shapes:
"547140"
"35.6997"
"251825.7959"
"251470.43"
"54/4077070001"
"54/305495"
I don't know how to clean this variable with this great difference.
when I want to use the coordinates function I get this error.
coordinates(dt) <- ~GPRSLongitude+GPRSLatitude
Error in coordinates(dt) <- ~GPRSLongitude + GPRSLatitude :
could not find function "coordinates<-"
What packages are you using? Is this in a data frame? You have a mix of formats there, do you know what CRS they are in meant to be in (the first four anyway).
You've had three topics with pretty much the same question. Why didn't you just edit the first one?
We can solve this at least, because it comes by not having any function called coordinates loaded. i.e. there has been no library(somelibrary) or require(somelibrary) which would be needed to load whatever library contains the coordinates function we require to use.