cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JDuthie1
Regular Visitor

R script converting Easting/Northing to lat/long for mapping visuals

I have data in the form of easting/northing and i'm trying to convert these to latitude/longitude using R script.  So far i have tried running a script against the datasource as follows.

 

Here is the initial data.

JDuthie1_0-1623078478586.png

Script Run

JDuthie1_4-1623079181460.png

 

Output

JDuthie1_2-1623078570900.png

 

I have also tried using the following script however the same issue occurs where it just returns the original data without a conversion.

 

JDuthie1_5-1623079341433.png

 

 

The output produces no errors however it is not converting it either.  My understanding is that after the script is run the table which is expanded should have a x and y column with the converted co-ordinates. Is there something that i am missing out? Or can R not be used in this way to convert the coordinates?

 

Appreciate any help 🙂

 

TIA

 

 

1 REPLY 1
v-kelly-msft
Community Support
Community Support

Hi  @JDuthie1 ,

 

Check the blog below:

https://community.powerbi.com/t5/Community-Blog/Geocoding-using-R-and-Google-Maps-in-Power-BI/ba-p/5...

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Power BI Womens Summit 2021 768 x460.jpg

Interviews, learning sessions, allies, and more!

#PowerBIWomenSummit

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors