find_missing_instanceIDs: Find all missing submissions

Description Usage Arguments Value Examples

View source: R/find_missing_instanceIDs.R

Description

This function finds all instance ID's of submissions of an ODK form which are already stored on ODK Central but not loaded in your current data. It does so by downloading the most recent submission list from ODK Central for the respective form and compares the instance IDs with the ones that are contained in the given data.

Usage

1

Arguments

csv

Character that specifies the path to the csv file that is to be read. (Either csv or df must not null)

df

Data frame that, specifies the data frame that is to be read. (Either csv or df must be null)

id_col

Character that specifies the exact name of the instance ID in the df/csv.

Value

List

Examples

1
2
3
4
5
6
7
## Not run: 
# ruODK needs to be set up for this function to work
repvisforODK::setup_ruODK(svc = example/svc.svc, un = exampleusername, pw = examplepassword, tz = 'Europe/Berlin', verbose = TRUE)

find_missing_instanceIDs(df = df_odk_data, id_col = 'instance_id')

## End(Not run)

lucidviews/repvisForODK documentation built on Feb. 13, 2022, 9:50 p.m.