OK thanks - getting the idea now and am almost there. How do you use the get_file_from_central command? It looks like that will only download one image, where I want to download all the images for the form submissions I got with odk_central_to_pg.
Also what does it do with the file names? What's prise_image?
With Central 2023.4 we can now filter data from repeat table using a top level (Submissions) filter as the submission date. central2pg can make use of it right now and allows you to get only data that were submitted since a given timestamp or date
For example, data from our main form are pulled every hour to get fresh data, without filtering, we needed to pull all the data created since the form was published (90000) !
Now we can filter subtables on submission date and pull only the 37 observations created since last known submission date
As a consequence we can increase a lot the frequency of pulling data from Central and be very close to a real time field sync between our databases or desktop tools and the field.