authDropdownRow: authDropdownRow - creates a row of GA authentication menus

Description Usage Arguments Value See Also Examples

Description

Use with renderAuthDropdownRow() Creates a row of select boxes for GA Account, Webproperty and View. id needed for GA fetches is then available in input$view.id

Usage

1
2
authDropdownRow(account.id = "accounts", web.prop.id = "web.prop",
  view.id = "view", multiple = FALSE)

Arguments

account.id

The shiny id for accounts. Then available at input$<account.id>.

web.prop.id

The shiny id for web properties. Then available at input$<web.prop.id>.

view.id

The shiny id for views. Then available at input$<view.id>.

multiple

Whether you have multi-select on menus. Default FALSE.

Value

A shinydashboard function that generates necessary HTML.

See Also

Shortcut using doAuthMacro.

Other shiny macro functions: doSegmentMacro; metricSelect; renderAuthDropdownRow

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
 ## server.r
shinyServer(function(input, output, session) {

    renderAuthDropdownRow(ga.table = ShinyMakeGAProfileTable(),
                          input = input,
                          session = session)

}

 ## ui.r

 library(shinydashboard)
 dashboardBody(authDropdownRow())

 
## End(Not run)

MarkEdmondson1234/shinyga documentation built on May 7, 2019, 3:34 p.m.