
An employee of the Republic of Indonesia’s Ministry of Finance. Funded by the Indonesia Endowment Fund for Education ("Lembaga Pengelola Dana Pendidikan"), at the moment, on study leave to join a PhD program in the School of Economics, the University of Nottingham with research interests in Indonesia's government bonds market and their bondholders' behaviour. Also a research assistant at tracktheeconomy.ac.uk.
filter(), arrange(), recode(), slice(), slice_min(), slice_max(), slice_head(), slice_tail()select(), relocate(), rename()count(), mutate(), transmute()group_by(), summarise()/summarize(), rowwise()left_join(), inner_join(), right_join(), full_join(), semi_join(), anti_join()ifelse()NA: fill(), replace(), zoo::na.approx(), drop_na()rbind(), bind_rows, cbind(), bind_colspivot_wider(), pivot_longer()geom_point()geom_line()geom_bar(), geom_col()geom_boxplot()geom_histogram()read_csv() or read_excel(),Hmisc::rcorr(as.matrix())stargazer()lm(), lm_robust(), dynlm()broom::tidy()write_csv()Pipe operator: ...then
rm(list=ls())ls()rm(list=ls())ls()
install.packages("tidyverse")library(tidyverse)rm(list=ls())ls()
install.packages("tidyverse")library(tidyverse)
getwd()setwd("/Users/arifpras/OneDrive - The University of Nottingham/BB_KelasData")dir()library(readxl)op_ages <- read_excel(path = "/Users/arifpras/OneDrive - The University of Nottingham/BB_KelasData/KelasData/00_Datasets/OP_all.xlsx", sheet = "OP_ages")DT::datatable(op_ages, fillContainer = FALSE, options = list(pageLength = 3))
library(readxl)op_powers <- read_excel(path = "/Users/arifpras/OneDrive - The University of Nottingham/BB_KelasData/KelasData/00_Datasets/OP_all.xlsx", sheet = "OP_powers")DT::datatable(op_powers, fillContainer = FALSE, options = list(pageLength = 3))

Never trust summary statistics alone.
Source: library(datasauRus); https://github.com/Z3tt/TidyTuesday/tree/master/plots/2020_42
Basic elements:
data = ...geom_aes(x = ..., y = ..., ...)scale_stat_coord_facet_theme()
Source: "Hands-On Data Visualization" by Jack Dougherty & Ilya Ilyankou

Source: https://github.com/allisonhorst/stats-illustrations/

Source: https://github.com/allisonhorst/stats-illustrations/

Visualisasi data tentang utang dan pendapatan per penduduk dengan menggunakan bahasa pemrograman R. Kode bisa dilihat pada tautan https://t.co/YzqY3hmGfc.
— Arif P. Sulistiono (@arifpras) May 1, 2020
Secara rasio, tidak berbeda jauh dengan data rasio utang pemerintah terhadap PDB seperti yang disampaikan @DJPPRkemenkeu. pic.twitter.com/1D6k2nmHsW

Visualisasi data tentang pergerakan nilai tukar #rupiah terhadap dollar AS pada #krisis 2008 dan tahun ini dengan menggunakan bahasa pemrograman #R. Kode bisa dilihat pada tautan https://t.co/YzqY3hmGfc. pic.twitter.com/PMHFjWIJQB
— Arif P. Sulistiono (@arifpras) May 4, 2020


$$ \text{Sales}_t = \alpha_0 + \alpha_1 \text{Chapters}_t + \alpha_2 \text{LastMovie}_t + \alpha_3 \text{VIX index}_t + \upsilon_t $$ $$ \text{Sales}_t = \beta_0 + \beta_1 \text{Pages}_t + \beta_2 \text{LastMovie}_t + \beta_3 \text{VIX index}_t + \epsilon_t $$
library(readxl)op_sales <- read_excel(path = "/Users/arifpras/OneDrive - The University of Nottingham/BB_KelasData/KelasData/00_Datasets/OP_all.xlsx", sheet = "OP_sales")DT::datatable(op_sales, fillContainer = FALSE, options = list(pageLength = 3))
| volume | title | release_date | pages | chapters | sales_mio | last_movie_days | vixi_avg | |
|---|---|---|---|---|---|---|---|---|
| 1 | 50 | Arriving Once Again | 2008-06-04T00:00:00Z | 216 | 10 | 1.441785 | 95 | 23.6 |
| 2 | 51 | The 11 Supernovas | 2008-09-04T00:00:00Z | 232 | 11 | 1.517953 | 187 | 39.95 |
| 3 | 52 | Roger and Rayleigh | 2008-12-04T00:00:00Z | 216 | 10 | 1.476194 | 278 | 48.06 |




Thank you for listening.
Slides created via the R packages:
xaringan and
gadenbuie/xaringanthemer.
The chakra comes from remark.js, knitr, and R Markdown.

An employee of the Republic of Indonesia’s Ministry of Finance. Funded by the Indonesia Endowment Fund for Education ("Lembaga Pengelola Dana Pendidikan"), at the moment, on study leave to join a PhD program in the School of Economics, the University of Nottingham with research interests in Indonesia's government bonds market and their bondholders' behaviour. Also a research assistant at tracktheeconomy.ac.uk.
Keyboard shortcuts
| ↑, ←, Pg Up, k | Go to previous slide |
| ↓, →, Pg Dn, Space, j | Go to next slide |
| Home | Go to first slide |
| End | Go to last slide |
| Number + Return | Go to specific slide |
| b / m / f | Toggle blackout / mirrored / fullscreen mode |
| c | Clone slideshow |
| p | Toggle presenter mode |
| t | Restart the presentation timer |
| ?, h | Toggle this help |
| Esc | Back to slideshow |