Reading all x3p scans belonging to a single bullet from a folder
Source:R/read_bullet.R
read_bullet.Rd
Read all scans of a specified format from a folder. This operation is recursive, i.e. also reads scans from the folder of a folder.
Value
data frame with two variables, source and x3p, containing the path to the file and the corresponding x3p file
Examples
if (FALSE) { # \dontrun{
dir.create("data")
x3ptools::NRBTDsample_download("data")
b1 <- read_bullet("data/Bullet1", "x3p")
b2 <- read_bullet("data/Bullet2", "x3p")
on.exit(unlink("data", recursive = T))
b1 <- read_bullet(urllist = hamby252demo[[1]])
b2 <- read_bullet(urllist = hamby252demo[[2]])
} # }