A SPSS extension that extracts the latest population, lifestyle, market, job and spending data at the neighborhood level from Esri's Geoenrichment Service by referencing latitude and longitude values.
This tool generates national statistics data directly within SPSS. It works by capturing the latest population, lifestyle, market, job and spending
data from Esri’s Geoenrichment Service after referencing location values (latitude and longitude values) provided in the stream. This specific version has full support for coorindates in the United States, however the tool code can be altered to support other countires.
Build a stream that includes a data source containing a Latitude and Longitude field
Click on the NatSTAT node and connect the Latitude and Longitude fields with your data source
Select a data collection, buffer distance and input your ArcGIS Online username and password
Connect the NatSTAT tool with an output node
Run the stream
Extension Data Reference
Below are the data collections which you can use to enrich your data. The column titled total number of variables indicates the total number of fields that will get generated in your output.
To learn more about the data collection variables, which will be included in your output, click on the hyperlinks in the below table to open up the National Statistic Variable Explorer.
NatSTAT for SPSS requires an ArcGIS Online subscription. If you do not have access to an ArcGIS Online subscription the good news is that you can register for a free evaluation here. The free evaluation gives you 200 credits which can be used to support SPSS analysis.
This requires IBM SPSS Modeler 17.1 (it may work on newer SPSS versions if so please update this documentation).
Data Apportionment
The location values passed into NatSTAT are converted into geographic points. These points are then buffered according to the distance chosen. Demographic data that intersects with the area is summarized using Esri’s spatial data apportionment logic.
Recommendations
When running this tool it’s recommended to initially pass in a small number of records (3-5 records) containing location data before processing large datasets. This workflow helps ensure that ArcGIS Online credits consumed while processing large datasets will be meaningful. If the output of the small data stream is not meaningful do not process the large dataset.
It would be pretty easy to modify this tool to generate national statistic data for countries outside the US by referencing the proper 2-digit country code and by changing the dropdown values. The dropdown values will need to be
changed because not every country has the same data availability. To determine available for each country use this data browser tool.
Contributing
Anyone and everyone is welcome to contribute.
Licensing
Copyright 2016 Esri
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
A copy of the license is available in the repository's license.txt file.
[](Esri Tags: IBM SPSS)
[](Esri Language: R)
About
A SPSS extension that extracts the latest population, lifestyle, market, job and spending data at the neighborhood level from Esri's Geoenrichment Service by referencing latitude and longitude values.