View source: R/create_data_origin.R
create_data_origin | R Documentation |
Data frame with attributes about the data origin, written to a CSV file and optionally returned.
create_data_origin(file_path, return = FALSE, force = FALSE)
file_path |
File path where the data origin file should be saved. |
return |
Logical value indicating whether the data origin should be returned. |
force |
Logical value indicating whether to overwrite the file if it already exists. |
A data frame containing the data origin information.
tmp_file <- tempfile(fileext = ".csv")
create_data_origin(tmp_file)
read.csv(tmp_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.