| configure_data | R Documentation |
Interactively add a data source to settings.yml (or settings.yml for legacy projects). Data sources are defined with dot-notation paths (e.g., "source.private.survey") and include metadata like file path, type, and whether the data is locked.
configure_data(
path = NULL,
file = NULL,
type = NULL,
locked = FALSE,
interactive = TRUE
)
path |
Character. Dot-notation path for the data source (e.g., "source.private.survey") |
file |
Character. File path to the data file |
type |
Character. Data type: "csv", "tsv", "rds", "excel", "stata", "spss", "sas", or "auto" |
locked |
Logical. If TRUE, file is read-only and errors on changes |
interactive |
Logical. If TRUE, prompts for missing values. Default TRUE. |
Invisibly returns updated config
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.