Commit f91ac86f authored by Ashley Stewart's avatar Ashley Stewart 💃
Browse files

Fix F2 DMC file path

parent 7f83b771
...@@ -64,7 +64,7 @@ SDrivePaths <- function(ver = 3, prefix = NA) { ...@@ -64,7 +64,7 @@ SDrivePaths <- function(ver = 3, prefix = NA) {
SectionG1 = Sys.glob(file.path(prefix, "CSV*", "SectionG1_*.csv")), SectionG1 = Sys.glob(file.path(prefix, "CSV*", "SectionG1_*.csv")),
SectionG2 = Sys.glob(file.path(prefix, "CSV*", "SectionG2_*.csv")), SectionG2 = Sys.glob(file.path(prefix, "CSV*", "SectionG2_*.csv")),
SectionH1 = Sys.glob(file.path(prefix, "CSV*", "SectionH1_*.csv")), SectionH1 = Sys.glob(file.path(prefix, "CSV*", "SectionH1_*.csv")),
SectionF2_DMC = Sys.glob(file.path(prefix, "DMC*", "SectionF2_*.dta")) SectionF2_DMC = Sys.glob(file.path(prefix, "DMC*", "SectionF2_*"))
) )
if (!all(lapply(paths, length) == 1)) { if (!all(lapply(paths, length) == 1)) {
warning("Some sections not found!") warning("Some sections not found!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment