You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you referring here mostly to odata_submission_get(...) or also to submission_export(...)?
If you are interested, I started modifying the function submission_export(...) for my own needs this weekend (mostly as I really need to limit the amount of data I retrieve from the servers to run quick tests, etc - as it starts to be huge), inspired by what you had already done with odata_submission_get(...) (very helpful - I actually reproduced the filter feature exactly as you had implemented it).
I have the following - you can advise if you have a specific convention for naming variables
The updated function seems to work fine on my data but obviously there would be more checks/tests needed for ruODK depending on the version of ODK Central that is used. About this, I am not sure if the odkc_version parameter is dynamically updated? On my side it seems to be systematically set to 1.1 (I am using 1.5 or 1.4)
Hi @Thaliehln! Thanks for the contribution!
I'm absolutely behind on updating ruODK to the latest Central features. Thanks for pushing this forward.
Re naming conventions: I've used snake_case elsewhere over camelCase.
Re ODK Central version: Unless you set ODKC_VERSION, https://github.com/ropensci/ruODK/blob/main/R/ru_setup.R#L519 defaults this to 1.1. Under the bonnet, that's fine, as I use it to toggle support for breaking changes - last seen at 1.1. At the next breaking change, I'll bump this to the then current Central version.
Re filter syntax, I'm linking getodk/central-backend#495 here as a reminder to myself to update ruODK functions/help/examples/vignettes where applicable.
Feature
Provide the new submission export parameters where applicable, especially "split multiple select answers into columns".
The text was updated successfully, but these errors were encountered: