Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dana Mole
ASPREE R Package
Commits
8b65f17c
Commit
8b65f17c
authored
Dec 11, 2019
by
Ashley Stewart
💃
Browse files
Merge branch 'srdivefordmcf2csv' into 'master'
Fix F2 DMC file path See merge request aspree/aspree-r-package!38
parents
7f83b771
f91ac86f
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/data_access.R
View file @
8b65f17c
...
...
@@ -64,7 +64,7 @@ SDrivePaths <- function(ver = 3, prefix = NA) {
SectionG1
=
Sys.glob
(
file.path
(
prefix
,
"CSV*"
,
"SectionG1_*.csv"
)),
SectionG2
=
Sys.glob
(
file.path
(
prefix
,
"CSV*"
,
"SectionG2_*.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
))
{
warning
(
"Some sections not found!"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment