Code
load_data("oecd/SNA_TABLE610_var.RData")
load_data("oecd/SNA_TABLE610.RData")
Data - OECD
load_data("oecd/SNA_TABLE610_var.RData")
load_data("oecd/SNA_TABLE610.RData")
%>%
SNA_TABLE610 left_join(SNA_TABLE610_var %>% pluck("TRANSACT"), by = c("TRANSACT" = "id")) %>%
rename(`TRANSACT Description` = label) %>%
group_by(TRANSACT, `TRANSACT Description`, SECTOR, MEASURE) %>%
summarise(nobs = n()) %>%
arrange(-nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
$VAR_DESC %>%
SNA_TABLE610_varif (is_html_output()) print_table(.) else .} {
id | description |
---|---|
LOCATION | Country |
TRANSACT | Transaction |
SECTOR | Sector |
MEASURE | Measure |
TIME | Year |
OBS_VALUE | Observation Value |
TIME_FORMAT | Time Format |
OBS_STATUS | Observation Status |
UNIT | Unit |
POWERCODE | Unit multiplier |
REFERENCEPERIOD | Reference period |
%>%
SNA_TABLE610 left_join(SNA_TABLE610_var %>% pluck("TRANSACT"), by = c("TRANSACT" = "id")) %>%
rename(TRANSACT_desc = label) %>%
group_by(TRANSACT, TRANSACT_desc) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
SNA_TABLE610 left_join(SNA_TABLE610_var %>% pluck("SECTOR"), by = c("SECTOR" = "id")) %>%
rename(SECTOR_desc = label) %>%
group_by(SECTOR, SECTOR_desc) %>%
summarise(Nobs = n()) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
SNA_TABLE610 left_join(SNA_TABLE610_var %>% pluck("MEASURE"), by = c("MEASURE" = "id")) %>%
rename(MEASURE_desc = label) %>%
group_by(MEASURE, MEASURE_desc) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {