Publications by Swaty

Working with APIs

23.03.2022

Load the necessary packages and set plotting default rm(list = ls()) ## First specify the packages of interest packages = c("tidyverse", "dplyr","ggplot2","plotly","viridis","gganimate","wbstats","gtrendsR","ggforce","spData","tmap") ## Now load or install&load all package.check <- lapply( packages, FUN = function(x) { if (!requi...

2951 sym R (6276 sym/11 pcs) 8 img

NRE-HW3

23.03.2022

Load necessary packages rm(list = ls()) ## First specify the packages of interest packages = c("rootSolve","ggplot2","kableExtra") ## Now load or install&load all package.check <- lapply( packages, FUN = function(x) { if (!require(x, character.only = TRUE)) { install.packages(x, dependencies = TRUE) library(x, chara...

3866 sym R (4151 sym/21 pcs) 4 img

Web Scrapping

30.03.2022

Load the necessary packages and set plotting default rm(list = ls()) options(scipen=10000) ## First specify the packages of interest packages = c("tidyverse", "rvest","RSelenium","huxtable","leaflet","mapview","tmap","sf") ## Now load or install&load all package.check <- lapply( packages, FUN = function(x) { if (!require(x, chara...

2845 sym R (6327 sym/15 pcs) 3 img 1 tbl

ML & Kaggle

04.05.2022

Load the necessary packages and set plotting default The data is from Housing Prices Competition in Kaggle. Download the data from here train_raw <- read.csv2("./data/train.csv", sep = ",",stringsAsFactors = TRUE) test_raw <- read.csv2("./data/test.csv", sep = ",",stringsAsFactors = TRUE) Basic data exploring & cleaning sum(is.na(train_raw)) ##...

1252 sym R (2291 sym/15 pcs) 6 img

PSM & LASSO

20.04.2022

Music Credit: Royalty Free Music from Bensound Research Question: Do catholic schools have an effect on student’s performance? The key issue is, of course, that students in catholic schools (“Treated”) might be different from those in non-catholic schools (“Control”). The exercise will show how propensity score matching attempts to...

5637 sym R (10238 sym/33 pcs) 10 img 9 tbl