Hi All,
I am now trying to use multiple file names into data.
clear
global f "D:\data_science\myr\raw\image"
*ssc install fs
local jpg : dir "$f" files "*.jpg"
di `jpg'
foreach name in `jpg' {
input x
`name'
end
}
When I do these codes, I got the error
. foreach name in `jpg' {
2.
. input x
3. `name'
4. end
--Break--
r(1);
Related Posts with using input in stata for file name
Calculate total grants company_id year grant co_001 2003 1 co_001 2004 0 co_001 2005 1 co_001 2005 1 co_002 20…
GMM methodGoodnight all, I have some problems regarding the GMM method for a sample (panel study) of 14 countr…
GMM xtabond2 with external IVsHello miracle makers, I would like to use GMM and external IVs at the same time and struggling to s…
Calculate total grants company_id year grant co_001 2003 1 co_001 2004 0 co_001 2005 1 co_001 2005 1 co_002 20…
Interpreting coefficients in log-linear model when independent var is percentIf I run a model where the dependent variable is log sales price of a home and the independent varia…
Subscribe to:
Post Comments (Atom)
0 Response to using input in stata for file name
Post a Comment