Create Description of Variables for Roxygen Documentation
create_desc.Rd
This function uses a data frame (in a data dictionary format) to create a the description section of 'format' for data set documentation with the Roxygen package.
Arguments
- dictionary
A data frame listing at minimum the variable name, variable type and a description column.
- variable_name
A column listing the names of variables
- type
A column listing the type of variable
- description
A column explaining what the variable contains
- copy_to_clipboard
if
TRUE
(default), the description text will be copied to the user's clipboard withclipr::write_clip()
. IfFALSE
, it will be printed to the user's console.