export_browser_metadata: Export metadata file for dfr-browser

export_browser_metadataR Documentation

Export metadata file for dfr-browser

Description

Exports the meta.csv[.zip] metadata file for dfr-browser. This is a convenience function in case you wish to re-export metadata without changing anything else. Equivalent results can be achieved by modifying the metadata on the model object before calling export_browser_data.

Usage

export_browser_metadata(file, meta, zipped, overwrite, index, header = FALSE)

Arguments

file

output file name

meta

data frame with metadata, one row per document

zipped

compress output?

overwrite

clobber existing file?

index

if non-NULL, output is assumed to go into an element with ID m__DATA__meta in an HTML file at this path. file is ignored.

header

if TRUE, output header row (by default, dfr-browser does not expect one)

Details

This file simply writes the supplied meta frame as a headerless CSV according to the conventions expected by the default settings in dfr-browser.

See Also

export_browser_data for a more automated export of all model information at once


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.