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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4caf96ef4c1245f2b439e13045e7952a5b3176a27c402fa7e5675205f76edf80 |
|
MD5 | 4ae504d325e60a8c3454471cdda672ce |
|
BLAKE2b-256 | 54fc2a6b96dccdf9f1d150c8ed82e5bff767c413e54b2c4fdd70dd51a5fac7b6 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bbfe481a0c06fa55c50f08a5dfbf28c5d67b6e3224b058a2fb49ad32e86358 |
|
MD5 | 1241c320acc4c3c9bf7c8f3c9a417907 |
|
BLAKE2b-256 | f4c2b47d4c7994cd9c078b8d0e426c145160a5d128b0a2051a4931173e759bfe |