update ALL metadata attributes for JUST 1 pkg dataset AND save in EJAM/data/
Source:R/utils_metadata_add.R
metadata_add_and_use_this.Rdupdate ALL metadata attributes for JUST 1 pkg dataset AND save in EJAM/data/
Usage
metadata_add_and_use_this(
objectname,
metadata = NULL,
update_date_saved_in_package = TRUE,
update_ejam_package_version = TRUE
)Arguments
- objectname
text/character string of object name (ie quoted), not the unquoted object itself
- metadata
passed to
metadata_add(). optional - when omitted, it checks metadata_mapping using get_metadata_mapping(). Can provide a list of key=value attributes to add- update_date_saved_in_package
passed to
metadata_add(). can set to FALSE to avoid changing this attribute- update_ejam_package_version
passed to
metadata_add(). can set to FALSE to avoid changing this attribute
Value
just for side effects (unlike metadata_add() which returns the updated object)