Insights for ArcGIS automatically captures every step of your analysis in the analysis view for your workbook page. Once a model is shared, it can be added to your page and rerun using the same or different data.
Add a model to your page
- Models do not share data. You must add data to your page in addition to adding the model. You can add data and models to your page at the same time.
- If you did not create the model, the owner of a model must share the model item with you before you can use it.
- Click Add Data to open the Add to Page window.
- If your page does not have any datasets, choose your data.
- Under Add to Page, click Model.
- If this is a model you created, choose Contents. If you're not the model owner, choose Organization.
Available models are listed in the contents pane.
- Optional: If you want more information about a model in the list, such as a description, click View details.
- Choose the model and click Add.
Next step: Update the model with your data (see below).
Update the model to run analysis automatically
If you want to use a shared model, you must add the model to your page, as well as the data you want to use for your analysis.
If you have already run analysis on your page, you can rerun the analysis from the Analysis View by updating the data in the model, or by changing the parameters in your spatial analysis.
Rerun the analysis with different data
- Click the Analysis view button .
- Click Update in the dataset bubble you want to update.
The Replace Data panel appears.
The available fields to choose for the analysis steps, such as aggregation, change to reflect the fields from your chosen dataset. The model is flexible enough to use any field, provided it has the same field role as the field that was used to create the model. The Replacement field list contains fields with the same field role as the field chosen for Original field. For example, if Original field contained a string field , called StoreName, the only fields available in the Replacement field list are string fields.
- Choose different fields to rerun the analysis with different data.
For example, if you created a bar chart aggregating SalesAmount by StoreName, you can choose a different field to use as a category, such as PaymentMethod.
If you don't see the field you expect to see in the list, choose a different dataset from the Choose Dataset list.
- Click Update.
The model is applied to the updated data, and you see the analysis results, in the form of cards, on your page.
- Click the Page view button to see the cards on your page.
- You can also rerun your spatial analysis with different parameters using the Edit button .
Update parameters to rerun the analysis
- Click the Analysis view button , if you're not already in the analysis view.
- Click a step in the model that represents a spatial analysis capability, such as Calculate Density.
- Click Edit .
The panel appears. You can't choose a different map layer for the spatial analysis, but you can adjust other parameters. For example, you may want to rerun the Calculate Density with a different search distance from the default, or use a different classification method for your results.
- Change the parameters.
- Click Update.
The analysis runs and overwrites the previous results in the data pane.
- Click the Page view button to see the updated map on your page.
Below is the model of that analysis in the analysis view.
This model shows the steps that were involved in creating the results shown in the page view:
- Add two datasets to your page.
- Enable location in the first dataset.
- Create a relationship to join the two datasets.
- Aggregate the data by categories to create a bar chart.
- Aggregate the data by geography to create a proportional symbol map.
- Style the map according to the chosen field. This happens automatically when a map is created.
Although the model indicates that a join (step 3) was performed on the two datasets, it shows them as separate dataset bubbles. You can switch between the datasets to select the fields from either dataset to rerun the analysis.