Operating on results from blocks created via new_file_block(), parser
blocks read (i.e. "parse") a file and make the contents available to
subsequent blocks for further analysis and visualization.
new_parser_block(
server,
ui,
class,
ctor = sys.parent(),
dat_valid = is_file,
...
)new_csv_block(sep = ",", quote = "\"", ...)
All blocks constructed via new_parser_block() inherit from
parser_block.
A function returning shiny::moduleServer()
A function with a single argument (ns) returning a shiny.tag
Block subclass
String-valued constructor name or function/frame number (mostly for internal use or when defining constructors for virtual classes)
(Optional) input data validator
Forwarded to new_parser_block() and new_block()
Forwarded to utils::read.table()
Files in CSV format provided for example by a block created via
new_file_block() may be parsed into data.frame by CSV blocks.
If using the default validator for a parser block sub-class (i.e. not
overriding the dat_valid argument in the call to new_parser_block()),
the data argument corresponding to the input file name must be file in
order to match naming conventions in the validator function.