View source: R/get_chunk_ids.r
get_chunk_ids | R Documentation |
Get the chunk IDs and files names
get_chunk_ids(df, ..., full.names = FALSE, strip_extension = TRUE)
df |
a disk.frame |
... |
passed to list.files |
full.names |
If TRUE returns the full path to the file, Defaults to FALSE |
strip_extension |
If TRUE then the file extension in the chunk_id is removed. Defaults to TRUE |
cars.df = as.disk.frame(cars)
# return the integer-string chunk IDs
get_chunk_ids(cars.df)
# return the file name chunk IDs
get_chunk_ids(cars.df, full.names = TRUE)
# return the file name chunk IDs with file extension
get_chunk_ids(cars.df, strip_extension = FALSE)
# clean up cars.df
delete(cars.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.