Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

R tool help - address conversion

cmcclellan
14 - Magnetar

I'm trying to convert an address to lat/long co-ordinates so I can show the address on a map.

 

But I don't know enough R to make it work.

 

This must be done in R please :)

2 REPLIES 2
Ben_H
11 - Bolide

Hi @cmcclellan,

 

I'm not much of an R guy either, but when I try to run your routine it says it's missing the function "geocodeNominatim". After trying to install nominatim I get the error that the version of R is not compatible with that package. I'm not sure how to resolve that!

 

Regards,

 

Ben

cmcclellan
14 - Magnetar

I'm using 2023.2 so the function seems to be valid, but I get this ...

 

R (1) Content type 'application/zip' length 2266965 bytes (2.2 MB)
R (1) ==================================================
R (1) downloaded 2.2 MB
R (1) package 'OpenStreetMap' successfully unpacked and MD5 sums checked
R (1) The downloaded binary packages are in
R (1) C:\Users\chris\AppData\Local\Temp\Rtmpi8Krnt\downloaded_packages
R (1) Error: package or namespace load failed for 'OpenStreetMap':
R (1) .onLoad failed in loadNamespace() for 'rJava', details:
R (1) call: fun(libname, pkgname)
R (1) error: JAVA_HOME cannot be determined from the Registry
R (1) Execution halted

 

Labels
Top Solution Authors