Code
load_data("oecd/SNA_TABLE42_var.RData")
load_data("oecd/SNA_TABLE42.RData")
load_data("us/nber_recessions.RData")
Data - OECD
load_data("oecd/SNA_TABLE42_var.RData")
load_data("oecd/SNA_TABLE42.RData")
load_data("us/nber_recessions.RData")
%>%
SNA_TABLE42 left_join(SNA_TABLE42_var %>% pluck("ACTIVITY"), by = c("ACTIVITY" = "id")) %>%
rename(`ACTIVITY Description` = label) %>%
left_join(SNA_TABLE42_var %>% pluck("TRANSACT"), by = c("TRANSACT" = "id")) %>%
rename(`TRANSACT Description` = label) %>%
left_join(SNA_TABLE42_var %>% pluck("TIME_FORMAT"), by = c("TIME_FORMAT" = "id")) %>%
rename(`TIME_FORMAT Description` = label) %>%
group_by(ACTIVITY, `ACTIVITY Description`, TRANSACT, `TRANSACT Description`, TIME_FORMAT, `TIME_FORMAT Description`) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$VAR_DESC %>%
SNA_TABLE42_varif (is_html_output()) print_table(.) else .} {
id | description |
---|---|
LOCATION | Country |
TRANSACT | Transaction |
ACTIVITY | Activity |
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_TABLE42_varif (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$ACTIVITY %>%
SNA_TABLE42_varif (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$MEASURE %>%
SNA_TABLE42_varif (is_html_output()) print_table(.) else .} {
id | label |
---|---|
PER | Persons |
HRS | Hours |