Skip to content

Commit

Permalink
Merge pull request #179 from Rapporteket/endre_sykehusnavn_bodoe
Browse files Browse the repository at this point in the history
Endre sykehusnavn (Bodø)
  • Loading branch information
maryaut authored Dec 2, 2024
2 parents 73e9ae8 + 7c6a4c2 commit 04b93bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: noric
Title: Provide R Resources for NORIC at Rapporteket
Version: 2.15.5
Version: 2.16.0
Authors@R: c(
person("Kristina",
"Skaare",
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# noric 2.16.0 Nordlandssykehuset endrer navn
Nordlandssykehuset Bodø endrer navn til UNN Bodø

# noric 2.15.5 bugfix dupliserte variabelnavn
RMariaDB vil ikke lenger har dupliserte variabelnavn. Ryddet opp i SQL
for AK-tabellen.
Expand Down
2 changes: 1 addition & 1 deletion R/fikse_sykehusnavn.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fikse_sykehusnavn <- function(df) {
AvdRESH == 108141 ~ "Ahus Nordbyhagen",
AvdRESH == 102966 ~ "HUS",
AvdRESH == 106944 ~ "Ahus Gardermoen",
AvdRESH == 4210141 ~ "NLSH Bodø",
AvdRESH == 4210141 ~ "UNN Bodø",
AvdRESH == 700422 ~ "OUS Rikshospitalet",
AvdRESH == 114150 ~ "SSHF Arendal",
AvdRESH == 104284 ~ "St.Olavs hospital",
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-fikse_sykehusnavn.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_that("Sykehusnavn is as expected", {
expected = c("Ahus Nordbyhagen",
"HUS",
"Ahus Gardermoen",
"NLSH Bodø",
"UNN Bodø",
"OUS Rikshospitalet",
"SSHF Arendal",
"St.Olavs hospital",
Expand Down

0 comments on commit 04b93bf

Please sign in to comment.