Learn R Programming

shiny.router (version 0.3.1)

get_query_param: Get Query Parameters

Description

Convenience function to retrieve any params that were part of the requested page. The param values returned come from "httr::parse_url()"

Usage

get_query_param(field = NULL, session = shiny::getDefaultReactiveDomain())

Value

The full list of params on the URL (if any), as a list. Or, the single requested param (if present). Or NULL if there's no input, or no params.

Arguments

field

If provided, retrieve only a param with this name. (Otherwise, return all params)

session

The Shiny session