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

Expose 'builder' functions? #115

Closed matt-dray closed 9 months ago

matt-dray commented 9 months ago

{a11ytables} is designed so that the user doesn't have to think very much; it takes care of everything for them.

The functions that add_*() and insert_*() could be exposed for more bespoke spreadsheet-building. The original version of the package used to be like this.

This might allow some users more flexibility for inserting arbitrary rows (#74) among other things.

matt-dray commented 9 months ago

I don't think so. The beauty of {a11ytables} is to take the hard work out of the process of creating compliant spreadsheets; keeping the package to two basic exposed functions is a feature. The user can make changes to the Workbook-object output by generate_workbook() if they want to.