du_split_direction: split a large table in one direction if there are blank...

Description Usage Arguments Value

View source: R/extract_table.R

Description

split a large table in one direction if there are blank columns or rows

Usage

1
du_split_direction(df, direction = "col", split_index = FALSE)

Arguments

df

a data frame

direction

"col" or "row", the direction to split the data frame

split_index

whether to return the index where the split is made

Value

If split_index is TRUE, returns a list of data frame. If split_index is FALSE, returns a list of two elements, the first element df contains a list of split data frames, the second element split_index is the index where the split is performed.


yusuzech/dfutils documentation built on Dec. 8, 2019, 4:39 p.m.