put_metadata | R Documentation |
Write versioned dataset metadata to a destination.
put_metadata(metadata, destination, verbose = FALSE)
metadata |
a metadata list generated by generate_metadata |
destination |
a local directory path or an arrow SubTreeFileSystem |
verbose |
TRUE /FALSE should the function be chatty? |
TRUE
temp_dir <- tempfile() dir.create(temp_dir, recursive = TRUE) df <- data.frame(a = 1:5, b = letters[1:5]) md <- generate_metadata(df, temp_dir) put_metadata(md, temp_dir) unlink(temp_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.