Bookmark and Share

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


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

st: Reading multiple .csvs from a folder


From   Vianney <[email protected]>
To   [email protected]
Subject   st: Reading multiple .csvs from a folder
Date   Wed, 16 Nov 2011 15:03:02 -0500

Hello collective wisdom,

I was wondering if STATA has a means of reading all .csvs (or similar
formats) from within a designated folder.

Namely, instead of having to designate specific .csv *filenames*, I'd
like to be able to designate a *folder* (and potentially apply a regex
or regex-like filter for choosing specific .csvs from within said
folder).

I am essentially looking for the STATA equivalent of Python's GLOB [
http://docs.python.org/library/glob.html ;]

Many thanks for your insights!

Best regards,
Vianney

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index