Function to store survey inputs from shiny app

store_inputs(data, curr_index, user_inputs, uid, keep_metadata = NULL)

Arguments

data

data of annotations

curr_index

current index marker

user_inputs

input given by users

uid

what are the unique ids (recordId, healthcode, participantId etc.)

keep_metadata

what metadata to keep

Value

dataframe of annotation based on current index