The Spatial Analysis service contains a number of tasks that allow you to perform common spatial analyses on your hosted data
These tools allow end-users to easily perform analysis against layers hosted in Online as well as other layers they have access to.
The results of analysis can be stored as new hosted layers in your organization subscription
If provided, the task will create a feature service of the results
I'm up against a time constraint so I'm open to alternatives. Care to share @geo_james? I'm tech agnostic.
Yes, if anyone could actaully tell us what tools and/or scripts are used to generate the Summarize Within or Summarize Nearby GP services that would be very helpful. Unfortunately, there does not seem to be any help in this regard in either the REST or JavaScript APIs. As an analyst, I can certainly produce summary statistics on the desktop using a variety of methods and tools. But that in no way helps us to construct the same GP service in our own Advanced-licenced Server environment which would allow us to create our own jobs.
Thanks
David