Command line interface

To install via pip, from the command line run:

pip install pytwoway

Sample data: download

To run PyTwoWay via the command line interface, from the command line run:

pytw --my-config config.txt --fe --cre

Example config.txt:

data = file.csv
filetype = csv
col_dict = "{'i': 'your_workerid_col', 'j': 'your_firmid_col', 'y': 'your_compensation_col', 't': 'your_year_col'}"

For help about all the options that can be included in your config file (all options can also be included directly in the command line), from the command line run:

pytw -h