An nbconvert exporter from .ipynb to .do
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Stata Do-file Exporter-0.1.1.tar.gz (14.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for Stata Do-file Exporter-0.1.1.tar.gz