update_variable_info: Update Variable Information in a mass_dataset Object

View source: R/update_mass_dataset.R

update_variable_infoR Documentation

Update Variable Information in a mass_dataset Object

Description

This function updates the variable_info and variable_info_note slots of a mass_dataset object. It ensures that the columns in variable_info are consistent with the names in variable_info_note.

Usage

update_variable_info(object)

Arguments

object

A mass_dataset object whose variable_info and variable_info_note slots you want to update.

Value

A mass_dataset object with updated variable_info and variable_info_note slots.

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

## Not run: 
# Assuming `md` is a mass_dataset object
updated_md <- update_variable_info(md)

## End(Not run)


tidymass/massdataset documentation built on Jan. 30, 2024, 2:55 p.m.