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