Has anyone run across a command that produces a ICPSR-style codebook in Word format? Something that looks roughly like the attached screenshot for each variable in a dataset? It needs to include the variable name, variable label, type, actual values, value labels, frequencies, etc.
I'm aware of -codebook-, but there's not a great way to get its results into a table in Word without lots of post-pasting formatting. I'm also aware of -codebookout- from SSC, which saves an Excel file but it lacks frequencies.
Since I'm on Stata 15, and I'm going to need to do this more than once, I know I can roll my own solution using -putdocx-. But before I fall down that particular custom code rabbit hole, I figured I'd ask around to see if anyone smarter than me has a better idea.
I'm aware of -codebook-, but there's not a great way to get its results into a table in Word without lots of post-pasting formatting. I'm also aware of -codebookout- from SSC, which saves an Excel file but it lacks frequencies.
Since I'm on Stata 15, and I'm going to need to do this more than once, I know I can roll my own solution using -putdocx-. But before I fall down that particular custom code rabbit hole, I figured I'd ask around to see if anyone smarter than me has a better idea.
Comment