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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors