sidebarDataSource: Sidebar menu selection in the 'climex' app

Description Usage Arguments Details Value Author(s) See Also

Description

Sidebar menu selection.

Usage

1
2
sidebarDataSource(selectDataBase, radioEvdStatistics, reactive.chosen,
  selected.station)

Arguments

selectDataBase

Character (select) input to determine the data source. It is either of one of the names of the provided list in the list.data.sources argument of the climex function or Artificial data. In case of the latter choice, the function data.selection will provide a reactive object containing random numbers drawn from the distribution specified using radioEvdStatistics. Default = a random element of the provided input.

radioEvdStatistics

Character (radio) input determining whether the GEV or GP distribution shall be fitted to the data. Choices: c( "GEV", "GP" ), default = "GEV".

reactive.chosen

Reactive value containing a list of the list of all provided stations and a data.frame containing the meta data.

selected.station

Reactive value provided by the leafletClimex function. It contains the name of the station selected by the user by clicking on the leaflet map. It's provided as a character and NULL if no click occurred so far.

Details

Provides the second selection menu in the sidebar. If selectDataBase, provided by sidebarDataBase, was set to "Artificial data", the menu will be a numerical input slider to provide the location parameter for the GEV or scale parameter for the GP distribution. Else it will be a drop down menu listing the names of all available stations (see data.chosen).

Value

renderMenu

Author(s)

Philipp Mueller

See Also

Other sidebar: data.selection, sidebarCleaningInput, sidebarCleaning, sidebarDataBaseInput, sidebarDataBase, sidebarDataSourceInput, sidebarDataTypeInput, sidebarDataType, sidebarImprintInput, sidebarImprint, sidebarLoadingGifOutput, sidebarLoadingGif, sidebarLoadingInput, sidebarLoading, sidebarSeriesLengthInput, sidebarSeriesLength


theGreatWhiteShark/climexUI documentation built on May 22, 2019, 2:25 p.m.