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
Margins with Fractional LogitDear All, I am stuck with interpreting and correct usage of margins command even after reading the …
Missing AR(2)Hi everybody, My data sample includes 500 observations for 100 companies from 2011 to 2016. I use th…
Meaning and interpretation of the TestHello At the moment I'm reading a paper and came across this table, which I unfortunately don't qui…
Problem With Xtabond2 In Dynamic Panel Data Concerning Omitted Lagged Coefficients Reported in OutputDear Statalist users. I am using the xtabond2 to draw advantage of the twostep System GMM approach …
Problem with moving average by a string variable.Hello. I have data from 1999q1 to 2019q2 for 6 different regions (string variable). Each observation…
Subscribe to:
Post Comments (Atom)
0 Response to using input in stata for file name
Post a Comment