Code
load_data("oecd/SNA_TABLE40_var.RData")
load_data("oecd/SNA_TABLE40.RData")
load_data("us/nber_recessions.RData")
Data - OECD
load_data("oecd/SNA_TABLE40_var.RData")
load_data("oecd/SNA_TABLE40.RData")
load_data("us/nber_recessions.RData")
%>%
SNA_TABLE40 left_join(SNA_TABLE40_var %>% pluck("PRODUCT"), by = c("PRODUCT" = "id")) %>%
rename(`PRODUCT Description` = label) %>%
left_join(SNA_TABLE40_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 .} {
$VAR_DESC %>%
SNA_TABLE40_varif (is_html_output()) print_table(.) else .} {
id | description |
---|---|
LOCATION | Country |
TRANSACT | Transaction |
PRODUCT | Product |
FLOW | Flow |
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 %>%
SNA_TABLE40_varif (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$PRODUCT %>%
SNA_TABLE40_varif (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$FLOW %>%
SNA_TABLE40_varif (is_html_output()) print_table(.) else .} {
id | label |
---|---|
FTOT | Total |
USEPP | 40--Use at purchaser's prices |
FDOM | Domestic output used for intermediate consumption and final demand |
FP7 | Imports used for intermediate consumption and final demand |
$MEASURE %>%
SNA_TABLE40_varif (is_html_output()) print_table(.) else .} {
id | label |
---|---|
C | Current prices |
VP | Constant prices, previous year prices |