I'm trying to run the following code:
==========================
clear
set more off
*Specify main directory's path
global path "/Users/markburgunder/Desktop/school/QM IV/QM IV data"
*Define sub directories
global temp "$path/temp"
global DO "$path/DO"
global data "$path/California NO2"
* Go to the main directory
cd $path
*log file
capture log close
log using california.smcl, replace
* import and append california NO2 data & generate month/year variables
run California_makedata
* California county NO2 summary graphs
run California_figures
============================
and run into problems.
In the .do files I'm trying to run, I also specify a working directory using cd. Obviously, my .do files and .dta files are in different subdirectories, but I don't think this should be a problem.
I'd like to be able to add another .do file for regressions, and have the 3 .do files talk to each other.
Ultimately I will compile more data from other states, and need to replicate this .do file over and over.
==========================
clear
set more off
*Specify main directory's path
global path "/Users/markburgunder/Desktop/school/QM IV/QM IV data"
*Define sub directories
global temp "$path/temp"
global DO "$path/DO"
global data "$path/California NO2"
* Go to the main directory
cd $path
*log file
capture log close
log using california.smcl, replace
* import and append california NO2 data & generate month/year variables
run California_makedata
* California county NO2 summary graphs
run California_figures
============================
and run into problems.
In the .do files I'm trying to run, I also specify a working directory using cd. Obviously, my .do files and .dta files are in different subdirectories, but I don't think this should be a problem.
I'd like to be able to add another .do file for regressions, and have the 3 .do files talk to each other.
Ultimately I will compile more data from other states, and need to replicate this .do file over and over.
Comment