template_read: Read a template from a csv file

View source: R/template_read.R

template_readR Documentation

Read a template from a csv file

Description

The template should be created using create_template()

Usage

template_read(file)

Arguments

file

A character vector with the path to the csv file

Value

a data.frame with the content of the csv file

Examples

# 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)

CRediTas documentation built on April 14, 2023, 12:30 a.m.