You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. <imgalign="left"width="54"height="18.6"src="https://raw.githubusercontent.com/hugetim/nbstata/master/index_files/figure-commonmark/226326ec-1-image-2.png"alt="WordArt of the word 'images'">
<imgalign="center"width="650"src="https://kylebarron.dev/stata_kernel/img/jupyter_notebook_example.gif"alt="Animated demo showing major Stata kernel features in a Jupyter notebook">
77
77
78
78
## Contributing
79
79
@@ -93,3 +93,15 @@ versions of Stata. Vinci Chow created a Stata kernel that instead uses
93
93
available with Stata 17. `nbstata` was originally derived from his
94
94
[pystata-kernel](https://github.com/ticoneva/pystata-kernel), but much
95
95
of the docs and newer features are derived from `stata_kernel`.
Copy file name to clipboardexpand all lines: nbs/index.ipynb
+30-12
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,18 @@
13
13
"cell_type": "markdown",
14
14
"metadata": {},
15
15
"source": [
16
+
" \n",
17
+
"\n",
16
18
"`nbstata` is a [Jupyter kernel](https://docs.jupyter.org/en/latest/projects/kernels.html) for [Stata](https://www.stata.com/why-use-stata/) built on top of [pystata](https://www.stata.com/python/pystata18/index.html)."
17
19
]
18
20
},
19
21
{
20
22
"cell_type": "markdown",
21
23
"metadata": {},
22
24
"source": [
23
-
"**[*For the User Guide, click here.*](https://hugetim.github.io/nbstata/user_guide.html)**"
25
+
"**[*For the User Guide, click here.*](https://hugetim.github.io/nbstata/user_guide.html)**\n",
26
+
"\n",
27
+
" "
24
28
]
25
29
},
26
30
{
@@ -34,27 +38,26 @@
34
38
"cell_type": "markdown",
35
39
"metadata": {},
36
40
"source": [
37
-
"[JupyterLab](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html) is a browser-based editor that allows you to combine interactive code and results with [Markdown](https://daringfireball.net/projects/markdown/basics) in a single document (called a Jupyter notebook). It is open source and widely used. Though it is named after the three core programming languages it supports (Julia, Python, and R), it can be used with with a wide variety of languages. \n",
41
+
"A Jupyter notebook allows you to combine interactive code and results with [Markdown](https://daringfireball.net/projects/markdown/basics) in a single document. Though it is named after the three core programming languages it supports (Julia, Python, and R), it can be used with with a wide variety of languages. \n",
38
42
"\n",
39
-
"`nbstata` allows you to create Stata notebooks (as opposed to [using Stata within a *Python* notebook](https://www.stata.com/python/pystata18/notebook/Example2.html), which is needlessly clunky if you are working primarily with Stata).\n",
"`nbstata` allows you to create Stata notebooks (as opposed to [using Stata within a *Python* notebook](https://www.stata.com/python/pystata18/notebook/Example2.html), which is needlessly clunky if you are working primarily with Stata)."
" 3. <img align=\"left\" width=\"54\" height=\"18.6\" src=\"https://raw.githubusercontent.com/hugetim/nbstata/master/index_files/figure-commonmark/226326ec-1-image-2.png\" alt=\"WordArt of the word 'images'\">\n",
"[1] Stata [dynamic documents](https://www.stata.com/manuals/rptdynamicdocumentsintro.pdf) can do this part, though with a less interactive workflow. (See also: [markstat](https://grodri.github.io/markstat/), [stmd](https://www.ssc.wisc.edu/~hemken/Stataworkshops/stmd/Usage/stmdusage.html), and [Statamarkdown](https://ssc.wisc.edu/~hemken/Stataworkshops/Statamarkdown/stata-and-r-markdown.html)) Using `nbstata` with [Quarto](https://www.statalist.org/forums/forum/general-stata-discussion/general/1703835-ado-files-and-literate-programming) instead gives you a similar workflow, with greater flexibility of output."
90
+
"[^1]: Stata [dynamic documents](https://www.stata.com/manuals/rptdynamicdocumentsintro.pdf) can do this part, though with a less interactive workflow. (See also: [markstat](https://grodri.github.io/markstat/), [stmd](https://www.ssc.wisc.edu/~hemken/Stataworkshops/stmd/Usage/stmdusage.html), and [Statamarkdown](https://ssc.wisc.edu/~hemken/Stataworkshops/Statamarkdown/stata-and-r-markdown.html)) Using `nbstata` with [Quarto](https://www.statalist.org/forums/forum/general-stata-discussion/general/1703835-ado-files-and-literate-programming) instead gives you a similar workflow, with greater flexibility of output."
91
+
]
92
+
},
93
+
{
94
+
"cell_type": "markdown",
95
+
"metadata": {},
96
+
"source": [
97
+
"The video below demonstrates using Stata in a Jupyter notebook. In addition to the [NBClassic](https://nbclassic.readthedocs.io/en/stable/notebook.html) application shown there, `nbstata` can also be used with [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html), [VS Code](https://code.visualstudio.com/docs/datascience/jupyter-notebooks), or [Quarto](https://quarto.org/).\n",
98
+
"\n",
99
+
"<img align=\"center\" width=\"650\" src=\"https://kylebarron.dev/stata_kernel/img/jupyter_notebook_example.gif\" alt=\"Animated demo showing major Stata kernel features in a Jupyter notebook\">"
0 commit comments