Isertitaat


Inuit isertitaat


INXPI302_raw <- 
  statgl_url("INXPI302", lang = language) %>% 
  statgl_fetch(
    unit              = 0,
    "place of birth"  = px_all(),
    "income interval" = px_all(),
    time              = px_top(),
    .col_code         = TRUE
  ) %>% 
  as_tibble()

INXPI302 <- 
  INXPI302_raw %>% 
  mutate(
    `place of birth`  = `place of birth` %>% fct_inorder,
    `income interval` = `income interval` %>% fct_inorder
  ) %>% 
  spread(`place of birth`, value) %>% 
  unite(combi, unit, time, sep = ", ") %>%
  mutate_if(is.integer, ~replace(., is.na(.), 0))
  

INXPI302 %>% 
  select(-combi) %>% 
  rename(" " = 1) %>% 
  statgl_table(replace_0s = TRUE) %>% 
  pack_rows(index = INXPI302[["combi"]] %>% table()) %>% 
  row_spec(1, bold = TRUE)
Nuna tamakkerlugu Kalaallit Nunaat Kalaallit Nunaata avataani
Inuit eqimattami (amerlassusaat), 2021
Katillugit 42.767 38.316 4.451
50.000 kr. eller mindre 5.120 4.523 597
50.001 - 100.000 kr. 4.361 4.233 128
100.001 - 200.000 kr. 11.308 10.876 432
200.001 - 300.000 kr. 7.391 6.936 455
300.001 - 400.000 kr. 5.535 4.970 565
400.001 - 500.000 kr. 3.929 3.302 627
500.001 - 600.000 kr. 2.062 1.578 484
600.001 - 700.000 kr. 1.149 797 352
700.001 - 800.000 kr. 630 405 225
800.001 - 900.000 kr. 366 229 137
900.001 - 1.000.000 kr. 239 141 98
1.000.000 koruunit qaangerlugit 677 326 351


Se Statistikbankens tabel: INXPI302

INXPI501_raw <- 
  statgl_url("INXPI501", lang = language) %>% 
  statgl_fetch(
    unit             = px_all(),
    time             = px_top(),
    "type of income" = px_all(),
    .col_code        = TRUE
  ) %>% 
  as_tibble()

INXPI501 <- 
  INXPI501_raw %>% 
  mutate(
    unit             = unit %>% fct_inorder,
    `type of income` = `type of income` %>% fct_inorder
  ) %>% 
  spread(unit, value)

INXPI501 %>% 
  select(-time) %>% 
  rename(" " = 1) %>% 
  statgl_table() %>% 
  pack_rows(index = INXPI501[["time"]] %>% table())
Nominel indkomst Realindkomst
2021
Isertitat akileraarutinik allanilluunniit ilanngarneqanngitsut 269.158 229.952
Isertitat akileraaruserneqartussat agguaqatigiissillugit 258.872 221.165
Isertitat atoriaannaat 173.996 148.652


Se Statistikbankens tabel: INXPI501

Isertitat nikingassutaat
INXIU101_raw <- 
  statgl_url("INXIU101", lang = language) %>%
  statgl_fetch(
    indicator = px_all(),
    time      = px_top(5),
    .col_code = TRUE
  ) %>% 
  as_tibble()

INXIU101 <- 
  INXIU101_raw %>% 
  mutate(
    indicator = indicator %>% fct_inorder,
    time = time %>% fct_inorder %>% fct_rev()
  ) %>% 
  spread(time, value)

INXIU101 %>% 
  rename(" " = 1) %>% 
  statgl_table()
2021 2020 2019 2018 2017
Gini-koefficienti 34,0 34,9 34,6 34,9 36,0
S80/20 5,3 5,5 5,3 5,4 5,6
Piitsuussuseq allanut naleqqiullugu. Killigalugu 40 procenti 6,9 7,1 6,4 6,5 6,3
Piitsuussuseq allanut naleqqiullugu. Killigalugu 50 procenti 11,6 11,4 10,5 10,5 10,7
Piitsuussuseq allanut naleqqiullugu. Killigalugu 60 procenti 17,8 17,9 16,8 16,4 17,1


Se Statistikbankens tabel: INXIU101

Akileraarutit pillugit paasissutissat
INXSS101_raw <- 
  statgl_url("INXSS101", lang = language) %>%
  statgl_fetch(
    "tax municipality" = px_all(),
    unit               = px_all(),
    time               = px_top(),
    .col_code          = TRUE
  ) %>% 
  as_tibble()

INXSS101 <- 
  INXSS101_raw %>% 
  filter(value != "NA") %>% 
  mutate(
    unit               = unit %>% fct_inorder,
    `tax municipality` = `tax municipality` %>% fct_inorder
  ) %>% 
  spread(unit, value)

INXSS101 %>% 
  select(-time) %>% 
  rename(" " = 1) %>% 
  statgl_table() %>% 
  pack_rows(index = INXSS101[["time"]] %>% table()) %>% 
  row_spec(1, bold = TRUE)
Inuit akileraaruteqartussat Isertitat ataatsimut akileraaruteqaataasussat (mio. kr.) Ataatsimut akileraarutissaviit (mio. kr.)
2021
Nuna tamakkerlugu 49.135 12.825 4.563
Kommune Kujalleq 5.470 1.174 414
Kommuneqarfik Sermersooq 21.048 6.454 2.338
Qeqqata Kommunia 7.844 1.907 658
Kommune Qeqertalik 5.232 1.057 366
Avannaata Kommunia 9.039 1.950 692
Kommunit aggornerisa avataanni 516 284 95


Se Statistikbankens tabel: INXSS101


Sidst opdateret: 06. juni 2023
LS0tDQpwYXJhbXM6DQogIGxhbmc6ICJkYSINCm91dHB1dDoNCiAgc3RhdGdsOjpzdGF0Z2xfcmVwb3J0Og0KICAgIGFuY2hvcl9zZWN0aW9uczogZmFsc2UNCiAgICBjb2RlX2Rvd25sb2FkOiB0cnVlDQogICAgY29kZV9mb2xkaW5nOiBoaWRlDQplZGl0b3Jfb3B0aW9uczogDQogIGNodW5rX291dHB1dF90eXBlOiBjb25zb2xlDQotLS0NCg0KYGBge3Igc2V0dXAsIGluY2x1ZGU9RkFMU0V9DQoNCmtuaXRyOjpvcHRzX2NodW5rJHNldCgNCgllY2hvICAgID0gVFJVRSwNCgltZXNzYWdlID0gRkFMU0UsDQoJd2FybmluZyA9IEZBTFNFLA0KCWNsYXNzLm91dHB1dCA9ICJzY3JvbGwtMTAwIg0KKQ0KDQpsaWJyYXJ5KCJ0aWR5dmVyc2UiKQ0KbGlicmFyeSgic3RhdGdsIikNCmxpYnJhcnkoImthYmxlRXh0cmEiKQ0KbGlicmFyeSgibHVicmlkYXRlIikNCmxpYnJhcnkoInlhbWwiKQ0KDQpsYW5ndWFnZSAgPC0gcGFyYW1zJGxhbmcNCm9wdGlvbiAgICA8LSBwYXN0ZTAoIj9sYW5nPSIsIGxhbmd1YWdlLCAiJnNlbGVjdCIpDQpsb2dvICAgICAgPC0gcGFzdGUwKGdldHdkKCksIi9hZGQvbG9nby5naWYiKQ0KdHh0ICAgICAgIDwtIHJlYWRfeWFtbChwYXN0ZTAoZ2V0d2QoKSwgIi9hZGQvdHh0LnltbCIpLCBmaWxlRW5jb2Rpbm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