{smcl} {* *! version 1.2.1 07mar2013}{...} {findalias asfradohelp}{...} {vieweralsosee "" "--"}{...} {vieweralsosee "[R] help" "help help"}{...} {viewerjumpto "Syntax" "examplehelpfile##syntax"}{...} {viewerjumpto "Description" "examplehelpfile##description"}{...} {viewerjumpto "Options" "examplehelpfile##options"}{...} {viewerjumpto "Remarks" "examplehelpfile##remarks"}{...} {viewerjumpto "Examples" "examplehelpfile##examples"}{...} {title:Title} {phang} {bf:readhtmllist} {hline 2} Read a web page and convert any lists it contains to a data set {marker syntax}{...} {title:Syntax} {p 8 17 2} {cmdab:readhtmllist:} {page} [{cmd:,} {it:options}] {synoptset 20 tabbed}{...} {synopthdr} {synoptline} {syntab:Main} {synopt:{opt h:tml}}Keep HTML markup{p_end} {synopt:{opt d:ebug}}Save intermediate results{p_end} {synoptline} {marker description}{...} {title:Description} {pstd} {cmd:readhtmllist} reads the requested web page and converts any lists it contains into a Stata data set. {marker options}{...} {title:Options} {dlgtab:Main} {phang} {opt html} keeps HTML markup (defined as anything in between < and >). By default HTML markup is removed. {phang} {opt debug} keeps the intermediate results generated by the program which are dropped by default. Probably only useful for debugging. {marker remarks}{...} {title:Remarks} {pstd}If the web page contains multiple lists they will still be placed in a single data set and it is up to the user to separate them (this may change in future versions). {p_end} {pstd}Note that the new data set will replace any existing data set, and this program does not (yet) check to see if anything should be saved first!{p_end} {pstd}This program is in still early in the development process. Use at your own risk, but it's normally pretty easy to tell if a page has been read properly.{p_end} {marker examples}{...} {title:Examples} {pstd}Read in a list of all issues of SSCC News{p_end} {phang}{cmd:. readhtmllist https://www.ssc.wisc.edu/sscc/ssccnews/home.htm}{p_end}