webq_report: Generate an RMarkdown Report of WebQ Survey Responses

Description Usage Arguments Value Examples

View source: R/rwebq.R

Description

Generate an RMarkdown Report of WebQ Survey Responses

Usage

1
2
3
4
5
6
7
webq_report(
  survey_id,
  participant_ids = NULL,
  question_ids = NULL,
  output_dir = getwd(),
  ...
)

Arguments

survey_id

The survey for which to produce a report.

participant_ids

A vector of participant IDs to include. If NULL, will include all participants.

question_ids

A vector of question IDs to include. If NULL, will include all questions.

output_dir

The output file directory (default getwd())

...

Additional arguments to be passed to rmarkdown::render, including output_file for file name, output_format, etc.

Value

The output file path, invisibly.

Examples

1
## Not run: webq_report('236008', participant_ids = c('20700916', '12996001'), output_dir = '~/myreports/', output_file = 'report.html')

lpiep/rwebq documentation built on Jan. 21, 2022, 9:52 a.m.