custom_rows
argument is the third-to-last argument to create_a11ytable()
(it's been inserted before sources
and tables
) so that the argument order reflects the order of the pre-table rows that appear above tables in the spreadsheet output; this will be a problem for users of {a11ytables} before v0.3 who might have previously specified arguments by place rather than by name (I assume most will have specified arguments by name, so I expect this won't be much of a problem).custom_rows
argument to the create_a11ytables()
function to supply arbitrary sentences to separate rows above a table in contents, cover and notes sheets (#74).demo_df
('data.frame' class) and demo_a11ytable
('a11ytables' class) to help demo the new custom_rows
argument (and do a better job of showcasing other features of the package), superseding mtcars_df
and mtcars_df2
.custom_rows
.custom_rows
.demo_*
datasets.custom_rows
and simplified to data.frame example only..vector_to_sentence()
function to help construct comma-separated lists from a vector.create_a11ytable()
to be supplied as a list rather than a data.frame, which means you can have an arbitrary number of rows under each section (#102).[GOV.UK](https://www.gov.uk)
) when passing the cover information to the tables
argument of create_a11ytables()
(#47).[GOV.UK](https://gov.uk)
) when passing the data source reference to the source
argument of create_a11ytables()
(#47).mtcars_df2
demo data set that contains a list input for the cover page, which itself contains Markdown-formatted hyperlinks.stringsAsFactors
is set explicitly to FALSE
in the data.frame
call within create_a11ytable()
, given that this default behaviour changed in R version 4 (#85).new_a11ytable()
function to create_a11ytable()
(#27).create_a11y_wb()
function to generate_workbook()
and changed the main argument from 'content' to 'a11ytable' (#27).create_a11ytable()
and instead autogenerate them from the user-provided 'tab_title' (#61).blank_cells
argument to create_a11ytable()
so the user can provide a table-by-table reason for why cells might be empty (#62).mtcars_df
data set to better fit the changes to the functions.create_a11ytable()
.as_a11ytable()
so that create_a11ytable()
only has to build a data.frame from supplied arguments and apply as_a11ytable()
to it (#80).create_a11ytable()
but there are no blank cells in the table, and vice versa.inherits()
for class detection in if()
statements.mtcars_df
(#20).lfs_tables
(#20)..detect_notes()
so it actually works.print
method to a summary
method, as suggested by @TimTaylor (#23)..insert_*()
functions for table count and note presence from .insert_prelim_a11y()
, for clarity.tab_title
was being used to filter when it should have been sheet_type
.lfs_tables
and lfs_subtables
example data sets given the above; for an example see lfs_tables[lfs_tables$sheet_type == "cover", "table"][[1]]
.sheet_type
column of an a11ytable-class object to infer the sheet type as 'cover', 'contents', 'notes' or 'tables' (replacing 'meta'); it's no longer the tab_title
that serves this role (#18)..add_*()
now make internal references to sheet_type
rather than tab_title
.add_*()
function family for building a workbook 'by hand', given the introduction of create_a11y_wb()
.new_a11ytable()
, as_a11ytable()
) and test (is_a11ytable()
) objects of this class.add_*()
functions to a single create_a11y_wb()
function (moving towards #15), though add_*()
functions are all still exported.lfs_tables
and lfs_subtables
, respectively..style_*()
utils functions to style worksheets (#1).add_*table()*
functions.NEWS.md
, CODE_OF_CONDUCT.md
, README.Rmd
.add_*()
functions to create different tab types (cover, contents, notes, tables)..insert_*()
utils functions to insert within-sheet elements.LICENSE.md
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.