full_common_index: Combine indices for coalesce

View source: R/index-ops.R

full_common_indexR Documentation

Combine indices for coalesce

Description

Combine indices for coalesce

Usage

full_common_index(idx_x, idx_y)

Arguments

idx_x

an index (data frame of unique combinations)

idx_y

an index (data frame of unique combinations)

Examples

t1 <- new_idx_tibble(tibble::tibble(year = 2005, value = 1), idx = "year")
t2 <- new_idx_tibble(tibble::tibble(year = 2010, value = 2), idx = "year")
## Not run: 
full_common_index(index(t1), index(t2))

## End(Not run)

jameelalsalam/indexvctrs documentation built on Oct. 28, 2023, 3:26 a.m.