getPrepDataAblanor: Data managment on tables

getPrepDataAblanorR Documentation

Data managment on tables

Description

Load data and apply data-management operations. Tables can be used in pivot-tables or monthly reports. Notice, only tables when a procedure-date exists!

Usage

getBaseregData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getProsData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getMceData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getRand12Data(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getFollowupBasisData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  ...
)

getFollowupOneYrData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  ...
)

getFollowupFiveYrData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  ...
)

getGkvData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getPromsData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getBaseregProsData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getBaseregProsHendelseData(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getBaseregProsFollowup0Data(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getBaseregProsFollowup1Data(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

getBaseregProsFollowup5Data(
  registryName,
  singleRow = FALSE,
  reshId = NULL,
  userRole,
  fromDate = NULL,
  toDate = NULL,
  ...
)

Arguments

registryName

"ablanor"

singleRow

bools. TRUE bare metadata, FALSE hele datasettet

reshId

Integer organization id. From login settings.

userRole

String dummy/placeholder role. "LC" has access only to local data (defined by reshId), "SC" has access to national data.

fromDate

NULL default is 01-01-1900. If datadump or pivot table, start date of calendar is used.

toDate

NULL default is newest registration in Abalnor. If datadump or pivot table, end date of calendar is used.

Value

data.frame med rad per forløp og kolonner for variabler


Rapporteket/ablanor documentation built on Feb. 27, 2025, 8:26 p.m.