get_page_data: Get questionnaire / page data.

View source: R/page.R

get_page_dataR Documentation

Get questionnaire / page data.

Description

Note that page data is not automatically saved and you probably want to use page$get_item_data instead.

Usage

get_page_data(session, page_id, key = NULL, default = NULL)

Arguments

session

The shiny session

page_id

The page for which to retrieve data. Defaults to the page where data the function is being called from.

key

The key for which to retrieve a value. (Optional) If no key is provided, the page's whole data will be returned.

default

A default value to return if the key or page is not present in the questionnaire data.

Value

The page data value at the provided key or the whole page's data if no key is provided.

See Also

get_item_data()


occupationMeasurement documentation built on Sept. 27, 2023, 5:08 p.m.