Skip to contents

gets a file object

Usage

getFile(
  ident,
  from = pwd(),
  addAsLink = TRUE,
  caption = "",
  description = "",
  folderName = "data",
  addIdToName = T
)

Arguments

ident

path, resource or entity ID of the file

from

used for relative paths, by default pwd is used, which is initiated with the step that started improveR

creates a link in inventory if TRUE, warn improveClean has to be run at the end

caption

by default entityID and lastmodified are the caption, here alternative text can be provided

description

by default filename is the caption, here alternative text can be provided

folderName

by default data the subfolder in the workspace where the file is created

addIdToName

by default T prepend the entity ID of the name to avoid collissions

References

ics1141