split_cells: Split multiple tables in spreadsheets into separate...

Description Usage Arguments

Description

Split multiple tables in spreadsheets into separate dataframes

Usage

1
split_cells(.data, pattern, rows = TRUE, cols = TRUE, starts = TRUE)

Arguments

.data

A table of tidy spreadsheet data (i.e., with columns row, col, and value).

pattern

Pattern to modify behaviour.

rows

One of: a vector of spreadsheet row indexes; a logical vector with length equal to the row count of dataframe .data; or a length-one logical vector (i.e., TRUE or FALSE) applied to all spreadsheet rows.

cols

One of: a vector of spreadsheet column indexes; a logical vector with length equal to the column count of dataframe .data; or a length-one logical vector (i.e., TRUE or FALSE) applied to all spreadsheet columns

starts

Whether the pattern indicates the start of a table or the end of the table.


MEDSL/medslcleaner documentation built on May 31, 2019, 7:39 a.m.