Stata-Do-file-Exporter

An nbconvert exporter from .ipynb to .do


Keywords
jupyter, nbconvert, stata
License
MIT-feh
Install
pip install Stata-Do-file-Exporter==0.1.1

Documentation

Stata Do File Exporter

Stata Do File Exporter provides a context menu and template for exporting a jupyter notebook with Stata kernel, to a do-file with all markdown and code ready to be executed at the Stata GUI or console.

To install the exporter, write:

pip install Stata-Do-file-Exporter

Your jupyter notebook should not be available for export from the File -> Download as menu.

Currently, translation of stata_kernel magics are not supported.

Thanks also to

Kyle Barron for an amazing Stata kernel implementation. You can see how to install it here.