Download all the websites which is listed the items you want to download.If webpage has list of items, it is given systematic web address.
Third step is writing do file to download pdf document from the web Now have done all the setting which necessary to program the Stata to download files from website. Second step is getting web browser to download the file instead of loading (even mp3 files can be download using similar method). Similar setting should be possible on “Explore” and “Firefox”. In order to change the setting page of plugin you have to type “chrome://plugins/” on address bar. So I have to change the plug in (disable the pdf view plugin).
If I give the web link to pdf document I want Chrome to download the file instead of opening it on browser. Once I did the setting I could get Stata to open given webpage on “Chrome”. I found the instruction from the web ( ) to change the browser. First I wanted to chang this to google chrome. As I use windows operating system it uses “explore” as default browser. Typing following command on Stata command window “view browse will launch default web browser and load the website. “view browse” command allow Stata to launch default web browser and direct the web browser to relevant website. However downloading lots pdf document from a website using Stata is required some additional setting on web browser. After downloading all documents we can process it on Stata and make the database. Doing this we would be able to download all the relevant webpages. Then after take that text document to Stata and process it to find other web links to download. We can use “copy” command to download the html page as text document. However most of the databases are not restricted from downloading that information. In that situation we have to use online version. Sometime people do not publish free version of the database or index to download. I started to use Stata to download webpage information and create database by downloading ATC/DDD database ( ). However if you want to use Stata to download some documents such as pdf from a website it is possible with little bit of programming.
There are computer programs available to make a offline copy of a website.