Shiny app graphing NZ CO2 (eqv) emissions from 1990 to 2010 https://shiny.petras.space/Emissions/
rstats
statistics
rshiny
climate-change
new-zealand

app.R 587B

12345678910111213141516171819202122232425262728293031
  1. library(shiny)
  2. library(ggplot2)
  3. library(scales)
  4. library(tidyverse)
  5. library(readxl)
  6. Emissions.Sector <- read_excel("Emissions1990-2010.xlsx",
  7. sheet = "Sector")
  8. Emissions.Fuel <- read_excel("Emissions1990-2010.xlsx",
  9. sheet = "Fuel")
  10. # Define UI for application that draws a histogram
  11. ui <- fluidPage(
  12. titlePanel("NZ emissions 1990-2010"),
  13. sidebarLayout(
  14. sidebarPanel(
  15. ),
  16. mainPanel(
  17. )
  18. )
  19. )
  20. server <- function(input, output) {
  21. }
  22. shinyApp(ui = ui, server = server)