Last observation: A: 2023 (N = 3)
First observation: A: 1960 (N = 302)
Last data update: 02 aoû 2026, 09:11. Last compile: 18 aoû 2026, 03:03
Data - OECD
Last observation: A: 2023 (N = 3)
First observation: A: 1960 (N = 302)
Last data update: 02 aoû 2026, 09:11. Last compile: 18 aoû 2026, 03:03
SNA_TABLE6A |>
group_by(obsTime) |>
summarise(Nobs = n()) |>
arrange(desc(obsTime)) |>
print_table_conditional()SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VL", "VTOT"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, LOCATION, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(value = B1GA_VL / B1_GE_VTOT) |>
filter(!is.na(value)) |>
group_by(LOCATION, Location) |>
summarise(year1 = first(year(date)),
value1 = first(value),
year2 = last(year(date)),
value2 = last(value)) %>%
mutate_at(vars(value1, value2), funs(round(100*., digits = 1))) |>
arrange(value2) |>
mutate(Flag = gsub(" ", "-", str_to_lower(gsub(" ", "-", Location))),
Flag = paste0('<img src="../../icon/flag/vsmall/', Flag, '.png" alt="Flag">')) |>
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VL", "VTOT"),
LOCATION %in% c("GRC", "FRA", "ITA", "ESP"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VL / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Real Estate (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VL", "VTOT"),
LOCATION %in% c("GRC", "FRA", "ITA", "ESP"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VL / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Real Estate (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VL", "VTOT"),
LOCATION %in% c("FRA", "DEU", "USA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VL / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Real Estate (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VL", "VTOT"),
LOCATION %in% c("GBR", "NZL", "USA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VL / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Real Estate (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, LOCATION, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(value = B1GA_VC / B1_GE_VTOT) |>
filter(!is.na(value)) |>
group_by(LOCATION, Location) |>
summarise(year1 = first(year(date)),
value1 = first(value),
year2 = last(year(date)),
value2 = last(value)) %>%
mutate_at(vars(value1, value2), funs(round(100*., digits = 1))) |>
arrange(value2) |>
mutate(Flag = gsub(" ", "-", str_to_lower(gsub(" ", "-", Location))),
Flag = paste0('<img src="../../icon/flag/vsmall/', Flag, '.png" alt="Flag">')) |>
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("LUX", "CYP", "AUS"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("ALB", "NOR", "GRC"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("MLT", "ISL", "GBR"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(LOCATION == "ISL", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("CHL", "CAN", "FRA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("CHL", "CAN", "FRA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
filter(date >= as.Date("2007-01-01")) |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("NZL", "LVA", "BRA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(LOCATION == "ISL", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("NLD", "USA", "CRI"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(LOCATION == "ISL", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("ESP", "COL", "PRT"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(LOCATION == "ISL", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, LOCATION, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(value = B1GA_VC / B1_GE_VTOT) |>
filter(!is.na(value)) |>
group_by(LOCATION, Location) |>
summarise(year1 = first(year(date)),
value1 = first(value),
year2 = last(year(date)),
value2 = last(value)) %>%
mutate_at(vars(value1, value2), funs(round(100*., digits = 1))) |>
arrange(-value2) |>
mutate(Flag = gsub(" ", "-", str_to_lower(gsub(" ", "-", Location))),
Flag = paste0('<img src="../../icon/flag/vsmall/', Flag, '.png" alt="Flag">')) |>
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("IRL", "KOR", "CZE"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(0, 40, 2),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("SVN", "DEU", "ROU"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(0, 40, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("TUR", "CHE", "SVK"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(LOCATION, VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(LOCATION == "SVK", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(0, 40, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, LOCATION, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(value = B1GA_VC / B1_GE_VTOT) |>
filter(!is.na(value)) |>
group_by(LOCATION, Location) |>
summarise(year1 = first(year(date)),
value1 = first(value),
year2 = last(year(date)),
value2 = last(value)) %>%
mutate_at(vars(value1, value2), funs(round(100*., digits = 1))) |>
arrange(value2) |>
mutate(Flag = gsub(" ", "-", str_to_lower(gsub(" ", "-", Location))),
Flag = paste0('<img src="../../icon/flag/vsmall/', Flag, '.png" alt="Flag">')) |>
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("FRA", "DEU", "USA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("GBR", "DNK", "CHE"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("PRT", "ESP", "ITA"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-7, 26, 1),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("NOR", "SWE", "FIN"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(0, 40, 2),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")
SNA_TABLE6A |>
filter(TRANSACT %in% c("B1GA", "B1_GE"),
ACTIVITY %in% c("VC", "VTOT"),
LOCATION %in% c("KOR", "NZL", "AUS"),
MEASURE == "C") |>
left_join(SNA_TABLE6A_var$LOCATION, by = "LOCATION") |>
year_to_date() |>
mutate(VARIABLE = paste0(TRANSACT, "_", ACTIVITY)) |>
select(VARIABLE, Location, date, obsValue) |>
spread(VARIABLE, obsValue) |>
mutate(obsValue = B1GA_VC / B1_GE_VTOT) |>
na.omit() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags + theme_minimal() +
scale_x_date(breaks = seq(1920, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(0, 40, 2),
labels = scales::percent_format(accuracy = 1)) +
ylab("Value Added in Manufacturing (% of GDP)") + xlab("")