Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Re: Web APIs and JSON file format reading

From   Andrew Dyck <>
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 or Twiter. I use 64-bit Stata MP for Windows and

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.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index