Skip to content

Commit

Permalink
litt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skkrist committed Nov 9, 2023
1 parent 3066a71 commit 988cdf2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
17 changes: 5 additions & 12 deletions R/getPivotDataSet.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ getPivotDataSet <- function(setId = "",
}


# BASISSKJEMA RÅDATA
if (setId == "basereg") {
dat <- ablanor::getBaseregData(registryName = registryName,
singleRow = singleRow,
Expand All @@ -59,6 +60,7 @@ getPivotDataSet <- function(setId = "",
toDate = doDate)
}

# PROSEDYRESKJEMA RÅDATA
if (setId == "pros") {
dat <- ablanor::getProsData(registryName = registryName,
singleRow = singleRow,
Expand All @@ -69,6 +71,7 @@ getPivotDataSet <- function(setId = "",
toDate = doDate)
}

# FORLØPSOVERSIKT RÅDATA
if (setId == "mce") {
dat <- ablanor::getMceData(registryName = registryName,
singleRow = singleRow,
Expand All @@ -78,7 +81,7 @@ getPivotDataSet <- function(setId = "",
fromDate = NULL,
toDate = NULL)
}

# RAND 12: BASIS, 1 OG 5 ÅR. RÅDATA
if (setId == "rand12") {
dat <- ablanor::getRand12Data(registryName = registryName,
singleRow = singleRow,
Expand All @@ -89,6 +92,7 @@ getPivotDataSet <- function(setId = "",
toDate = doDate)
}

# GKV: BASIS
if (setId == "gkv") {
dat <- ablanor::getGkvData(registryName = registryName,
singleRow = singleRow,
Expand All @@ -99,17 +103,6 @@ getPivotDataSet <- function(setId = "",
toDate = toDate)
}

if (setId == "gkv") {
dat <- ablanor::getGkvData(registryName = registryName,
singleRow = singleRow,
session = session,
reshId = reshId,
userRole = userRole,
fromDate = fromDate,
toDate = toDate)
}




# if (setId == "followup") {
Expand Down
18 changes: 16 additions & 2 deletions man/getDataAblanor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 988cdf2

Please sign in to comment.