Skip to content

smmcandrew/tabbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

README for tabbit

Package name: tabbit
Version: 0.6.0
Author: Dr Siobhan McAndrew
Contact: s.mcandrew@sheffield.ac.uk; siobhan.mcandrew@gmail.com (long-term) 

Affiliation: Sheffield Methods Institute, University of Sheffield

***Overview***

tabbit produces sets of weighted and unweighted crosstabulation tables and writes them directly to Excel using Stata’s putexcel command. It is designed for survey researchers who need fast, consistent production of large numbers of breakdown tables across many outcome and stratifier variables.

The command handles weighted percentages, unweighted counts, row or column distributions, optional disclosure control, multiple sheets, and transparent reporting of missing values. It supports automated report production for survey waves, countries, sample groups, or exploratory analysis workflows.

***Key Features***

Weighted column or row percentages
Unweighted count tables included automatically
Clear, explicit treatment of missing values
Optional nomissing and missingasrow modes
Disclosure control via mincoln()
Multi-sheet output with bybreakdown
Controlled formatting via noformat
Works on large sets of variables and breakdowns
Automatically trims and cleans Excel sheet names
Designed to eliminate manual copy-paste workflows

***Files***

tabbit.ado — main program
tabbit.sthlp — help file
tabbit.pkg — installation file for SSC

***Installation***

After publication on SSC:

ssc install tabbit

***Citation***

Please cite:

McAndrew, S. (2025). tabbit: An automated Stata tool for producing weighted cross-tabulations.
Stata package.

***Acknowledgements***

The initial development occurred during an applied survey research project that required the automatic generation of several thousand tables. I am grateful to David Voas for feedback and encouragement. All errors are my own.

***Licence***

This software is released under the MIT licence. Users may modify, distribute, and use the package freely.

About

Weighted crosstabulations written to Excel

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages