pop_temp: pop_temp

Description Usage Arguments

View source: R/pop_temp.R

Description

Create a set of files by populating a template with a set of values taken from rows of a data frame.

Usage

1
2
3
pop_temp(data, template, template_file = "n", output_folder = "./",
  output_name_template = "[[i]]", output_extension = ".txt",
  begin_token = "\\[\\[", end_token = "\\]\\]")

Arguments

data

A data frame containing the values to use.

template

The character object to use as a template.

template_file

The file to use as a template (overwrites template if set).

output_name_template

A template to use when naming the output files (default: row number).

output_extension

File extension of the output files (default .txt).

begin_token

Token in the template to begin substitution (default [[).

end_token

Token to use in the template to end substitution (default ]]).


ram6ler/poptemp documentation built on May 26, 2019, 10:03 p.m.