Reply
JDuthie1
Regular Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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!

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)