Update of Real-Time Data on ArcGIS Online

Hello everyone.  Saw this on Linked in regarding updating live data on ArcGIS Online.  The first link below is to an hour-long tutorial from an ESRI Blog, and the second link is to download to a Python script that overwrites Hosted Feature Services.  Good info to know given all the Coronavirus apps / dashboards we are making.  If anyone else has techniques they’ve used, please comment on this post and share.

Schedule Automated Near Real-Time Data Updates

“In this lesson, you will configure a layer in ArcGIS Online to consume a near real-time web service provided by the Texas Water Development Board. You’ll create a feature service in ArcGIS Online using water data for Texas. You’ll create a feature view to preserve symbology when the data is updated and configure a script to overwrite the feature service when new data is available. Finally, you’ll schedule a task on a local computer to automate the updates.”

Click here to access ESRI Blog – 1 hour tutorial.

Overwrite Hosted Feature Services

“Leverage this Python Script from the command line, Windows Scheduled Task, or from within your own code to automate the replacement of data in in an exisiting Hosted Feature Service.”

Click here to ArcGIS Online item for download.