The report_route() depends on the formats specified in the yaml header to
determine which mime types are supported for the Content-Type request
header. routr comes with a long list of well known formats but in the case a
format is unknown, you can register it yourself so that the correct mime type
and file extension can be deduced.
register_report_format(format, mime_type, extension = NULL, force = FALSE)show_report_formats()
register_report_format() is called for its side effect.
show_report_formats() returns a data frame.
The name of the report format
The mime type of the output it produces
The file extension that the output should have. If NULL it
will be deduced from the mime type
Should already existing formats be overwritten.