filtrer_ut: Filter out data from dataset

View source: R/filter.R

filtrer_utR Documentation

Filter out data from dataset

Description

Filter out data from the dataset that is not going to be tabulated

Usage

filtrer_ut(
  tabell,
  fane,
  verdi,
  aar,
  bo,
  beh,
  behandlingsniva,
  alder,
  kjonn,
  hastegrad1,
  hastegrad2,
  fag
)

Arguments

tabell

The dataset that is going to be filtred.

fane

The active tab (effect if 'dogn', 'dag' or 'poli')

verdi

The value that is going to be tabulated (only an effect if 'liggedognindex' or 'drg_index')

aar

The years to be tabulated

bo

Possible values 1:6

beh

Possible values 1:7

behandlingsniva

Type of contact (admissions, outpatient consultations or day patient treatments)

alder

Age group

kjonn

Gender

hastegrad2

Degree of urgency


SKDE-Analyse/dynamiskTabellverk documentation built on Feb. 10, 2024, 1:50 p.m.