Code
load_data("oecd/QASA_7II_var.RData")
load_data("oecd/QASA_7II.RData")
Data - OECD
load_data("oecd/QASA_7II_var.RData")
load_data("oecd/QASA_7II.RData")
%>%
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 .} {
$VAR_DESC %>%
QASA_7II_varif (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 |
%>%
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 .} {
%>%
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 .} {
%>%
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 .} {