Uddannelse


Befolkningens uddannelsesstatus


UDXISCPROF_raw <- 
  statgl_url("UDXISCPROF", lang = language) |> 
  statgl_fetch(
    Fsted         = px_all(),
    ISCED11_level = px_all(),
    Aar           = px_top(),
    .col_code     = T
  ) |> 
  as_tibble()

UDXISCPROF <- 
  UDXISCPROF_raw |> 
  select(-Aar) |> 
  mutate(ISCED11_level = ISCED11_level |> fct_inorder()) |> 
  spread(Fsted, value)

UDXISCPROF |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  row_spec(1, bold = T)
I Grønland Udenfor Grønland
I alt 36.779 6.007
Grundskole 10. klasses niveau 21.211 2.904
Gymnasial uddannelse 2.132 302
Erhvervsuddannelse 8.860 910
Suppleringskurser 521 15
Kort videregående uddannelse 1.079 291
Bacheloruddannelse 279 106
Professionsbacheloruddannelse 2.233 640
Kandidatuddannelse 448 795
Phd. og forskeruddannelse 16 44


Se Statistikbankens tabel: UDXISCPROF

UDXUMG3_raw <- 
  statgl_url("UDXUMG3", lang = language) |> 
  statgl_fetch(
    registrering = px_all(),
    HFU          = px_all(),
    aar          = px_top(),
    .col_code    = T
  ) |> 
  as_tibble()

UDXUMG3 <- 
  UDXUMG3_raw |> 
  mutate(HFU = HFU |> fct_inorder() |>  fct_rev()) |>
  select(aar, registrering, HFU, value) |> 
  spread(HFU, value)

UDXUMG3 |> 
  select(-1) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  row_spec(1, bold = T) |> 
  column_spec(2, bold = T)
I alt Uden afsluttet uddannelse Med afsluttet videregående uddannelse Med afsluttet erhvervsuddannelse Med afsluttet gymnasial uddannelse
Efterskole 266 266 0 0 0
Erhvervsuddannelse 440 360 8 11 61
Gymnasial uddannelse 948 926 0 8 14
I alt 7.323 5.850 112 379 982
I beskæftigelse 3.048 2.211 63 285 489
Ikke i uddannelse eller beskæftigelse 2.235 2.038 8 54 135
Videregående uddannelse 386 49 33 21 283


Se Statistikbankens tabel: UDXUMG3

Grundskolen


UDXESG_raw <- 
  statgl_url("UDXESG", lang = language) |> 
  statgl_fetch(
    unit       = "andel",
    sex        = px_all(),
    efterskole = px_all(),
    status     = px_all(),
    skoleaar   = px_all(),
    .col_code  = T
  ) |> 
  as_tibble()


UDXESG <- 
  UDXESG_raw |> 
  filter(skoleaar == max(skoleaar)) |> 
  mutate(efterskole = efterskole |> fct_inorder() |> fct_rev(),
         sex = sex |> fct_inorder() |> fct_rev()) |> 
  unite(combi, unit, skoleaar, sep = "-")

UDXESG |> 
  select(-combi) |> 
  spread(efterskole, value) |> 
  select(sex, status, 3:6) |> 
  arrange(sex, desc(status)) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  row_spec(1:3, bold = T) |> 
  column_spec(3, bold = T) |> 
  add_footnote(UDXESG[[1]][1], notation = "symbol")
status I alt Danske efterskoler Maniitsumi Efterskoli Efterskole Villads Villadsen
I alt Påbegyndte i alt 100 100 100 100
I alt Gennemført 66 69 62 57
I alt Afbrudt 34 31 38 43
Piger Påbegyndte i alt 100 100 100 100
Piger Gennemført 66 67 63 63
Piger Afbrudt 34 33 37 38
Drenge Påbegyndte i alt 100 100 100 100
Drenge Gennemført 67 71 61 52
Drenge Afbrudt 33 29 39 48
* andel i procent-2024/2025


Se Statistikbankens tabel: UDXESG

UDXTKK_raw <- 
  statgl_url("UDXTKK", lang = language) |> 
  statgl_fetch(
    subject      = px_all(),
    grade        = px_all(),
    municipality = px_all(),
    unit         = "B",
    time         = px_top(),
    .col_code    = T
  ) |> 
  as_tibble()

UDXTKK <- 
  UDXTKK_raw |> 
  unite(combi, unit, time, sep = " ") |>
  mutate(municipality = municipality |> fct_inorder()) |> 
  spread(subject, value)

UDXTKK |> 
  select(-3) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  row_spec(c(1, 7), bold = T) |> 
  pack_rows(index = table(UDXTKK[[3]]))
municipality Dansk Engelsk Grønlandsk Matematik
Løsningssikkerhed (pct. rigtige) 2024
  1. klasse
I alt 41 NA 45 49
  1. klasse
Kommune Kujalleq 30 NA 38 43
  1. klasse
Kommuneqarfik Sermersooq 48 NA 43 44
  1. klasse
Qeqqata Kommunia 51 NA 59 63
  1. klasse
Kommune Qeqertalik 36 NA 51 51
  1. klasse
Avannaata Kommunia 41 NA 48 49
  1. klasse
I alt 42 84 56 40
  1. klasse
Kommune Kujalleq 36 53 49 34
  1. klasse
Kommuneqarfik Sermersooq 48 88 48 41
  1. klasse
Qeqqata Kommunia 42 88 64 40
  1. klasse
Kommune Qeqertalik 45 78 66 34
  1. klasse
Avannaata Kommunia 40 84 59 39

Se Statistikbankens tabel: UDXTKK
Ungdoms- og videregående uddannelser


UDXISC11A_raw <- 
  statgl_url("UDXISC11A", lang = language) |> 
  statgl_fetch(
    Isced     = px_all(),
    skoleomr  = px_all(),
    startaar  = px_top(1),
    .col_code = T
  ) |> 
  as_tibble()

UDXISC11A <- 
  UDXISC11A_raw |> 
  mutate(startaar = startaar |> fct_inorder(),
         skoleomr = skoleomr |> fct_inorder()) |> 
  spread(skoleomr, value)

UDXISC11A |> 
  select(-startaar) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  pack_rows(index = table(UDXISC11A[[2]]))
Skoler i Grønland Skoler i Danmark Skoler i udlandet
2024
Bacheloruddannelse 101 48 2
Erhvervsuddannelse 601 73 0
Gymnasial uddannelse 471 39 2
Kandidatuddannelse 28 21 2
Kort videregående uddannelse 70 26 0
Professionsbacheloruddannelse 135 80 0
Suppleringskurser 123 2 1


Se Statistikbankens tabel: UDXISC11A

UDXISC11L_raw <- 
  statgl_url("UDXISC11L", lang = language) |> 
  statgl_fetch(
    aar       = 2,
    isced     = px_all(),
    status    = px_all(),
    startaar  = px_top(3),
    .col_code = T
  ) |> 
  as_tibble()

UDXISC11L <- 
  UDXISC11L_raw |> 
  filter(value > 0) |> 
  mutate(status = status |> fct_inorder()) |> 
  spread(status, value) |> 
  unite(combi, aar, startaar, sep = " ")

UDXISC11L |> 
  select(-1) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  add_footnote(UDXISC11L[[1]][1], notation = "symbol")
Aktiv Gennemført Afbrudt Nye påbegyndte i alt
Bacheloruddannelse 57 1 73 131
Erhvervsuddannelse, almen 135 68 265 468
Erhvervsuddannelse, kort 8 135 98 241
Gymnasial uddannelse 200 6 153 359
Kandidatuddannelse 20 12 12 44
Kort videregående uddannelse 8 51 50 109
Professionsbacheloruddannelse 104 13 94 211
* 2 år 2022


Se Statistikbankens tabel: UDXISC11L

Uddannelsesforløb


UDXTRFA1_raw <- 
  statgl_url("UDXTRFA1", lang = language) |> 
  statgl_fetch(
    aar       = 0,
    isced     = px_all(),
    status    = px_all(),
    dim_aar   = px_top(),
    .col_code = T
  ) |> 
  as_tibble()

UDXTRFA1 <- 
  UDXTRFA1_raw |> 
  unite(combi, aar, dim_aar, sep = " ") |> 
  mutate(isced = isced |> fct_inorder(),
         status = status |> fct_inorder())

UDXTRFA1 |> 
  select(-1) |> 
  spread(isced, value) |> 
  rename(" " = 1) |> 
  statgl_table() |> 
  add_footnote(UDXTRFA1[[1]][1], notation = "symbol")
Gymnasial uddannelse Erhvervsuddannelse Ingen registrering
Aktiv 69 6 0
Gennemført 0 0 0
Afbrudt 11 0 0
Ej påbegyndt 0 0 621
* Direkte 2024


Se Statistikbankens tabel: UDXTRFA1


Sidst opdateret: 10. november 2025
LS0tDQpwYXJhbXM6DQogIGxhbmc6ICJkYSINCm91dHB1dDoNCiAgc3RhdGdsOjpzdGF0Z2xfcmVwb3J0Og0KICAgIGNvZGVfZG93bmxvYWQ6IHRydWUNCiAgICBjb2RlX2ZvbGRpbmc6IGhpZGUNCmVkaXRvcl9vcHRpb25zOiANCiAgY2h1bmtfb3V0cHV0X3R5cGU6IGNvbnNvbGUNCi0tLQ0KDQpgYGB7ciBzZXR1cCwgaW5jbHVkZT1GQUxTRX0NCg0Ka25pdHI6Om9wdHNfY2h1bmskc2V0KA0KCWVjaG8gICAgPSBUUlVFLA0KCW1lc3NhZ2UgPSBGQUxTRSwNCgl3YXJuaW5nID0gRkFMU0U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