template_read {CRediTas} | R Documentation |
The template should be created using create_template()
template_read(file)
file |
A character vector with the path to the csv file |
a data.frame with the content of the csv file
# Create a temporary file for this example
file <- tempfile()
# Create a template and save it to a csv file
template_create(authors = c("Josep Maria", "Jane Doe"), file = file)
# Read the template back (in real life once it has been populated)
template_read(file)