View source: R/find_sub_table.R
find_sub_table | R Documentation |
When data are provided as blocks of tables within a larger data set, extract those sub-tables as a list.
find_sub_table(data, value_search, edge_search, ...)
data |
The data to extract from |
value_search |
The data value to search for or a function to use
for the search. If a function, it should take in the data plus the
|
edge_search |
A named list with either functions to search for
the edge of the table or an integer indicating how far to move in
that direction to find the edge. If a function, the function
should take in the data, a row index (integer), a column index
(integer) to start the search, a direction (one of the values in
|
... |
Arguments passed to user-provided search functions. |
A list of data frames (or similar) with the found sub-tables.
Other Sub-table finding:
search_fun_edge()
,
search_fun_values_or_edge()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.