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 on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: Accessing Google Analytics data from withing Stata


From   Charles Vellutini <charles.vellutini@ecopa.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Accessing Google Analytics data from withing Stata
Date   Fri, 30 Mar 2012 12:21:59 +0000

Thanks Nick

-----Message d'origine-----
De : owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] De la part de Nick Cox
Envoyé : vendredi 30 mars 2012 10:44
À : statalist@hsphsun2.harvard.edu
Objet : Re: st: Accessing Google Analytics data from withing Stata

No idea on the big question but -!- or -winexec- gives you access to operating system commands. -help shell-.

Nick

On Fri, Mar 30, 2012 at 9:16 AM, Charles Vellutini <charles.vellutini@ecopa.com> wrote:

> We are trying to automate the downloading of Google Analytics data into Stata. We use Windows and Stata 12.1.
>
> As some of you may know, there are some nice utilities to download GA data into Excel (see http://www.google.com/analytics/apps/results?category=Reporting%20Tools). The one utility that we use can be automated through a batch file (a ".bat" Windows file). So one option would simply be to run a .bat file from Stata, then import the resulting data from Excel, which is easy with Stata 12. What I don' know is how to run a Windows .bat batch file from within a do-file? Is that possible?
>
> Also, I would also be curious about any other approach to automating GA data transfers within Stata. For example, how difficult do you think it would be to develop a special Stata utility based on GA Core Reporting API (see http://code.google.com/intl/fr/apis/analytics/docs/gdata/home.html).

*
*   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/



*
*   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