co-analysis / a11ytables

R package: generate best-practice stats spreadsheets for publication
https://co-analysis.github.io/a11ytables/
Other
42 stars 3 forks source link

Ensure that notes in meta elements are recognised #91

Closed matt-dray closed 9 months ago

matt-dray commented 1 year ago

create_a11ytable() will warn if you have notes (in the form '[note 1]') in a table (headers or cells) that aren't in the notes sheet, or vice versa. Double-check whether this takes account of notes that may appear in the title (cell A1) but not in the tables themselves. Also, does a sheet with a note in its title, but not in its table, have the 'this table contains notes' line inserted? Should it? Maybe the line should read more like 'this sheet contains notes'.

matt-dray commented 9 months ago

This should probably extend to checking for notes in all meta elements above tables, not just titles.

matt-dray commented 9 months ago

I think this is close enough to #89 that it should be closed in favour of that one.