NOTE: This will have to be loaded in from yaml/json
It then creates all the tables, and redacts low numbers. A log of tables is created in a file called table_log.txt. The tables themselves are saved in a folder of specified in the yaml, for example, with the above input, you would end up with a folder called simple_2_way_tabs/ and another called grouped_by_sex/.
Tables are outputted in formatted Markdown as this can be viewed on Github or with IDE on server such as VS.
All tables have 3 outputs:
Raw numbers with totals
Raw numbers with extra columns for column percentages, rounded to nearest 1
Raw numbers with extra column for row percentages, rounded to the nearest 1
Basic structure set up with unit tests.
This takes in a python dict such as:
NOTE: This will have to be loaded in from yaml/json
It then creates all the tables, and redacts low numbers. A log of tables is created in a file called
table_log.txt
. The tables themselves are saved in a folder of specified in the yaml, for example, with the above input, you would end up with a folder calledsimple_2_way_tabs/
and another calledgrouped_by_sex/
.Tables are outputted in formatted Markdown as this can be viewed on Github or with IDE on server such as VS.
All tables have 3 outputs: