Stata folder structure, data and webdoc template for using output from the OpenSDPsynthR synthetic data generator for education analytics.
This Stata template project has three main objectives:
- Introduce a method to create html files of your Stata code and explanatory text using the Stata
webdoc
package. Usingwebdoc
is a great way to improve the accessibility of your code and transparency of your analysis. Preview the template here. - Show how to access the
OpenSDPsynthR
synthetic data from within Stata. (Though, feel free to use your own data!) - Provide an example of a file structure you can use to keep your project organized.
- Clone or download the
template-stata
repository. - Download and install Pandoc.
- Install the webdoc package
ssc install webdoc
or allow our .do file to install it for you automatically. - Open programs/stata_webdoc_template.do in the Stata .do file editor. Change the working directory in this file and save it.
- Open programs/run_webdoc.do in the Stata .do file editor. Change the working directory and run it.
- Open docs/stata_webdoc_template.html in your web browser.
- Get to work on your project!
When you're done, you have the option to upload your work to Github. After uploading, you can share your html file using the html preview tool.
These materials were originally authored by the Strategic Data Project.
OpenSDP is an online, public repository of analytic code, tools, and training intended to foster collaboration among education analysts and researchers in order to accelerate the improvement of our school systems. The community is hosted by the Strategic Data Project, an initiative of the Center for Education Policy Research at Harvard University. We welcome contributions and feedback.