One of the demos given during the technical workshop, Integrating Open-Source Statistical Packages with ArcGIS using Python and R, at the 2016 UC.
How did you change names of the fields for the variables that you added with Enrich layer tool? Did you do that in R or in ArcGIS desktop?
While you could change the names of the fields for the variables added through Enrich Layer with either ArcGIS or R, in this particular demo, I opted to change the field names with R. If you go to the 12:55 minute mark in the video, you will see the line of code I used to do that and hear a brief description of what I am doing. Hope this helps!
Thanks, I went back saw that.
Thanks for great tutorial. Does the emerging hotspots tool work with Raster data. I have raster images for drought so i want to apply the same methodology for drought hotspots.
I am glad you liked the tutorial. There is a fairly simple workflow to use the Emerging Hot Spot Analysis (EHSA) tool with raster data to identify trends in your data over space and time. The EHSA tool only accepts netCDF files created by the Create Space Time Cube tool, which is used to aggregate points in space and time. If you have multiple drought raster files (a minimum of 10) for your region of interest, you simply need to start by running the tool Raster to Point on each one. Afterwards, for each new point layer, add a new field that will serve as your time field. Insert a value for the time field column in each point layer. Finally, merge all of your point layers together. This will allow you to use the Create Space Time Cube tool on your data and use the result of that in the Emerging Hot Spot Analysis tool.
Hope this helps!
Thanks for the feedback, i will work on that
I run ArcGIS 10.2.2 at work. How do I link R with my version of ArcGIS?
Unfortunately, the R-ArcGIS bridge is available for 10.3.1+ or for ArcGIS Pro 1.1+. You could try a free trial of Pro to test out the capabilities or if possible, upgrade your ArcMap. Hope this helps!
I am using ArcGIS Pro 1.4.0 and ArcGIS 10.4 and the installation of R-Bridge failed. The message is "
Unable to find valid R installation. Please install R. Fallback installation method failed. Completed script InstallBindings... Failed to execute (InstallBindings)"
Do you know what is the problem? Can you help me?
Based on your error message, it sounds like you do not having R installed on your machine. The video above already assumes that you have ArcGIS (which you do!) and R (also optionally, RStudio). Here are detailed instructions from our Learn Lesson, Analyze Crime Using Statistics and the R-ArcGIS Bridge, on how to get everything setup. We also have an online training course, Using the R-ArcGIS Bridge, that is designed to help you get up and running with the bridge and some of its basic functionality.
I hope this helps!
If Marjean's great instructions don't get you going (or you do already have R installed), you can create an issue describing the problem on our issue tracker here:
Issues · R-ArcGIS/r-bridge-install · GitHub
We try a variety of approaches to detect the R installation correctly, but in some cases these still fail. If that happens to you, let us know so we can track down the issue.
I have an excel spreadsheet with date and time of events, the decimal latitude and longitude of the event location, and census block FIPS. I want to do hot spot mapping as you did with SF crime statistics. However, I can't get beyond create space time cube by aggregating points because I get an error about not having a projected coordinate system. I am hoping you can help me. Many thanks, Rich
Retrieving data ...