Attaches standardized metadata attributes to a dataset. Consolidates metadata attachment logic used across all dataset functions.
Arguments
- data
Data frame or tibble. The dataset to attach metadata to.
- source
Character. Data source:
"web"(fresh from the original source),"github"(the package's GitHub release), or"bundled"(static file shipped with the package ininst/extdata).- category
Character or NULL. Dataset category/table name.
- extra_info
List. Additional metadata to include in download_info.