Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: using data off the web


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: using data off the web
Date   Mon, 14 Apr 2008 18:21:00 +0100

In fact, the -copy- tactic has a fairly basic extra benefit. 

If there's anything problematic about the data, you may want 
to look at the file independently, and that is often going 
to be easier if you have a copy on your system. 

-cp- is the same command, and Unix users may prefer that name. 

Nick
n.j.cox@durham.ac.uk 

David Airey

Thanks Nick and Rodrigo. I did not know about the copy command.

Testing the suggestion works:

copy
"http://www.genenetwork.org/cgi-bin/WebQTL.py?cmd=cor&probeset=rs1348111
1&db=BXDGeno&searchdb=bra12-03MAS5&return=500 
" simple.txt, text

insheet using simple.txt

I had to use the quotes otherwise I got an error message:

varlist not allowed
r(101);

Thank you!

On Apr 14, 2008, at 11:18 AM, Nick Cox wrote:
> In the interim: -copy- followed by -insheet- is what I would  
> recommend,
> as -copy- can use internet addresses.
>
> Nick
> n.j.cox@durham.ac.uk
>
> David Airey
>
> I know that "use" allows using Stata .dta files from the web, but if a
> site has "insheet"-like data (and nothing else), it would be nice if I
> could insheet from the http site, like you can "use" from an http  
> site.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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