Hi I'm just learning how to use R in school and I want to create a map using geocode. How do I get a more precise latitude and longitude? For example, when I type in
I have looked at some examples on YouTube and they have more numbers listed after the decimal. What command do I need to use to get a more precise latitude and longitude?
You may be getting fooled by the print method of tibbles rounding the output. The full precision is still available but not displayed. Here is an example.
library(tibble)
DATA <- tibble(A = 1.234567, B =9.87654)
DATA
#> # A tibble: 1 x 2
#> A B
#> <dbl> <dbl>
#> 1 1.23 9.88
as.data.frame(DATA)
#> A B
#> 1 1.234567 9.87654