-
Notifications
You must be signed in to change notification settings - Fork 1
/
00_packages.R
executable file
·25 lines (23 loc) · 1.23 KB
/
00_packages.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# script loads functions needed in this project
require(pacman) || install.packages("pacman")
library("pacman")
pacman::p_load(
codebook, # package to generate automated codebooks, works well for labelled data and SOEP data
esquisse, # for visual data exploring
here, # package to specify paths within R-projects
forcats, # package for working with factors
janitor, # package for data cleaning
knitr, # package for RMarkdown
labelled, # for working with labels
# prettydoc, package for other website layouts
rmarkdown, # package for RMarkdown
sjlabelled, # package for working with labelled data
skimr, # package for compact data description
stringr, # for working with strings
tidyr, # for drop_na() function and data cleaning
rio, # for importing and exporting data
scales, # for wrap_format() function and adapting plot scales
ggplot2, # for plotting
dplyr, # for data wrangling
tidylog # very helpful to know and document what is going on in your data wrangling
)