Description Usage Arguments Examples
This function performs a number of cleaning and organisation routines to data from KDB.txt. Indiciate whether a routine should or not be performed by adjusting the TRUE/FALSE flags below.
1 2 | process.KDB(KDB, remove_initial_spaces = TRUE, extract_tags = TRUE,
make_lx_ids = TRUE, remove_emptylines = FALSE)
|
KDB |
The KDB data frame returned from read.KDB() |
remove_initial_spaces |
Remove space indents from the content data |
extract_tags |
Extract dictionary codes into a 'tag' column |
make_lx_ids |
Assign a unique sequential integer to each lx item in the dictionary data |
remove_empty_lines |
Remove lines with only spaces. Default is FALSE for retaining human readibility. Suggest TRUE when doing processing to down size the data frame. |
1 2 3 4 5 6 | process.KDB(read.KDB())
KDB <- read.KDB(process_data = FALSE)
KDB <- process.KDB(KDB)
KDB <- process.KDB(KDB, remove_emptylines = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.