get_banff_dictionary {banffIT}R Documentation

Get the Banff data dictionary

Description

This function gets the data dictionary used to control the consistency of the input dataset.

Usage

get_banff_dictionary(
  version = NULL,
  which = NULL,
  language = "label:en",
  detail = FALSE
)

Arguments

version

A character string referring the version of Banff classification. The most recent classification is the default. Options are "2022" (default), "2017".

which

Indicates which variables to get from the Banff data dictionary. If NULL both input and output variables are provided.*

language

Optional input allowing the user to get the diagnoses in a specific language. Options are "label:en" (default), "label:fr", "label:de", "label:sp", "label:nl", "label:jp", "label:in".

detail

Optional argument indicating whether the data dictionary should include temporary variables generated in the process or not. FALSE by default.

Value

A list of tibbles representing meta data used in the process. The metadata are the list of variables used, and their associated categories, if any.

Examples

{

  get_banff_dictionary()

}


[Package banffIT version 2.0.0 Index]