In Python I would like to create a script that runs every x hours, and publishes an updated csv file into ArcGIS Online.
Currently I have the following code:
import arcgis
from arcgis.gis import GIS
gis = GIS()
gis.content.get('ID').update(item_properties=None, data='data/data.csv')
This updates the csv but the data on the map doesn't change. The map data stays the same as the old csv it was created with. Any ideas on how to resolve this?