keys_match: Match and align keys between two datasets

View source: R/utils.R

keys_matchR Documentation

Match and align keys between two datasets

Description

Match and align keys between two datasets

Usage

keys_match(x, y, keys_names = NULL)

Arguments

x

First dataset containing keys to match

y

Second dataset containing keys to match

keys_names

Names of columns to use as matching keys. If NULL, uses common columns

Value

List containing:

x

First dataset with group IDs

y

Second dataset with group IDs

xy

Matched datasets with aligned group and scenario IDs


mcmodule documentation built on Nov. 25, 2025, 5:10 p.m.