Valuation matrices - SNA_TABLE44

Data - OECD

Code
load_data("oecd/SNA_TABLE44_var.RData")
load_data("oecd/SNA_TABLE44.RData")
load_data("us/nber_recessions.RData")

Number of observations

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

Data Structure

Code
SNA_TABLE44_var$VAR_DESC %>%
  {if (is_html_output()) print_table(.) else .}
id description
LOCATION Country
TRANSACT Transaction
PRODUCT Product
VALUATION Valuation
MEASURE Measure
TIME Year
OBS_VALUE Observation Value
TIME_FORMAT Time Format
OBS_STATUS Observation Status
UNIT Unit
POWERCODE Unit multiplier
REFERENCEPERIOD Reference period

TRANSACT

Code
SNA_TABLE44_var$TRANSACT %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

PRODUCT

Code
SNA_TABLE44_var$PRODUCT %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

MEASURE

Code
SNA_TABLE44_var$MEASURE %>%
  {if (is_html_output()) print_table(.) else .}
id label
C Current prices
VP Constant prices, previous year prices