# in an existing repo after making some changesgit add .# commit with an informative messagegit commit -m"describe changes here"# pushgit push# later: pull before starting new workgit pull
Qaurto
Finding the right data science framework
Quarto
Open-source publishing system / coding notebook
Author with Markdown, HTML, LaTex and YAML
Code in R, Python, Julia and (Observable) JavaScript
Layouts and styling with CSS
Render to HTML or PDF and create articles, websites, dashboards, presentations, …
*italic text* and **bold text**[Link to WU](https://www.wu.ac.at){.example-link}`inline code` and code blocks{width=60 fig-align="left"}
The data has ˋr nrow(plot_data)ˋ rows and ˋr ncol(plot_data)ˋ columns. The total number of cases is ˋr sum(plot_data$cases)ˋ cm.
The data has 280 rows and 4 columns. The total number of cases is 1177 cases.
Same with OJS code
The data has ˋ{ojs} plot_data.lengthˋ rows and ˋ{ojs} Object.keys(plot_data[0]).lengthˋ columns.The total number of cases is ˋ{ojs} plot_data.reduce((sum, d) => sum + d.cases, 0)ˋ cases.
The data has rows and columns. The total number of cases is cases.
Interactivity II
It gets funkier with the Quarto and the Observable runtime and standard library
viewof text = Inputs.text({label:"Special information: ",placeholder:"Type in info!" })viewof color = Inputs.radio( ["#336699","#e52320","#9C6B91"], {label:"Color"} )htl.html`<p> Here is some special information: <span style="color:${color}">${text} </span></p>`
viewof text = Inputs.text({label:"Special information: ",placeholder:"Type in info!" })viewof color = Inputs.radio( ["#336699","#e52320","#9C6B91"], {label:"Color"} )htl.html`<p> Here is some special information: <span style="color:${color}">${text} </span></p>`
Interactivity III
It gets even funkier with Observable and some data viz
Eppel, Rainer, Ulrike Huemer, Helmut Mahringer, and Lukas Schmoigl. 2024. The B.E. Journal of Economic Analysis & Policy 24 (1): 141–85. https://doi.org/doi:10.1515/bejeap-2023-0079.