camr_idx_cols
A function is proposed for inclusion with no current implementation.
This simple function creates a tidyselect
helper for indexing columns, following our standard column name convention. Use it as a shorthand to, e.g. join on index columns, select just the index columns, summarize by index columns, etc.
camr_idx_cols <- function(vars=peek_vars(fn='camr_index_cols')) vars[grepl('^IDX\\.', vars)]
We could create a few of these so that 1) we select columns consistently across our code and 2) to encourage use of our conventions across datasets.