META: Metadata for the master dictionary, stored in a data.table

Description Format Details See Also

Description

This is a data.table for storing metadata for any codelists being developed using the master dictionary (CALIBER_DICT). It is hidden in the CALIBERcodelists namespace, and values can be set by setMetadata.

Format

A data.table with 12 observations on the following 2 variables.

item

a character vector, key column

value

a character vector, value of the item

The data.table contains the following data (item, value):

Author

User-supplied codelist name (without the _gprd, _hes or _opcs suffix)

category

Category numbers, stored as a pipe separated string

Date

User-supplied date to record for the codelist

description

Category descriptions, stored as a pipe separated string

icd10

Whether the ICD-10 dictionary is in use, TRUE or FALSE as a character string

message

Used to temporarily store the output message of compare

Name

User-supplied codelist name (without the _gprd, _hes or _opcs suffix)

opcs

Whether the OPCS dictionary is in use, TRUE or FALSE as a character string

read

Whether the Read dictionary is in use, TRUE or FALSE as a character string

shortname

Brief category descriptions, stored as a pipe separated string

spreadsheet

(Not relevant for Windows) User-supplied name of spreadsheet program for opening .CSV files, e.g. libreoffice

Details

The META table can only be modified by changing the values of a cell by reference. It is sealed inside the namespace so the number of rows and columns, or the type of data in columns cannot be altered while the package is loaded.

If a codelist is generated from the master dictionary using as.codelist, the metadata for the codelist is drawn from the META table.

See Also

setMetadata


CALIBERcodelists documentation built on Feb. 28, 2020, 3:01 a.m.