init_cleaning_log: Initiate an empty cleaning log

Description Usage Arguments Value Examples

View source: R/initiate.R

Description

Initiate an empty cleaning log

Usage

1
2
init_cleaning_log(dir, filename = "cleaning_logbook.csv",
  extra_columns = NULL)

Arguments

dir

The directory name of the location where it needs to be saved.

filename

Name of the logbook. Default is cleaning_logbook.csv. Needs to have a csv extention.

extra_columns

Must be a list with the names of the objects being the names of the columns in the cleaning log and the content of the list being the names of the dataset columns associated with it (see example). This is not required.

Value

Nothing, it just writes the empty logbook.

Examples

1
2
3
4
5
6
dir <- getwd()
extra_columns <- list(population_group = "population_group", governorate = "governorate_mcna")
## Not run: 
init.cleaning.log(dir, extra_columns = extra_columns)

## End(Not run)

boukepieter/dclogger documentation built on Feb. 7, 2020, 8:34 p.m.