data_save()
Save data using dot notation or file path
Save data using dot notation or file path
Usage
data_save(
data,
path,
type = NULL,
delimiter = "comma",
locked = TRUE,
force = FALSE
)
Arguments
| Name | Description |
|---|---|
| data |
Data frame to save |
| path |
Either:
Dot notation uses your configured directories
(e.g., |
| type |
Type of data file ("csv" or "rds"). Auto-detected from extension if path includes one. |
| delimiter |
Delimiter for CSV files ("comma", "tab", "semicolon", "space") |
| locked |
Whether the file should be locked after saving |
| force |
If TRUE, creates missing directories. If FALSE (default), errors if directory doesn't exist. |
Value
Invisibly returns the saved data.