Skip to contents

See what categories available in each columns in the dataset. This function will mostly be useful in defining the codebook.

Usage

see_file(dt = NULL, ...)

se_fil(dt = NULL, ...)

Arguments

dt

Dataset of type data.frame or data.table

...

Columnames or column index to be displayed. If missing then all columns will be listed.

Examples

if (FALSE) { # \dontrun{
# Read raw data with FILID of 15
dt <- read_file(15)
# Use column index
see_file(dt) #all columns
see_file(dt , c(2,5))
see_file(dt, c(1:3)) #columns 1 to 3
see_file(dt, c(2, 4, 7:9))

# Check the completed FILGRUPPE
DT <- make_file("BEFOLKNING")
# Use columnames
see_file(DT, KJONN, UTDANN, LANDSSB)

} # }