Learn R Programming

wizaRdry (version 0.2.6)

ndaRequest: Alias for 'nda'

Description

This is a legacy alias for the 'nda' function to maintain compatibility with older code.

Usage

ndaRequest(
  ...,
  csv = FALSE,
  rdata = FALSE,
  spss = FALSE,
  limited_dataset = FALSE,
  skip_prompt = TRUE
)

Value

Prints the time taken for the data request process.

Arguments

...

Strings, specifying the measures to process, which can be a Mongo collection, REDCap instrument, or Qualtrics survey.

csv

Optional; Boolean, if TRUE creates a .csv extract in ./tmp.

rdata

Optional; Boolean, if TRUE creates an .rdata extract in ./tmp.

spss

Optional; Boolean, if TRUE creates a .sav extract in ./tmp.

limited_dataset

Optional; Boolean, if TRUE does not perform date-shifting of interview_date or age-capping of interview_age

skip_prompt

Logical. If TRUE (default), skips confirmation prompts unless preferences aren't set yet. If FALSE, prompts for confirmation unless the user has previously chosen to remember their preference.

Examples

Run this code
if (FALSE) {
prl01 <- ndaRequest("prl01")
}

Run the code above in your browser using DataLab