Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: how to build a website to allow downloads from within Stata


From   Christopher Baum <kit.baum@bc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: re: how to build a website to allow downloads from within Stata
Date   Sun, 9 Dec 2012 13:55:00 +0000

<>
Chuntao Li said

   I urgently need to build a dataset so that students can access the data from within stata, such as using the command like net from. Can someone tell me where I can find helps for this? 

You don't need to do anything special. You do not use 'net from' for data; you use it for user sites which allow the download of Stata programs. If all you want to do is allow downloads of .dta files, just put them on a server and publicise their location to the students:

use http://your.server.name/directory/whatever.dta

You may find the code of -bcuse- helpful in setting up a command for your students which allows them to avoid typing the full URL. Try

ssc type bcuse.ado

Kit

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                             An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
  An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index