Closed tezza79 closed 1 year ago
It looks like there's something about the form definition that is unexpected in some way.
Would it be possible for you to build a simplified form that results in the same issue? Or even easier for you, I see you're on a getodk.cloud
server so perhaps you'd be ok with someone from ODK support looking at your form definition? CC @yanokwa
> Error in
vec_as_location()
:> !
...
must be empty.
I don't have much ruODK
knowledge but this suggests to me that there's an issue related to a geopoint
field.
@tezza79 have you had any success with this issue?
A way to debug this is to break up the all-in-one magic of odata_submission_get into individual steps as per https://docs.ropensci.org/ruODK/articles/odata-api.html#detour-data-rectangling:
odata_subm_raw <- ruODK::odata_submission_get(verbose = TRUE, parse=FALSE)
odata_subm_rect <- odata_subm_raw %>% ruODK::odata_submission_rectangle()
odata_subm_gpnt <- odata_subm_rect %>% ruODK::handle_ru_geopoints()
If this turns out to be a data or form design issue rather than a but in ruODK, would you mind letting me know here so I can close this issue?
Hi Florian,
Thanks for the below information. This worked and is looking great. I am not sure what was going wrong before. I think maybe some collision in dependent package version on my side.
The issue can be closed.
Many thanks,
Terry.
Problem
ruODK function(s) used
Unexpected behaviour
Reproducible example
Created on 2022-09-08 by the reprex package (v2.0.0)
ODK Central version: