Learn R Programming

occupationMeasurement (version 0.3.2)

get_page_data: 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)

Value

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

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.

See Also

get_item_data()