readLipd | R Documentation |
Read LiPD files into R workspace
readLipd(path = NULL, jsonOnly = FALSE, parallel = FALSE)
path |
A string specifying a file, url, or directory, or a vector of strings specifying files or urls. Alternatively, no entry (default) will open a selection windw.. |
jsonOnly |
Load data from json only (not lpd file? Typically only used for web connections) |
parallel |
load data in parallel? Default = FALSE. Can greatly increase load time for large collections of data. Uses furrr, so you'll need to run future::plan() before calling the function. e.g. 'future::plan(multisession,workers = 8)' |
D : LiPD dataset(s)
Chris Heiser
Nick McKay
## Not run:
#' read in multiple datasets - no path argument
D <- readLipd() # choose option 'd' for directory
read in multiple datasets - with path argument
D <- readLipd("/Users/bobsmith/Desktop/lipd_files")
read in one dataset - no path argument
L <- readLipd() # choose option "s" for single file
read in one dataset - with path argument
L <- readLipd("/Users/bobsmith/Desktop/lipd_files/dataset.lpd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.