check_data_args: Checks whether one and only one of the three arguments that...

Description Usage Arguments Value

View source: R/utils.R

Description

To do so, the function checks whether the args are NULL which is also there default. If more or less than are not NULL, the function throws an error. If exactly one argument is specified, the functions reads the data it contains and returns it in a data frame.

Usage

1
check_data_args(df = NULL, csv = NULL, svc = FALSE)

Arguments

df

Data frame that contains the data which is to be examined.

csv

Character that specifies the path to the csv file that is to be read.

svc

Logical that indicates whether the data shall be parsed using ruODK's odata_submission_get.

Value

Data frame


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