Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only select columns we want in ltc raw data #947

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ adtf
arrivalmode
arth
atlassian
atrialfib
attendcat
aut
bedday
BFO
birthtime
bloodbfo
bodyloc
boxi
callr
Expand All @@ -22,6 +25,8 @@ cattend
ccyy
cdn
cennum
CEREBROVASC
chd
chp
chpstart
cij
Expand All @@ -33,13 +38,15 @@ codecov
comhairle
commhosp
congen
copd
costincdnas
costmonthnum
costsfy
covr
cph
createslf
customise
cvd
dataframe
datamart
datazone
Expand Down Expand Up @@ -67,6 +74,7 @@ dplyr
dsn
dtplyr
dvprod
endomet
envir
fcase
feb
Expand Down Expand Up @@ -94,6 +102,7 @@ hbtreatcode
hbtreatname
hci
hcp
hefailure
hhg
hjust
hms
Expand Down Expand Up @@ -154,6 +163,7 @@ openxlsx
orcid
outfile
pandoc
parkinsons
patflow
pattype
pcec
Expand Down Expand Up @@ -184,6 +194,7 @@ readr
readxl
reasonwait
recid
refailure
reflectoring
refsource
renviron
Expand Down
2 changes: 1 addition & 1 deletion R/read_lookup_ltc.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ read_lookup_ltc <- function(file_path = get_it_ltc_path()) {
)
) %>%
# Rename variables
dplyr::rename(
dplyr::select(
chi = "PATIENT_UPI [C]",
postcode = "PATIENT_POSTCODE [C]",
arth_date = "ARTHRITIS_DIAG_DATE",
Expand Down
Loading