GetDataSets() error

Hi guys

I'm new to R/RStudio and get the following error when running this code:

.libPaths("C:/R/lib")
install.packages('tidyverse')
install.packages('devtools')
library(devtools)
library(tidyverse)

library(datimvalidation)
install.packages('sqldf')
install.packages("rjson")
library("rjson")

require(devtools)
require(datimvalidation)
require(sqldf)

secrets="c:/R/secrets.json"
#loadSecrets function has been depreciated, use loginToDATIM instead
loginToDATIM(secrets)
path <- "C:/me/work/datim/R Validator/book3.csv"
organisationUnit <- 'cDGPF739ZZr'

clearCache(force=TRUE)

ds <- getDataSets()

Error in .getMetadataEndpoint("dataSets", values = values, by = as.character(rlang::ensym(by)), :
argument "values" is missing, with no default

Can someone perhaps tell me what this means?

Kind regards
Frederick

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.