This file contains hidden or 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
map_filter <- function(dataset, variable, list_values, rbind = FALSE){ | |
variable <- enquo(variable) | |
for_one_dataset <- function(dataset, variable, value){ | |
dataset %>% | |
filter((!!variable) == value) | |
} | |
if (rbind) { |
This file contains hidden or 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
# modified from https://www.brodrigues.co/blog/2018-10-05-ggplot2_purrr_officer/ | |
create_pptx <- function(plt = last_plot(), path = file.choose()){ | |
if(!file.exists(path)) { | |
out <- read_pptx() | |
} else { | |
out <- read_pptx(path) | |
} | |
out %>% |
This file contains hidden or 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
dotspacemacs-configuration-layers | |
'(elm | |
python | |
helm | |
auto-completion | |
;; better-defaults | |
emacs-lisp | |
ess | |
themes-megapack | |
version-control |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or 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
"Order","Level","Code","Parent","Description","This item includes","This item also includes","Rulings","This item excludes","Reference to ISIC Rev. 4" | |
"398481","1","A",,"AGRICULTURE, FORESTRY AND FISHING","This section includes the exploitation of vegetal and animal natural resources, comprising the activities of growing of crops, raising and breeding of animals, harvesting of timber and other plants, animals or animal products from a farm or their natural habitats.",,,,"A" | |
"398482","2","01","A","Crop and animal production, hunting and related service activities","This division includes two basic activities, namely the production of crop products and production of animal products, covering also the forms of organic agriculture, the growing of genetically modified crops and the raising of genetically modified animals. This division includes growing of crops in open fields as well in greenhouses. | |
Group 01.5 (Mixed farming) breaks with the usual principles for identifying main activity. It accepts that many ag |
This file contains hidden or 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
unmap T | |
map t scrollLeft | |
map n scrollRight | |
map r scrollDown | |
map s scrollUp | |
map d removeTab | |
map u restoreTab | |
map v previousTab | |
map l nextTab | |
map J Vomnibar.activateInNewTab |
This file contains hidden or 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
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, | |
{ MODKEY, XK_u, spawn, {.v = rofi_run} }, | |
/* { MODKEY, XK_b, togglebar, {0} },*/ | |
{ MODKEY, XK_t, focusstack, {.i = +1 } }, | |
{ MODKEY, XK_s, focusstack, {.i = -1 } }, | |
{ MODKEY, XK_i, incnmaster, {.i = +1 } }, | |
{ MODKEY, XK_d, incnmaster, {.i = -1 } }, | |
{ MODKEY, XK_c, setmfact, {.f = -0.05} }, | |
{ MODKEY, XK_r, setmfact, {.f = +0.05} }, | |
{ MODKEY, XK_comma, zoom, {0} }, |
This file contains hidden or 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
--- | |
title: "Title goes here" | |
output: | |
flexdashboard::flex_dashboard: | |
orientation: rows | |
social: menu | |
source_code: embed | |
runtime: shiny | |
--- |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or 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
country_name visual question_statistic response_type result_percent | |
Afghanistan Population Pyramid Female population, 14 or younger (in thousands) 7318 | |
Afghanistan Population Pyramid Female population, 15-24 years old (in thousands) 3413 | |
Afghanistan Population Pyramid Female population, 25 to 34 years old (in thousands) 2210 | |
Afghanistan Population Pyramid Female population, 35 to 49 years old (in thousands) 1965 | |
Afghanistan Population Pyramid Female population, 50 to 64 years old (in thousands) 992 | |
Afghanistan Population Pyramid Female population, 65 years old or older (in thousands) 449 | |
Afghanistan Population Pyramid Male population, 14 or younger (in thousands) 7705 | |
Afghanistan Population Pyramid Male population, 15-24 years old (in thousands) 3649 | |
Afghanistan Population Pyramid Male population, 25 to 34 years old (in thousands) 2421 |
This file contains hidden or 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
Series Name | Series Code | Country Name | Country Code | 2018 [YR2018] | |
---|---|---|---|---|---|
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Afghanistan | AFG | 62.5 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Albania | ALB | 9.5 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Algeria | DZA | 23.8 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | American Samoa | ASM | .. | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Andorra | AND | 3.1 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Angola | AGO | 77.7 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Antigua and Barbuda | ATG | 6.9 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Argentina | ARG | 9.8 | |
Mortality rate, under-5 (per 1,000 live births) | SH.DYN.MORT | Armenia | ARM | 12.4 |
This file contains hidden or 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) | |
data("population") | |
head(population) | |
pop_wide <- population %>% | |
pivot_wider(names_from = country, values_from = population) |