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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file fixtable-0.6.tar.gz.

File metadata

  • Download URL: fixtable-0.6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.5

File hashes

Hashes for fixtable-0.6.tar.gz
Algorithm Hash digest
SHA256 4caf96ef4c1245f2b439e13045e7952a5b3176a27c402fa7e5675205f76edf80
MD5 4ae504d325e60a8c3454471cdda672ce
BLAKE2b-256 54fc2a6b96dccdf9f1d150c8ed82e5bff767c413e54b2c4fdd70dd51a5fac7b6

See more details on using hashes here.

File details

Details for the file fixtable-0.6-py3-none-any.whl.

File metadata

  • Download URL: fixtable-0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.5

File hashes

Hashes for fixtable-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 17bbfe481a0c06fa55c50f08a5dfbf28c5d67b6e3224b058a2fb49ad32e86358
MD5 1241c320acc4c3c9bf7c8f3c9a417907
BLAKE2b-256 f4c2b47d4c7994cd9c078b8d0e426c145160a5d128b0a2051a4931173e759bfe

See more details on using hashes here.

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