Quarterly Sector Accounts - Institutional Investors’ Assets and Liabilities - QASA_7II

Data - OECD

Code
load_data("oecd/QASA_7II_var.RData")
load_data("oecd/QASA_7II.RData")

Layout (United States)

  • OECD Website. html

Nobs - Javascript

Code
QASA_7II %>%
  left_join(QASA_7II_var %>% pluck("TRANSACTION"), by = c("TRANSACTION" = "id")) %>%
  rename(`TRANSACTION Description` = label) %>%
  left_join(QASA_7II_var %>% pluck("SECTOR"), by = c("SECTOR" = "id")) %>%
  rename(`SECTOR Description` = label) %>%
  group_by(TRANSACTION, `TRANSACTION Description`, SECTOR, `SECTOR Description`, MEASURE) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

Data Structure

Code
QASA_7II_var$VAR_DESC %>%
  {if (is_html_output()) print_table(.) else .}
id description
LOCATION Country
TRANSACTION Transaction
SECTOR Sector
MEASURE Measure
ADJUSTMENT Adjustment
TIME Period & Frequency
OBS_VALUE Observation Value
TIME_FORMAT Time Format
OBS_STATUS Observation Status
UNIT Unit
POWERCODE Unit multiplier
REFERENCEPERIOD Reference period

TRANSACTION

Code
QASA_7II %>%
  left_join(QASA_7II_var %>% pluck("TRANSACTION"), by = c("TRANSACTION" = "id")) %>%
  rename(`TRANSACTION Description` = label) %>%
  group_by(TRANSACTION, `TRANSACTION Description`) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

SECTOR

Code
QASA_7II %>%
  left_join(QASA_7II_var %>% pluck("SECTOR"), by = c("SECTOR" = "id")) %>%
  rename(`SECTOR Description` = label) %>%
  group_by(SECTOR, `SECTOR Description`) %>%
  summarise(Nobs = n()) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

MEASURE

Code
QASA_7II %>%
  left_join(QASA_7II_var %>% pluck("MEASURE"), by = c("MEASURE" = "id")) %>%
  rename(`MEASURE Description` = label) %>%
  group_by(MEASURE, `MEASURE Description`) %>%
  summarise(Nobs = n()) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}