Select to view content in your preferred language

How can I join two 'arc.data' sets and then export by 'arc.write' giving a vectorised gdb?

434
1
02-07-2018 03:10 AM
NoraQuesada
New Contributor

Hi,

I have two datasets with the same format and common fields; read in R through arcgisbinding package and to data.frame format by 'arc.select()'. I ran the join (type='full') function (plyr package) between the two but the resulting class is not 'arc.data' any more and seems to have lost its spatial data representation; when opening ArcGIS I can only see the joined table as an attribute table. How can I preserve the spatial information so I can then see the vecotrised data in my GDB file?

0 Kudos
1 Reply
ShaunWalbridge
Esri Regular Contributor

Hello Nora Quesada‌,

The current stable version of the bridge doesn't directly support dplyr, but you can try the pre-release for the next version, which does support dplyr. Could you try that version? It's available here:

  Release v1.0.1.229 · R-ArcGIS/r-bridge · GitHub 

To install it, you can either place the downloaded .zip file into the same directory as the r-bridge-install toolbox, or you can install it directly from R following this screencast.

Thanks,
Shaun

0 Kudos