Skip to main content

A command-line tool to process and format Stata output tables.

Project description

fixtable

This package cleaned up the latex files from outreg2 in Stata and any other latex tables generated

  • installation
pip install fixtable
  • usage If you have generated a latex table from outreg2, say table.tex, you could run command
fixtable table.tex -v var.txt

This will print out the "fixed" table to be used directly in your latex project. var.txt is a file containing variable lables you would like to replace in the table.tex. For example, if you want to replace xrd to R&D expense and ta to Total Asset, you need to have a var.txt like this

xrd R\&D expense
ta Total Asset

Then this will automatically replace variable name with the name you specified.

Now, you could replace the table.tex with your fixed version:

fixtable table.tex -v var.txt -i

-i means inplace, this will replace the table.tex with your fix.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixtable-0.6.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

fixtable-0.6-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page