metadata_editor: Edits a html file from given csv.

View source: R/metadata_editor.R

metadata_editorR Documentation

Edits a html file from given csv.

Description

Takes data from csv, and edits a default or given html to fill in data from the csv. HTML must be tagmetadata.html or variations, csv should only contain metadata of tag.

Usage

metadata_editor(
  masterHTML = system.file("extdata", "tagmetadata.html", package = "tagtools"),
  csvfilename = system.file("extdata", "blank_template.csv", package = "tagtools")
)

Arguments

masterHTML

default masterHTML is located in the package, or can be changed according to user input.

csvfilename

file name of csv to be used for editing the HTML

Value

A "dynamic tagmetadata.html" which is the masterHTML with changes from csv. This file is written to the current working directory, and also opened for editing by the user.


tagtools documentation built on June 28, 2024, 5:07 p.m.