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
################################################################################ | |
# | |
# Sex ratios 11-10-2016 | |
# Sex ratios VS age in all HMD countries | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
# load required packages | |
require(dplyr) # version 0.5.0 |
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
############################################################################### | |
# | |
# Sweden 26-11-2016 | |
# HMD data: illustrate gender difference in mortality | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
# The code is written and tested on a x86_64-pc-linux-gnu (64-bit) machine | |
# R version 3.3.2 |
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
structure(list(stat_levl = c(3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, | |
3L, 3L, 3L, 3L, 3L, 3L), shape_area = c(0.0653899829698, 1.3762043666, | |
1.25499783393, 0.93856596625, 0.427473808209, 0.663122706002, | |
0.396481635382, 0.613580039208, 0.579619503146, 0.841022895036, | |
0.872238590611, 0.638449668327, 0.489022847964, 0.685501846886 | |
), shape_len = c(1.22710623792, 7.30786673034, 5.79400468308, | |
4.37316699851, 3.20638532907, 4.88925982656, 3.36453264071, 4.58107671594, | |
4.02423661604, 4.33880950383, 5.77002769494, 5.08364809113, 3.24035456572, | |
4.77048859037), id = c("CZ010", "CZ020", "CZ031", "CZ032", "CZ041", | |
"CZ042", "CZ051", "CZ052", "CZ053", "CZ063", "CZ064", "CZ071", |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-12-04 | |
# Generate some snow for Sophia | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
library(tidyverse) |
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
# install dev version of ggplot2 | |
devtools::dev_mode() | |
devtools::install_github("tidyverse/ggplot2") | |
library(tidyverse) | |
library(sf) | |
library(rmapshaper) | |
library(ggthemes) | |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-12-10 | |
# Data acquisition in R 3/4 | |
# https://ikashnitsky.github.io/2017/data-acquisition-three | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-12-27 | |
# Data acquisition in R - Parts 1/4, 2/4, 3/4 | |
# For Russian translation at https://habrahabr.ru/post/345664/ | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
# load required packages |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-11-07 | |
# Data acquisition in R - Part 2/4 | |
# https://ikashnitsky.github.io/2017/data-acquisition-two | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
# load required packages |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-10-17 | |
# Data acquisition in R - Part 1/4 | |
# https://ikashnitsky.github.io/2017/data-acquisition-one | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
# load required packages |
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
################################################################################ | |
# | |
# ikashnitsky.github.io 2017-07-18 | |
# Accessing Eurostat data using the `eurostat` R package | |
# Young people neither in employment nor in education and training in Europe | |
# Ilya Kashnitsky, ilya.kashnitsky@gmail.com | |
# | |
################################################################################ | |
library(tidyverse) |
OlderNewer