Questions tagged [bs4dash]
60 questions
0
votes
1 answer
beautiful soup 4 issue in mulitple data fetching. it is confusing me
When i am fetching one data it is working fine as i mentioned below code. Whenever i am finding all datas in a similar tagging (example - {'class': 'doctor-name'}) it showing output as none.
Single tag output
from bs4 import BeautifulSoup
s = """

Rabiyulfahim
- 77
- 8
0
votes
1 answer
dateRangeInput() is not aligned in shinydashboard when we use it with uiOutput()
I need to set the input date dynamicallly in my app and therefore I need to use uiOutpot/renderUI for dataRangeInput. However when I put it directly in "ui" as in this simple example:
library(shiny)
library(bs4Dash)
shinyApp(
ui = dashboardPage(
…

Farhad
- 151
- 7
0
votes
1 answer
Resize bs4Dash controlbar on button click
I want to resize my bs4Dash controlbar on a button click- specifically, when clicking on a controlbaritem button. I can't seem to get updateControlbar() to work the way I want it to (e.g, resize the controlbar from 350 to 600px). Is my requirement…

FreyGeospatial
- 325
- 4
- 17
0
votes
0 answers
Count of a specific word from the entire website in Python
I need to find the matches of a WORD from the entire website, for example:
Find all the words "tutorial" in the web https://www.w3schools.com/
I tried the following Python code but it returns me the count of home pages and its dropdown tabs…

Annu
- 23
- 4
0
votes
1 answer
How to make bs4Dash Box within Box appear inline and with equal widths
Using bs4Dash, I am trying to create a box that contains several other boxes, have them horizontally aligned, and span equal-distances across the page no matter how big or small the window is. I was able to get the boxes in-line using a div(), but…

FreyGeospatial
- 325
- 4
- 17
0
votes
1 answer
R bs4dash fresh package doesn't work properly
According to the documentation in https://cran.r-project.org/web/packages/fresh/vignettes/vars-bs4dash.html
bs4dash_status(light = "red") should render a red background in the navbar. However, it doesn't. It still remains white. Any thoughts as…

NellieG
- 83
- 7
0
votes
1 answer
Having difficulty nesting action button inside bs4card
I am trying to build a modular shiny app and one important component in the app is bs4cards that have a dropdown menu and the in the menu there is a save button that will save the content of the card.
Here is the code for the two modules that I…

Abdelouahed BEN MHAMED
- 103
- 9
0
votes
1 answer
How do you change the color of title of table generated with DT library in shiny app?
I am rendering a table in my shiny app. Table is generated with DT library.
This is the code:
output$table <- DT::renderDataTable(DT::datatable({# Displaying table in section tab for principal and director
if…

Mausam Singh
- 11
- 2
0
votes
1 answer
Add conditional text outpuT to cardprofile
I am using a cardProfile from bs4Dash library to show the current user in my Shiny app.
The cardProfile looks like this in the ui part:
cardProfile(
src = "logo.png",
title = 'SHOW HERE THE USERNAME'
subtitle = "Administrator",
…

gacero
- 118
- 9
0
votes
1 answer
Reactively updating sidebar in modular Shiny app
I have a modularized Golem app using bs4Dash. I want to update the active sidebar tab from an actionBttn that is dynamically generated from renderUI. While updatebs4ControlbarMenu works as expected as shown here, it does not work in the modularized…

AJMA
- 1,134
- 2
- 13
- 28
0
votes
1 answer
BeautifulSoup find the url out of the result of the find_all
url = 'http://www.xxx'
html = urllib.request.urlopen(url).read()
soup = BeautifulSoup(html, 'html.parser')
s1 = soup.find_all(id="contents")
print(s1, "\n")
The output of the find_all:
[

SOO KIM
- 15
- 5
0
votes
1 answer
Iteration inside fluidRow() with for and if statement in R
I am trying to use fluidRow inside a bs4TabItem that will have a maximum of 3 bs4UserCard items. The fluidRows should be built dynamically inside a for loop and the max. 3 bs4UserCard should also be built dynamically inside a for loop. Below is a…

Ravi
- 86
- 6
0
votes
1 answer
R Shiny load hidden sidebar in the background (using bs4Dash package)
I've built a R Shiny dashboard using bs4Dash. This package allows me to create a bar on the right side for input selectors, so I can use the left menu for navigation. The right side bs4DashControlbar is hidden when the app launches. Problem is that…

Jason
- 95
- 1
- 7
0
votes
0 answers
Shiny selectInput doesn't react to tab selection
Here is my problem, I have a couple of tabs and I'm trying to update a map according to a choice in the selectInput() function.
The select option in inputSelect() is activated and points to Los Angeles which should activate the ObserveEvent() or…

Pablo Armendariz
- 67
- 1
- 7
0
votes
1 answer
How can I make an bs4Dash accordion item be expanded on startup in r shiny?
Is it possible to have a bs4Dash accordion item to be expanded on startup? In my knowledge the accordion function doesn’t have an input value so I guess that you have to use some javascript instead, but my javascript knowledge isn't very good.
Here…

motch
- 458
- 4
- 13