Description Usage Arguments Details Value Author(s) Examples
build_members()
reconciles and merges the members found in
im_orig_dfs$orig_members
and im_core_dfs$core_members
.
1 2 3 4 5 | build_members(
summarize = TRUE,
split = FALSE,
as_tibble = ironmarch_as_tibble()
)
|
summarize |
|
split |
|
as_tibble |
|
Values found in im_core_dfs$core_members
are preferred. Otherwise values found in
im_orig_dfs$orig_members
are kept.
Data Frame
default: a tibble::tibble()
if as_tibble
is TRUE
and {tibble}
is installed.
alternative: a data.table::data.table()
If split
is TRUE
and summarize
is FALSE
, the result will be a list()
of
data frames.
Brendan Knapp brendan.g.knapp@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # members summarized to single rows ===================================================
build_members()
# all member observations =============================================================
build_members(summarize = FALSE)
# all member observations split into a list of data frames ============================
split_members <- build_members(summarize = FALSE, split = TRUE)
# first three members that appear in both... ==========================================
# ... `im_orig_dfs$orig_members` and `im_core_dfs$core_members`
split_members[
vapply(split_members, function(.x) nrow(.x) == 2, logical(1L))
][1:3]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.