Privacy protecting level in DSLite

I’m playing with DSLite and need some random numbers, therefore tried to use rUnif. However, the datashield.error message says that “The server is running in ‘non-permissive’ mode which has caused this method to be blocked.”

I have created the DSLite server using the default configuration

dslite.server ← newDSLiteServer(tables=list(cohortA = data.1, cohortB = data.2)) dslite.server$config(defaultDSConfiguration(include=c(“dsBase”, “dsSynthetic”)))

and I can tell by defaultDSConfiguration() that the privacy level is banana

$Options $Options$datashield.privacyLevel [1] “5”

$Options$default.datashield.privacyControlLevel [1] “"banana"”

Is there any way for me to change the $Options$default.datashield.privacyControlLevel to permissive when creating the DSLite server?

KR Bodil

Hi,

Yes, something like that:

dslite.server <- newDSLiteServer(tables=list(cohortA = data.1, cohortB = data.2))
config <- defaultDSConfiguration(include=c("dsBase", "dsSynthetic"))
config$Options$default.datashield.privacyControlLevel <- "foo"
dslite.server$config(config)

Regards Yannick

Perfect! Works fine, thank you!

/Bodil