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, is already up and running.

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

st: Reading multiple .csvs from a folder

From   Vianney <>
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

I am essentially looking for the STATA equivalent of Python's GLOB [ ;]

Many thanks for your insights!

Best regards,

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index