This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
wind_turbine <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-10-27/wind-turbine.csv') | |
p1 <- ggplot(wind_turbine, aes(x = rotor_diameter_m, y = turbine_rated_capacity_k_w)) + | |
geom_point() + | |
stat_smooth(method = "lm") + | |
ggtitle("Capacity vs rotor diameter") + | |
ylab("Capacity [kW]") + | |
xlab("Rotor diameter [m]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(shinydashboard) | |
# Define UI for application that draws a histogram | |
ui <- dashboardPage(title = "Simple dashboard", | |
header = dashboardHeader(), | |
sidebar = dashboardSidebar(), | |
dashboardBody(actionButton("open_modal", "Open modal"), | |
textOutput("chosen_fruit")) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(patchwork) | |
library(glue) | |
tib <- | |
tribble(~sector, ~poor_overall, ~population_portion, ~poor_percent, | |
"secular", 0.27, 0.66, 0.086, | |
"ultra-orthodox", 0.26, 0.11, 0.52, | |
"arab", 0.454, 0.2, 0.47, | |
"others", 0.016, 0.03, 0.113) %>% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"000" | |
"00O" | |
"0O0" | |
"0OO" | |
"O0O" | |
"OO0" | |
"OOO" | |
series_length <- 42 |
OlderNewer