diff --git a/public/articles/lfsclean.html b/public/articles/lfsclean.html index 149a2cf..637673f 100644 --- a/public/articles/lfsclean.html +++ b/public/articles/lfsclean.html @@ -100,14 +100,22 @@
The lfsclean()
wrapper function is used to process
multiple quarterly cross-sectional LFS data files into a single dataset
of cleaned variables.
-#### read in and clean raw data using the package
+## Load the package and other useful libraries
+
+library(lfsclean)
+library(tidyverse)
+library(ggthemes)
+library(zoo)
-####################
## input arguments
root <- "C:/"
@@ -128,6 +136,10 @@ Package use
keep_vars = keep_vars,
complete_vars = complete_vars,
deflator = deflator)
The lfsclean_5q()
wrapper function is used to process
the raw five-quarter longitudinal data. The arguments are simular to
those used for the quarterly data cleaning function. year
@@ -137,7 +149,14 @@
-## input arguments
+## Load the package and other useful libraries
+
+library(lfsclean)
+library(tidyverse)
+library(ggthemes)
+library(zoo)
+
+## input arguments
root <- "U:/"
file <- "ManWin/My Documents/Datasets/Labour Force Survey/longitudinal/tab"
@@ -155,6 +174,7 @@ Package use
ages = ages,
keep_vars = keep_vars,
complete_vars = complete_vars)