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
a7902625
Commit
a7902625
authored
Dec 11, 2019
by
Ashley Stewart
💃
Browse files
Merge branch 'endpoint_update' into 'master'
Endpoint update See merge request aspree/aspree-r-package!39
parents
8b65f17c
4f2b5f63
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/endpoints.R
View file @
a7902625
...
...
@@ -157,7 +157,7 @@ GetEndpoints <- function(con, sectionPaths = SDrivePaths()) {
Endpoint
<-
Endpoint
[
which
(
!
is.na
(
Endpoint
$
EventType
)),
]
# Add column to indicate if event was in F2
F2
<-
read
_dta
(
sectionPaths
$
SectionF2_DMC
)
F2
<-
read
.csv
(
sectionPaths
$
SectionF2_DMC
)
F2
<-
F2
[,
c
(
"SubjectID"
,
"CodeID"
)]
F2
$
ASP_Endpoint
<-
1
Endpoint
<-
merge
(
F2
,
Endpoint
,
by
=
c
(
"CodeID"
,
"SubjectID"
),
all
=
TRUE
)
...
...
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