Questions tagged [selectinput]
209 questions
0
votes
0 answers
Shiny conditional drop downs menu
I have country and region data. I would like for the user to select the country and have the option to then select the region based on the country selection if they want to.
I want the dashboard to display outputs at a country level as well as…

user14142459
- 79
- 1
- 2
- 6
0
votes
1 answer
Shiny selectInput 'Select All' hierarchy
Edit: to add sample data.
I would like to include a 'Select all' option for multiple SelectInputs. So if I select 'all' countries the second selectInput dropdown will display all regions, and if I select a specific country I can either select 'all'…

user14142459
- 79
- 1
- 2
- 6
0
votes
1 answer
How to display map dynamically changed as per drilldown selectInput() based on previous selections?
I would like to render a map based on selectInput(). I have two selectInput()s: first one product_type and second one product_name. In the second one selectInput() the drop down options should be display only relevant to first selectInput(). Based…

krishna
- 401
- 6
- 16
0
votes
3 answers
I have problems with ajax in Laravel 7
I have the following ajax code for a select input:
$("#franchise").change(function() {
//alert( $( "#franchise" ).val() );
var f = $( "#franchise" ).val();
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN':…
0
votes
0 answers
Display different markers depending on a selectInput field in Shiny
I am trying to display markers on a map, which appearance would depend on a selectInput. The global idea is that the user can click on different locations on a map, searching for an ideal spot. Eventually, when the choice is ok, he validates the…

Doc Martin's
- 341
- 1
- 3
- 11
0
votes
0 answers
R shiny and Database
i really need your help.
I have an example of a DataBase which table is "t_client (id_cli, name_cli)"
I want to select the id of client(id_cli) from "selectInput" and the result gives me the name of client (name_cli) by reactive function.
This is my…

Pinkette
- 5
- 2
0
votes
1 answer
Filtering from selected input in R shiny
I keep getting errors when trying to filter a data base according to a selected input. I made this really simple example based on the iris dataset to show you guys my problem:
```{r}
library(flexdashboard)
library(tidyverse)
```
…

Ruben
- 5
- 2
0
votes
1 answer
Problem with Shiny filtered selectinput and ggplot graph
I have a shinyscript prepared where i want to show a graph based on two widgets.
The first widget(selectInput) controls for the area i want to show a diagnostic plot for.
The second widget (checkboxGroupInput) controls for the amount of data i want…

Stevestingray
- 399
- 2
- 12
0
votes
1 answer
How to change the predictor variable in regression model form drop-down menu in Shiny?
I would like to have a dynamic regression qqplot in Shiny that has a drop-down menu for x value(predictor variable). Youn can find my code below where I have defined an LM function that takes the response variable form first place and predictor…
0
votes
0 answers
Filtering in R Shiny, selectInput into textOutput
Working in R Shiny.
I'm trying to filter some data through a selectInput() widget, displayed through a textOutput.
When a user chooses a county, the poverty percentage should display on the absolutePanel().
I'm the worst at filtering data. I can't…

Melissa Allen
- 103
- 8
0
votes
1 answer
How to Set Values in selectInput R Shiny for a long set of options
I am creating an R Shiny app where I have an extremely long list of options for selectInput. Depending on the option you select, the value is going to change. I know that for a small list of options you can set the values yourself in the server…

Shamanth Chedde
- 21
- 5
0
votes
1 answer
R shiny : combine choice and slider in interactive 3d plot
I would like to produce a 3d scatter plot which is rotatable with the mouse. I am happy to have this with no pop-up window (though this is not a must-have, but makes things easier for now.). I can do this happily with renderRglwidget(). I managed as…

Gerit
- 195
- 2
- 14
0
votes
1 answer
Allow empty value "" as choice in selectInput
I am developing a shiny application which has a selectInput filter whose choices are coming from a dataframe of NAMES. This selectinput allows to filter rows in rhandsontable on the basis of names.
At present the selectinput doesn't show "" choice…

Cdhabhai
- 3
- 3
0
votes
1 answer
dynamic number of groups in selectInput R Shiny
I need help in one task. I have dataframe:
df <- data.frame(
UserGroup = c("UserGroup1", "UserGroup2", "UserGroup2", "UserGroup3", "UserGroup3", "UserGroup3", NA, NA, NA, NA),
User = c("User1", "User2", "User3", "User4", "User5", "User6",…

tomsu
- 371
- 2
- 16
0
votes
1 answer
how to put in selectInput of R.shiny many levels with few line of code
I want to put in selectInput of Rshiny all the levels of a variable (which is character) with the few lines of code.
var<-c("a","a","b","b","c","d")
I want to have something like this
c("a"="a", "b"="b", "c"="c", "d"="d")
then like this
c("Whole…

Seydou GORO
- 1,147
- 7
- 13