Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 11:53 AM
I continues to receive a parsing error when attempting to convert lat/long data to a geohash in data bricks . I've tried two coding methods in R and get the same error.
library(geohashTools)
Method #1
my_tbl$geo_hash <- gh_encode(my_tbl$Latitude, my_tbl$Longitude, precision = 9L)
Method #2
my_tbl <- my_tbl %>%
mutate(geo_hash = gh_encode(Latitude, Longitude, precision = 9L))
Any suggestions?
Jeff
Labels:
- Labels:
-
databricks