attach_dataset_metadata: Attach Standard Metadata to Dataset

View source: R/helpers_dataset.R

attach_dataset_metadataR Documentation

Attach Standard Metadata to Dataset

Description

Attaches standardized metadata attributes to a dataset. Consolidates metadata attachment logic used across all dataset functions.

Usage

attach_dataset_metadata(
  data,
  source = c("web", "github", "bundled"),
  category = NULL,
  extra_info = list()
)

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 in inst/extdata).

category

Character or NULL. Dataset category/table name.

extra_info

List. Additional metadata to include in download_info.

Value

The data with metadata attributes attached.


realestatebr documentation built on June 5, 2026, 5:07 p.m.