POKI_PUT_TOC_HERE

How to use .mlrrc

Suppose you always use CSV files. Then instead of always having to type --csv as in

POKI_CARDIFY(mlr --csv cut -x -f extra mydata.csv)HERE POKI_CARDIFY(mlr --csv sort -n id mydata.csv)HERE

and so on, you can instead put the following into your $HOME/.mlrrc:

POKI_CARDIFY(--csv)HERE

Then you can just type things like

POKI_CARDIFY(mlr cut -x -f extra mydata.csv)HERE POKI_CARDIFY(mlr sort -n id mydata.csv)HERE

and the --csv part will automatically be understood. (If you do want to process, say, a JSON file then mlr --json ... at the command line will override the default from your .mlrrc.)

What you can put in your .mlrrc

Here is an example .mlrrc file: POKI_INCLUDE_ESCAPED(sample_mlrrc)HERE

Where to put your .mlrrc