rFirm does firm synthesis and is partially implemented as a series of R scripts and as a Python package, using the ActivitySim framework. The plan is for rFirm to be eventually entirely implemented as a standalone Python package.
- Run the R programs via
create_inputs/NFM_MainSynthesis.R
- Copy
outputs/cbp.establishments_final.csv
toexample/data/firms.csv
- Ensure
firms_file_name
inexample\configs\settings.yaml
referencesexample/data/firms.csv
- Run the Python program via
example/python run_simulation.py
- Running in debug / test mode (since the final R script takes days to run)
- set
DEBUG <- TRUE
inNFM_MainSynthesis.R
- Run the R programs via
create_inputs/NFM_MainSynthesis.R
- Copy
outputs/firms_test.csv
toexample/data/firms_test.csv
- Ensure
firms_file_name
inexample\configs\settings.yaml
referencesexample/data/firms_test.csv
- Run the Python program via
example/python run_simulation.py
- set