get_original_pattern | R Documentation |
A helper function that finds the original dimension pattern name in an SL4 or HAR dataset
that matches a given pattern. Used internally in get_data_by_dims()
.
get_original_pattern(pattern, data_obj, mix_patterns = FALSE)
pattern |
Character. The pattern to search for in dimension structures. |
data_obj |
An SL4 or HAR object containing dimension information. |
mix_patterns |
Logical. If |
Performs a case-insensitive comparison to identify matching dimension patterns.
Supports flexible pattern matching when mix_patterns = TRUE
, allowing dimension order to vary.
Returns the standardized dimension pattern name as stored in the dataset.
The original dimension pattern name as a character string, or NULL
if no match is found.
Pattawee Puangchit
pattern_match
, process_pattern
, get_data_by_dims
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.