get_keys: Get Dataset Keys

View source: R/metacore.R

get_keysR Documentation

Get Dataset Keys

Description

Returns the dataset keys for a given dataset

Usage

get_keys(metacode, dataset)

Arguments

metacode

metacore object

dataset

A dataset name

Value

a 2-column tibble with dataset key variables and key sequence

Examples

## Not run: 
meta_ex <- spec_to_metacore(metacore_example("p21_mock.xlsx"))
get_keys(meta_ex, "AE")
get_keys(meta_ex, AE)

## End(Not run)

metacore documentation built on May 29, 2024, 8:54 a.m.