Just curious if anyone has ever tried shinylive at the same time as webexercises and whether the two play nicely with each other?
#rstats
#rshiny
#shinylive
Anyone else using #shinylive with #rstats having trouble getting nice plotting packages like #ggplot2 or #plotly to work? Curious what work arounds there are. Many thanks! ( #shiny works fine)
Asking #quarto experts: is it possible to render quarto files containing python #shinylive code in #Rstudio using a virtual environment?
Maybe @christof has some ideas?
Now it is built in #shinylive so it runs in your browser! How cool is that - R running in your browser!?!?
Don’t get me wrong: I still use the full power of the tidyverse or other high-level packages for local analysis and server-hosted Shiny apps. But for #webr and #shinylive, I don’t think that’s always the most efficient approach.
Made an app so you can view daily updates of this chart & compare other administrations and metrics like unemployment and inflation 🤓
It updates daily, so check it tomorrow to see today's continued US market collapse 🤠
jhelvy.github.io/potus-econ-s...
Built with #rstats #shinylive #quarto
gif of a screen recording showing how the app works. click to upload the document, then click analyze and it prints out either that you have no target words or gives a table of how many of each word there are in the document
Coded up a little app so you can see if your document contains any of the MAGA trigger words ("diversity", etc.). Hopefully it makes proposal writing a little easier. Built with #Quarto, #rshiny, #shinylive, #Rstats, and rage.
jhelvy.github.io/magaScreener/
KMFR percentage of time with VFR conditions, by time of day and month of year.
Added Leaflet map-based airport selection for METAR analysis
Added KMFR for METAR analysis -- Nov - Feb in the mornings looks rough...
And, I added a #Leaflet driven map page to display all available airports with click to select. It was surprisingly easy!
Anyone else for more airports?
#aviation #avgeek #studentpilot #shinylive
3/
There's a bug sometimes when just ONE plot doesn't update. No idea why. Load a different airport and then reload the first one. <shrug>
Being hosted as a static site on GitHub pages, which is really cool. Previously, #shiny apps needed a server; with #shinylive, running it in the client browser
2/
I've downloaded data at 17 airports. Please suggest more, for personal interest or crazy weather!
Loading time is SLOW because #shinylive is sending code to run the analysis in YOUR browser. Updating personal minimums causes a pause as it analyzes ~250k hourly METAR reports live.
Front page of dashboard app with information panel and 5 plots: 1) Select airport that I've pre-fetched data on (17 now, easy to add more). Data from ~25 years with 241k hourly data points. Runway info (used to calculate crosswinds) 2) Line plot showing by time of day and month % time of VFR conditions 3) Same as (2) but with a heat map 4) Plot of frequency of reported wind directions 5) Heat map of 75th percentile of crosswind on best runway, by time of day and month 6) Median temperature, by time of day and month Line plot is via Plotly, so the plots are interactable (hover over lines, click lines to hide/show)
Second page of METAR analysis dashboard, showing by time of day and month of year percentages of each of 4 classification categories: LIFR, IFR, MVFR, and VFR The next page, with personal minimums, is useful to see which factor contributed to the non-VFR classification. Line plots are all via Plotly, so the plots are interactable (hover over lines, click lines to hide/show)
Third page of METAR analysis dashboard, where you can enter personal minimums of: max wind, max crosswind, max wind gust, minimum ceiling, and minimum visibility. 6 plots are generated which show, by time of day and month of year, what percentage of time each of these minimums is met, as well as when ALL of the minimums are met. In this example, the primary reason for non-VFR conditions at KVNY in May and Jun ~6 - 8 am is low ceilings (likely fog). Line plots are all via Plotly, so the plots are interactable (hover over lines, click lines to hide/show)
List of the currently 17 airports that I have downloaded data for. Pretty easy to add more, so let me know if there are specific airfields you are interested.
Used #rstats #shinylive to analyze 20 years of hourly weather data at 17 airports. Visualize conditions by time of day and month. Enter personal mins and and see updates. Useful for #studentpilots to predict best times to fly.
LOADS SLOW: jhchou.github.io/metar_analys...
#aviation #avgeek #dataviz
I’m planning to implement a #shinylive dashboard in #Rstats. It looks like #Posit #shinydashboard has been abandoned. Should I be learning about #bslib or is there another recommendation? Any tips or pitfalls?
When running as a #shinylive deployed app all data is analyzed on client, so no data is sent over internet (privacy). But initial load is SLOW.
The code is messy (app grew organically...) and I plan to do some major refactoring and add a number of improvements. Code is open source under AGPL v3.
Growth calculations after uploading CSV file, for a preterm baby, with calculation of Z-scores and percentiles.
Growth curve generation and plotted points after uploading CSV file, for preterm baby. Can hover over points and curves for more information. User can choose which percentile curves to display.
Table of 120+ distinct growth curves available for analysis. |chart |measures | |:---------------------|:------------------------------------------------------------| |abdel-rahman_2017 |arm_circ (cm) | |addo_2010_skin |subscapular (mm), triceps (mm) | |brooks_gmfcs_1 |bmi (kg/m2), height (cm), weight (kg) | |brooks_gmfcs_2 |bmi (kg/m2), height (cm), weight (kg) | |brooks_gmfcs_3 |bmi (kg/m2), height (cm), weight (kg) | |brooks_gmfcs_4 |bmi (kg/m2), height (cm), weight (kg) | |brooks_gmfcs_5_nt |bmi (kg/m2), height (cm), weight (kg) | |brooks_gmfcs_5_tf |bmi (kg/m2), height (cm), weight (kg) | |cappa_2024 |height (cm), height_velocity (cm/year), weight (kg) | |cdc_2000_bmi |bmi (kg/m2) | |cdc_2000_infant |head_circ (cm), length (cm), weight (kg) | |cdc_2000_pedi |height (cm), weight (kg) | |cdc_2000_wt_for_ht |weight (kg) | |cdc_2000_wt_for_len |weight (kg) | |fenton_2003 |head_circ (cm), length (cm), weight (kg) | |fenton_2013 |head_circ (cm), length (cm), weight (g) | |mramba_2017 |arm_circ (cm) | |olsen_2010 |head_circ (cm), length (cm), weight (g) | |olsen_2015_bmi |bmi (g/cm2) | |who_2006_infant |head_circ (cm), length (cm), weight (kg) | |who_2007_skin_arm |…
On-the-fly growth chart generation. Without uploading a CSV file, still possible to generate growth curves. Percentile curves can be chosen by the user (here there are a silly number included). This is done with Plotly, so it's possible to hover over curves + points, as well as zoom in / out / etc.
Free analysis of 120+ distinct growth curves -- preterm, infant, pediatric, WHO and CDC, Down and Noonan, cerebral palsy. Weight, head, length/stature, skinfold, arm circ
Calculations performed LOCALLY via #RStats #shinylive (magic!)
Initial release peditools.org/peditools_un...
#PedSky #NeoSky
Ok, that all makes a lot of sense, thanks for the explanations.
For now we will leave #hclwizard as it is as we just updated the docker container and switched the landing page to #quarto.
But I want to try out #shinylive at some point. Just didn't get round to it yet.
🧬 How to implement, visualise, and interpret simulations of genetic drift in R.
emilmalta.github.io/blog/2025-01...
Spent a long time exploring Wright-Fisher model. And made a shinylive app!
#rstats #shinylive #genetics #genomics #databs #bioinformatics #biostatistics #populationgenetics #databs
📦 peeky: Now extracts complex #Shinylive apps with nested files & binary data!
New vignette walks through converting #RShiny/#PyShiny apps to Shinylive AND back again.
Coming soon to CRAN (?!)
📝 Vignette: r-pkg.thecoatlessprofessor.com/peeky/articl...
💻 Code: github.com/coatless-rpk...
I saw this and wondered whether #shinylive would be a good approach.
- R (strong analytics + visualization)
- Run LOCALLY in browser (other than fetching app) +source code completely open (safety)
- Data saved locally (maybe encrypted disk image?)
Would love to support an endeavor like this.
Creating a flight plan in SkyVector. Export as a .FPL file
Loading the SkyVector .FPL plan, set some camera values, and export as a Google Earth .KML tour
Opening the .KML file in Google Earth and playing it as a movie. The camera angles always point directly at the next waypoint, to help orient you for what to expect to see during the flight.
Real life view from the Cessna 172 during my first ever solo cross-country. This is the Cape Cod canal on my way back to KOWD from KHYA, similar to the Google Earth screenshot view.
I wrote a tool to convert a #SkyVector flight plan into a #GoogleEarth movie tour, to help prep for VFR cross-country flights.
Free to use at jhchou.github.io/flight_plan_...
Runs fully in the client from GitHub Pages thanks to the magic of #rstats, #webr and #shinylive. #aviation #studentpilot
As far as I’m concerned, #webr and #shinylive is indistinguishable from magic.
I can’t believe that since first installing #quarto-webr a few hours ago till now, I’ve gotten a relatively complicated #shinyapp exported, deployed, and running serverless.
This is magic. #rstats
Further #shinylive experiments: gilead-biostats.github.io/gsm.dash/das...
It will ask you to generate a github PAT. The PAT never leaves your device and is only used to read info about your repos, but it silently saves in a cookie right now. That will be cleaner soonish. #RStats #RShiny
A web browser with a document titled "ShinyLive Experiment" at localhost:4279. The document has an embedded shinyLive element, displaying text "The variable from outside Shiny is: valueSetViaJS". The developer console is open, with messages "Shiny is fully initialized!", "Shiny app is ready. Sending variable...", and "Shiny app acknowledged the var."
I'm finally experimenting with something I've been meaning to try with #shinylive in #quarto 😈 #RStats #RShiny #JavaScript
The hexagonal package logo for the new {peeky} R package.
An animated GIF showing {peeky} downloading the embedded Shinylive applications inside of the official Shinylive Quarto extension documentation page and a standalone Shinylive application. The initial applications are written using Shiny for Python; but, the tool works with both R and Python as shown in the later standalone application that downloaded and loaded the R Shiny application.
Introducing {peeky} R pkg 📦!
Download and extract #Shinylive apps from #Quarto documents or standalone URLs. Perfect for exploring, learning from, and remixing #Shiny applications in both #rstats and #python. Emphasizes "there are no secrets" in #wasm.
🐙 github.com/coatless-rpk...
I've decided trying out to try out the #shinylive magic on a shiny app using the `sf` package. However, `sf` doesn't seem to work, and leads to error messages, both using the cran and the #runiverse version. Things get stuck when exporting the app, with either an "access denied" here […]
Example of the deployed Python Shinylive app on a hosted domain. This Shiny for Python app was translated from the prior tutorial's R Shiny app.
A screenshot showing the summary page for the GitHub actions worker that converted the Shiny for Python app into a Python Shinylive app and then deployed it to the repository's GitHub Pages website automatically. Note, that the compressed size of the application is about 39.3 MB.
Excited to share a follow-up to my prior tweet! This time, diving into deploying #python #pyshiny apps on #github using #shinylive. We focus again on saying goodbye to cluttered repo histories - we're keeping it clean and efficient! 🚀
github.com/coatless-tut...
Shinylive -serverless shiny - is a really cool new development from @posit_pbc, announced by @jcheng at the recent Posit::conf!
Join @OSPpatrick and I as we look to deploy a simple #shinylive app on github pages!
#rstats
Bit.ly/TidyX_Ep161