Giter Club home page Giter Club logo

scotpho-profiles-tool's Introduction

ScotPHO profiles tool

In this respository you can find the code used to produce ScotPHO's Online Profiles Tool.

Code

  • data_preparation: reads the data prepared for each indicator and produces a file for the shiny tool. It also prepares a geography lookup, indicator metadata and shapefiles. It's not necessary to run the app.
  • ui: visual interface, what the user can see in the app (main ui script sources separate ui scripts for different tabs within dashboard)
  • server: deals with the server side: produces charts, creates reactive objects, etc. (main server script sources separate server scripts for different tabs within dashboard)
  • global: datasets, functions, objects that are read both by server and ui
  • google-analytics: to allow tracking of visits to the app.
  • gtag: to allow tracking of visits with new Google Analytics 4
  • rsessioninfo: list that includes the R versions used to develop the app as well as the packages used and their versions. -landing-page.hmtl : html script controlling layout of profiles tool landing page ##Folders
  • data: data used in the app, including shapefiles.
  • functions: collection of functions that can be called to generate similar content (eg charts/tables) within the dashboard. Use fo functions reduces duplication of code across different scripts.
  • ui scripts: collection of scripts controlling the user interface for various different tabs within the tool.For ease of navigation and code editing each tab of the dashboard has separate ui scripts
  • server scripts: collection of scripts controlling server side actions of various tabs.For ease of navigation and code editing each tab of the dashboard has separate server scripts
  • www: includes all the images and media used in the app.

scotpho-profiles-tool's People

Contributors

callid01 avatar catherineperkins avatar fejiropaul avatar jvillacampa avatar laurad05 avatar monicamcgibbon avatar scottmg-phs avatar vaelliott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scotpho-profiles-tool's Issues

function lp_main_box is not work for me

Hi your code is prefect and I'm learning from your code.
I copy your function lp_main_box in my code but it's not work , even the pictures cannot be displayed, and the path is right.
This is my code :
`
library(rintrojs)
library(shiny)
ui <- shinyUI(fluidPage(
introjsUI(),
mainPanel(
introBox(
div(class="landing-page-box",
div("title_box", class = "landing-page-box-title"),
div(class = "landing-page-icon", style= paste0("background-image: url(D:/chord_diagram.png);background-size: auto 80%; background-position: center; background-repeat: no-repeat;")),
actionButton("btn", NULL, class="landing-page-button")),
data.step = 1,
data.intro = "hello"
)

)))

server <- shinyServer(function(input, output, session) {
output$mtcars <- renderTable({
head(mtcars)
})
})
shinyApp(ui = ui, server = server)
`

Thanks

App failing to load

The app is failing to load today. It gets stuck on the default "Please Wait" loading screen from shinyapps.io, suggesting shinyapps.io is failing to boot up an instance.

This has been checked across different browsers (Safari/Firefox/Chrome) and machines.

Missing File?

Warning in gzfile(file, "rb") :
cannot open compressed file 'data/deprivation_data.rds', probable reason 'No such file or directory'
Error in gzfile(file, "rb") : cannot open the connection

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.