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: Web APIs and JSON file format reading


From   Andrew Dyck <andrew@andrewdyck.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Web APIs and JSON file format reading
Date   Sun, 19 Dec 2010 16:40:32 -0800

Hi Stata users,

I'm interested in using Stata to access data from web APIs such as
data.worldbank.org or Twiter. I use 64-bit Stata MP for Windows and
Linux.

I'm aware of the -net-, -copy- and -webuse- commands, however, my
searches so far haven't uncovered any tools for reading in data
directly from an API. At this time it seems that this may not be
possible in Stata without using an external python or perl script.
However, if you have any experience in using JSON with Stata I'd be
very happy to hear from you.

I have begun research into writing a native Stata module (using mata)
for reading JSON data from a web API but I thought I'd tap the
Statalist knowledge bank first to:

1) stop me early if it's just not possible or already done;
2) suggest any strategies for how to go about this; and
3) see if there is any interest in such a feature or if users are
already using some other methods that would work better than something
native to Stata.

Any help, advice or links to more info would be greatly appreciated.

Thanks,
Andrew
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index