As discussed previously, I started to work on a Python module a while back but haven’t made much progress for lack of time.
I will clean up my code and put it on GitHub. I will share the link here once done.
I’ve developed a simple Python script for exporting and importing data. I’ll wait for Pierre to share the code on GitHub and will look into integrating or aligning mine with it to support a more unified approach.
It allows you to download data using a form ID, filter the dataset by specifying a column and desired value, and then save both the full dataset and the filtered version
See the README file for examples on how to use it.
My needs at the time were mainly to push data to ActivityInfo, not so much to read data, so this is what I focused on in the code.
But for reading, my idea was to store the data in pandas DataFrames. I followed this approach in the module I created for Kobo: pvernier/pykobo: A Python module to fetch data from the Kobo API