Last observation: Q: 2026-Q2 (N = 17) · M: 2026-06 (N = 92) · A: 2025 (N = 468)
First observation: A: 1919 (N = 4) · M: 1919-01 (N = 4) · Q: 1919-Q1 (N = 4)
Last data update: 30 jul 2026, 15:59. Last compile: 18 aoû 2026, 00:53
Data - OECD
Last observation: Q: 2026-Q2 (N = 17) · M: 2026-06 (N = 92) · A: 2025 (N = 468)
First observation: A: 1919 (N = 4) · M: 1919-01 (N = 4) · Q: 1919-Q1 (N = 4)
Last data update: 30 jul 2026, 15:59. Last compile: 18 aoû 2026, 00:53
MEI_REAL |>
group_by(MEASURE, ACTIVITY, FREQ) |>
filter(!is.na(obsValue)) |>
summarise(Nobs = n()) |>
arrange(-Nobs) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}MEI_REAL |>
group_by(MEASURE, ACTIVITY) |>
summarise(Nobs = n()) |>
arrange(-Nobs) |>
print_table_conditional()| MEASURE | ACTIVITY | Nobs |
|---|---|---|
| PRVM | BTE | 73806 |
| TOCAPA | G45 | 72500 |
| PRVM | C | 72007 |
| TOVM | G47 | 53667 |
| PRVM | F | 44121 |
| PRVM | D | 31104 |
| NODW | F41 | 17687 |
| WSDW | F41 | 10837 |
| PRVM | MIG_NRG | 3404 |
MEI_REAL |>
group_by(obsTime) |>
summarise(Nobs = n()) |>
arrange(desc(obsTime)) |>
print_table_conditional()MEI_REAL |>
filter(MEASURE == "TOCAPA", ACTIVITY == "G45", ADJUSTMENT == "Y") |>
group_by(REF_AREA, Location, FREQ) |>
arrange(obsTime) |>
summarise(Nobs = n(),
obsTime1 = first(obsTime),
obsTime2 = last(obsTime)) |>
arrange(-Nobs) |>
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 .}MEI_REAL |>
filter(MEASURE == "TOCAPA", ACTIVITY == "G45", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_3flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY %in% c("C", "BTE"), ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(ACTIVITY) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2001-01-01")])]) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = ACTIVITY)) +
#scale_color_identity() +
theme_minimal() + xlab("") + ylab("") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y") |>
group_by(REF_AREA, Location, FREQ) |>
summarise(Nobs = n(),
obsTime1 = first(obsTime),
obsTime2 = last(obsTime)) |>
arrange(-Nobs) |>
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 .}plot <- MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1999-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1999-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_2flags +
theme_minimal() + xlab("") + ylab("Production manufacturière (Janv. 1999 = 100)") +
scale_x_date(breaks = c(seq(1999, 2100, 5),seq(1997, 2100, 5)) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 5),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank()) +
geom_rect(data = nber_recessions |>
filter(Peak > as.Date("1999-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = 0, ymax = +Inf),
fill = '#B22234', alpha = 0.1) +
geom_rect(data = cepr_recessions |>
filter(Peak > as.Date("1999-01-01")),
aes(xmin = Peak, xmax = Trough, ymin = 0, ymax = +Inf),
fill = '#003399', alpha = 0.1)
save(plot, file = "MEI_REAL_files/figure-html/PRMNTO01-USA-EA20-1999-1.RData")
plot
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU")) |>
month_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_2flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU")) |>
month_to_date() |>
filter(date >= as.Date("1980-01-01")) |>
group_by(REF_AREA) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1980-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_2flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(REF_AREA) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_2flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU")) |>
month_to_date() |>
filter(date >= as.Date("2000-01-01")) |>
group_by(REF_AREA) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2000-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_2flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "GBR", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "GBR", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2000-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2000-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1999-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1999-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "EA20", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1999, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("1999-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1999-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1999, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2002-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2002-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2017-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2017-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2020-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2020-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2019-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2019-01-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "EA20")) |>
month_to_date() |>
filter(date >= as.Date("2019-10-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2019-10-01")])]) |>
mutate(Location = ifelse(REF_AREA == "EA20", "Europe", Location)) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 1) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
filter(date >= as.Date("1955-01-01")) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
filter(date >= as.Date("1975-01-01")) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production dans l'industrie manufacturière (1995 = 100)") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1998-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1998-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("2017-04-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2017-04-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = "6 months",
labels = date_format("%b %Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("2020-02-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2020-02-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = "3 months",
labels = date_format("%b %Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "BEL")) |>
month_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Passenger car registrations") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "BEL")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "C", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "BEL")) |>
month_to_date() |>
filter(date >= as.Date("2002-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2002-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
#mutate(color = ifelse(REF_AREA == "FRA", color2, color)) %>%
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total manufacturing sa") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "ESP")) |>
month_to_date() |>
#filter(date >= as.Date("1990-01-01")) %>%
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total industry sa") +
scale_x_date(breaks = seq(1910, 2100, 10) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA", "ESP")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_5flags +
theme_minimal() + xlab("") + ylab("Production in total industry sa") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1990-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1995-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry, index") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1998-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1998-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry, index") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1999-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1999-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry, index") +
scale_x_date(breaks = seq(1910, 2100, 2) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("2017-04-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2017-04-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry, index") +
scale_x_date(breaks = "6 months",
labels = date_format("%b %Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("2020-02-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2020-02-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
mutate(color = ifelse(REF_AREA == "USA", color2, color)) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry, index") +
scale_x_date(breaks = "3 months",
labels = date_format("%b %Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = ""))
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
filter(date >= as.Date("1955-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1968-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(0, 300, 20),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("DEU", "PRT", "ESP", "GBR")) |>
quarter_to_date() |>
filter(date >= as.Date("1955-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1968-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(0, 600, 20),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "PRVM", ACTIVITY == "BTE", ADJUSTMENT == "Y",
FREQ == "Q",
REF_AREA %in% c("DEU", "FRA", "GRC", "USA")) |>
quarter_to_date() |>
filter(date >= as.Date("1955-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1968-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production in total industry") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(0, 600, 20),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "TOVM", ACTIVITY == "G47", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1994-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Total retail trade (Volume) sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "TOVM", ACTIVITY == "G47", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1975-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1994-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Total retail trade (Volume) sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "TOVM", ACTIVITY == "G47", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1994-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Total retail trade (Volume) sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "TOVM", ACTIVITY == "G47", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("2000-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("2000-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Total retail trade (Volume) sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(MEASURE == "TOVM", ACTIVITY == "G47", ADJUSTMENT == "Y",
FREQ == "M",
REF_AREA %in% c("ESP", "PRT", "DEU", "FRA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
select(Location, date, obsValue) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1995-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Total retail trade (Volume) sa") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())
MEI_REAL |>
filter(SUBJECT == "PRMNIG01",
FREQ == "Q",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
quarter_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production of total manufactured intermediate goods sa, Index") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())MEI_REAL |>
filter(SUBJECT == "PRMNIG01",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production of total manufactured intermediate goods sa, Index") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())MEI_REAL |>
filter(SUBJECT == "PRMNIG01",
FREQ == "M",
REF_AREA %in% c("FRA", "DEU", "ITA", "USA")) |>
month_to_date() |>
filter(date >= as.Date("1990-01-01")) |>
group_by(Location) |>
mutate(obsValue = 100*obsValue/obsValue[date == min(date[date >= as.Date("1994-01-01")])]) |>
left_join(colors, by = c("Location" = "country")) |>
ggplot() + geom_line(aes(x = date, y = obsValue, color = color)) +
scale_color_identity() + add_4flags +
theme_minimal() + xlab("") + ylab("Production of total manufactured intermediate goods sa, Index") +
scale_x_date(breaks = seq(1910, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_log10(breaks = seq(-10, 300, 10),
labels = dollar_format(accuracy = 1, prefix = "")) +
theme(legend.position = c(0.2, 0.80),
legend.title = element_blank())