IDEAS home Printed from https://ideas.repec.org/p/bss/wpaper/22.html
   My bibliography  Save this paper

Creating HTML or Markdown documents from within Stata using webdoc

Author

Listed:
  • Ben Jann

Abstract

This paper discusses the use of -webdoc- for creating HTML or Markdown documents from within Stata. The -webdoc- command provides a way to embed HTML or Markdown code directly in a do-file and to automate the integration of results from Stata in the final document. The command can be used, for example, to create a webpage documenting your data analysis, including all Stata output and graphs. More generally, the command can be used to create and maintain a website that contains results computed by Stata.

Suggested Citation

  • Ben Jann, 2016. "Creating HTML or Markdown documents from within Stata using webdoc," University of Bern Social Sciences Working Papers 22, University of Bern, Department of Social Sciences, revised 17 Jan 2017.
  • Handle: RePEc:bss:wpaper:22
    as

    Download full text from publisher

    File URL: https://boris.unibe.ch/139335/1/jann-2016-webdoc.pdf
    File Function: Revised version, 2017
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Ben Jann, 2007. "Making regression tables simplified," Stata Journal, StataCorp LP, vol. 7(2), pages 227-244, June.
    2. Llorenç Quintó & Sergi Sanz & Elisa De Lazzari & John J. Aponte, 2012. "HTML output in Stata," Stata Journal, StataCorp LP, vol. 12(4), pages 702-717, December.
    3. P. Wilner Jeanty, 2010. "HLP2HTML: Stata module to translate a list of Stata help files to HTML," Statistical Software Components S457209, Boston College Department of Economics.
    4. Roger Newson, 2009. "LISTTAB: Stata module to list variables as rows of a TeX, HTML or word processor table," Statistical Software Components S457088, Boston College Department of Economics, revised 09 Jul 2021.
    5. Niels Henrik Bruun, 2016. "LOG2MARKUP: Stata module to transform a Stata text log into a markup document," Statistical Software Components S458147, Boston College Department of Economics, revised 26 Aug 2020.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Valérie Orozco & Christophe Bontemps & Elise Maigne & Virginie Piguet & Annie Hofstetter & Anne Marie Lacroix & Fabrice Levert & Jean-Marc Rousselle, 2017. "How to make a pie? Reproducible Research for Empirical Economics & Econometrics," Post-Print hal-01939942, HAL.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Höglinger, Marc & Diekmann, Andreas, 2017. "Uncovering a Blind Spot in Sensitive Question Research: False Positives Undermine the Crosswise-Model RRT," Political Analysis, Cambridge University Press, vol. 25(1), pages 131-137, January.
    2. Isphording, Ingo E. & Otten, Sebastian, 2014. "Linguistic barriers in the destination language acquisition of immigrants," Journal of Economic Behavior & Organization, Elsevier, vol. 105(C), pages 30-50.
    3. Michael Kind & John P. Haisken-DeNew, 2012. "Sons‘ Unexpected Long Term Scarring due to Fathers‘ Unemployment," Ruhr Economic Papers 0375, Rheinisch-Westfälisches Institut für Wirtschaftsforschung, Ruhr-Universität Bochum, Universität Dortmund, Universität Duisburg-Essen.
    4. repec:zbw:rwirep:0375 is not listed on IDEAS
    5. Michael Kind & John P. Haisken-DeNew, 2012. "Sons' Unexpected Long Term Scarring Due to Fathers' Unemployment," Melbourne Institute Working Paper Series wp2012n21, Melbourne Institute of Applied Economic and Social Research, The University of Melbourne.
    6. Ben Jann, 2013. "Plotting regression coefficients and other estimates in Stata," University of Bern Social Sciences Working Papers 1, University of Bern, Department of Social Sciences, revised 18 Sep 2017.
    7. Ciani, Emanuele, 2016. "Retirement, pension eligibility and home production," Labour Economics, Elsevier, vol. 38(C), pages 106-120.
    8. Diriwaechter, Patric & Shvartsman, Elena, 2018. "The anticipation and adaptation effects of intra- and interpersonal wage changes on job satisfaction," Journal of Economic Behavior & Organization, Elsevier, vol. 146(C), pages 116-140.
    9. Jakob, Martina & Combet, Benita, 2020. "Educational aspirations and decision-making in a context of poverty. A test of rational choice models in El Salvador," SocArXiv w9bkq, Center for Open Science.
    10. Hannes Kröger & Johan Fritzell & Rasmus Hoffmann, 2016. "The Association of Levels of and Decline in Grip Strength in Old Age with Trajectories of Life Course Occupational Position," PLOS ONE, Public Library of Science, vol. 11(5), pages 1-16, May.
    11. Carsten Sauer & Peter Valet & Stefan Liebig, 2013. "The Impact of within and between Occupational Inequalities on People's Justice Perceptions towards Their Own Earnings," SOEPpapers on Multidisciplinary Panel Data Research 567, DIW Berlin, The German Socio-Economic Panel (SOEP).
    12. repec:zbw:rwirep:0274 is not listed on IDEAS
    13. Hlavac, Marek, 2016. "TableMaker: An Excel Macro for Publication-Quality Tables," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 70(c03).
    14. Vincenzo Atella & Federico Belotti & Ludovico Carrino & Andrea Piano Mortari, 2017. "The future of Long Term Care in Europe. An investigation using a dynamic microsimulation model," CEIS Research Paper 405, Tor Vergata University, CEIS, revised 08 May 2017.
    15. Martina Jakob & Benita Combet, 2020. "Educational aspirations and decision-making in a context of poverty. A test of rational choice models in El Salvador," University of Bern Social Sciences Working Papers 33, University of Bern, Department of Social Sciences, revised 01 Aug 2020.
    16. Dang, Hai-Anh & Lanjouw, Peter & Luoto, Jill & McKenzie, David, 2014. "Using repeated cross-sections to explore movements into and out of poverty," Journal of Development Economics, Elsevier, vol. 107(C), pages 112-128.
    17. Ben Jann, 2016. "Creating LaTeX documents from within Stata using texdoc," Stata Journal, StataCorp LP, vol. 16(2), pages 245-263, June.
    18. Hannes Kröger & Rasmus Hoffmann & Lasse Tarkiainen & Pekka Martikainen, 2018. "Comparing Observed and Unobserved Components of Childhood: Evidence From Finnish Register Data on Midlife Mortality From Siblings and Their Parents," Demography, Springer;Population Association of America (PAA), vol. 55(1), pages 295-318, February.
    19. Hannes Kröger & Rasmus Hoffmann, 2018. "The association between CVD-related biomarkers and mortality in the Health and Retirement Survey," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 38(62), pages 1933-2002.
    20. Ulrich Kohler & Kristian Bernt Karlson & Anders Holm, 2011. "Comparing coefficients of nested nonlinear probability models," Stata Journal, StataCorp LP, vol. 11(3), pages 420-438, September.
    21. Przepiorka, Wojtek, 2013. "Buyers pay for and sellers invest in a good reputation: More evidence from eBay," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 42(C), pages 31-42.
    22. Roger B. Newson, 2012. "From resultssets to resultstables in Stata," Stata Journal, StataCorp LP, vol. 12(2), pages 191-213, June.

    More about this item

    Keywords

    Stata; webdoc; HTML; Markdown; weaving; Stata output; Stata log; reproducible research;
    All these keywords.

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bss:wpaper:22. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: . General contact details of provider: http://www.sowi.unibe.ch/ .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Ben Jann (email available below). General contact details of provider: http://www.sowi.unibe.ch/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.