Add support for Insights to the Python API

1951
4
01-07-2017 10:28 AM
JohnDye
Occasional Contributor III

I would like to be able to batch create Insights workbooks and cards to create KPI Dashboards for some of my organization's retail locations. Doing this manually through insights is burdensome when there are 800-something stores. Please add support for Insights workbook and card creation to the Python API so that this can be automated.

4 Comments
DouglasCochran

Extensibility in Insights for ArcGIS is on the roadmap.  We are currently researching and prioritizing our extensibility plans, so your use case(s) is important feedback.  Thank you.

ThomasEdghill

I've marked this Idea as "Under Consideration" instead of my previous status of "Partially Implemented" and I wanted to explain the reason for this status change. 

To start, we have indeed introduced scripting with Python and R in Insights 3.2 which hopefully can be of assistance to those who wish to leverage these languages, and which may partially address many user's desires to incorporate Python with their Insights workflows. For some more information about using Python and R with Insights, please check out the following blog post - Scripting in Insights for ArcGIS - Enhance your Location Analytics Experience 

 

That said, the request John Dye is asking for here is the ability to batch create Insights workbooks and cards, noting that the manual process is tiresome when the workflow is repeated for a large number of cards. At this moment, the introduction of scripting with Python and R does not allow batch creation like this request is asking for. This feedback has been noted by the team and is being researched, and is why we have gone with the "Under Consideration" status here.

For anybody reading this Idea, please continue to share your stories and use-cases for how leveraging the ArcGIS API for Python could benefit your Insights workflows, as well as situations where batch workflows would be of benefit to you. 

BryanChastain2

It's by no means official or complete, but I made my own Python interface for Insights. It can do some of what you're looking to do. Feel free to use/fork/etc:

https://github.com/bchastain/insightsworkbook

beau_
by

I would love the Python API to support ArcGIS Insights to automatically create and configured workbooks on ArcGIS Online and ArcGIS Enterprise so that I could templatize analytical tools, enforce best practices, help users select the right layers and tools for their work.

Because of Insights ability to better leverage relationships than other ArcGIS apps, Insights is not only a great tool for data analyst, but comes handy to deploy dashboards using relationships and to support non-GIS centric dashboards and data analytics. 

Please helps us make Insights available to a wider audience beyond data scientists and GIS data analysts.