All Questions
364 questions
0
votes
1
answer
64
views
Shiny extracted number leads to en error when using "between" function
EDIT (but not solved yet)
This following code leads to the error:
# Possible result with num_src() == 6 & num_ong() == 4
donnees = tribble(
~epci.res,~annee,~an_muta,~natloc3,~n,~pct,~total
...
-2
votes
1
answer
64
views
Issue with filter() when inputting .csv file in Shiny R [closed]
I am having issues importing data from a .csv file input, and then filtering the date from that file. If I hardcode the file using data_input <- read.csv('Testy.csv'), the app runs smoothly. ...
0
votes
1
answer
92
views
How to add date filter to graph?
I am writing an app that allows the user to select a date range, and the graph will change accordingly. However, I am having issues with my filter() function. If I hardcode the dates i.e. y >= '6/...
1
vote
1
answer
222
views
Reload Data from database in shiny app by clicking action button multiple times
I want to display data from a sql database in a shiny app.
There is always new data coming, so it is convenient to click on the action button to display the newest data.
here is an example of how I do ...
1
vote
0
answers
64
views
Remove Column Headers from Tibble - Shiny Dashboard
I make a data frame as shown below that is then rendered to a table in a drop down menu in a shiny app. I want to remove the column headers "." and ".." due to the format of the ...
0
votes
1
answer
14
views
define dplyr objects in shiny without reactive
Is there a way to create an interim dplyr object in server section of a shiny app that is filtered by an input$var argument from the ui section that is not wrapped in reactive() so that after it is ...
0
votes
1
answer
92
views
Excel Report Generation Issues with openxlsx in R Shiny App
I'm developing a Shiny app that processes financial data and generates a formatted Excel report. The data processing part works perfectly as a standalone script, but when integrated into Shiny, the ...
2
votes
1
answer
210
views
Refer to other columns in reactable groupby aggregate expression
I have a dataframe that I'd like to leverage reactable with expandable groupings. I know I can use the groupby argument and then specify the aggregation in the colDef for each metric however, in some ...
1
vote
1
answer
31
views
Rshiny add external function
I have this dataframe:
df <-
data.frame(
w = seq(1, 5),
m = seq(6, 10),
y = seq(11, 15)
)
And this switch
grp <-
switch ("W",
"W" = c("w&...
0
votes
0
answers
31
views
How to create an auto-incremental column based on two other columns in R Shiny?
I work with R Shiny.
My app imports a CSV file and just after I'd like to add a new auto-incremental column called "campagne".
With that new column, the structure of my CSV would be the one. ...
1
vote
1
answer
38
views
Text not displayed correctly in R Shiny app (although no code error is shown but it's not doing what I write)
I am building a simple income-search tool where individuals can enter their job title, monthly wage, and city, and as an output they can learn how their wages compare to the median wage of other ...
0
votes
0
answers
77
views
Can I filter a dataframe so that only rows that contain certain substrings are included?
Say I have a dashboard in R Shiny that allows users to filter on a table about dogs using a multiple-select "dogs filter" as defined in my ui section below
virtualSelectInput(
inputId =...
1
vote
0
answers
33
views
Different performance in RStudio and local R shiny session
I'm writing a simple R Shiny app to visualize some data. The approach I'm currently using is to load all data in the beginning, and then allow the user to filter it using controls. The data is ...
1
vote
1
answer
457
views
How can I create a reactive table in a flexdashboard or Shiny app, where the table output depends on the selected item in a drop-down list?
I am brand new to shiny apps/flexdashboard in R. I have a csv file that I would like to use to create a reactive dashboard. My aim is to have a drop down list on the left panel that, when an item is ...
0
votes
1
answer
40
views
Matching/approximating string words with textInput() (R shiny)
I am building a basic search tool where someone can enter their job title, monthly wage, and city, and as an output they can learn how their wages compare to the median wage in their area controlling ...