~/data/oecd/

Info

source dataset .html .RData
oecd SNA_TABLE1 2024-04-15 2024-04-15

Data on main macro

source dataset .html .RData
eurostat nama_10_a10 2024-04-15 2024-04-09
eurostat nama_10_a10_e 2024-04-15 2024-04-09
eurostat nama_10_gdp 2024-04-15 2024-04-09
eurostat nama_10_lp_ulc 2024-04-15 2024-04-15
eurostat namq_10_a10 2024-04-15 2024-04-15
eurostat namq_10_a10_e 2024-04-15 2024-04-15
eurostat namq_10_gdp 2024-04-15 2024-04-09
eurostat namq_10_lp_ulc 2024-04-15 2024-04-09
eurostat namq_10_pc 2024-04-15 2024-04-09
eurostat nasa_10_nf_tr 2024-04-15 2024-04-09
eurostat nasq_10_nf_tr 2024-04-15 2024-04-15
fred gdp 2024-04-15 2024-04-15
oecd QNA 2024-04-16 2024-04-15
oecd SNA_TABLE1 2024-04-15 2024-04-15
oecd SNA_TABLE14A 2024-04-15 2024-04-15
oecd SNA_TABLE2 2024-04-15 2024-04-11
oecd SNA_TABLE6A 2024-04-15 2024-04-15
wdi NE.RSB.GNFS.ZS 2024-04-14 2024-04-14
wdi NY.GDP.MKTP.CD 2024-04-14 2024-04-14
wdi NY.GDP.MKTP.PP.CD 2024-04-14 2024-04-14
wdi NY.GDP.PCAP.CD 2024-04-14 2024-04-14
wdi NY.GDP.PCAP.KD 2024-04-14 2024-04-14
wdi NY.GDP.PCAP.PP.CD 2024-04-14 2024-04-14
wdi NY.GDP.PCAP.PP.KD 2024-04-14 2024-04-14

LAST_COMPILE

LAST_COMPILE
2024-04-16

Last

obsTime Nobs
2023 1340

Layout - By country

  • OECD Website. html

Nobs - Javascript

TRANSACT

MEASURE

LOCATION

Goods Net Exports

NX, Total, Goods, Services

Industry/ Manufacturing Decline and Trade Deficits

Industry

# 
# Call:
# lm(formula = IND_mean ~ NX_mean, data = .)
# 
# Residuals:
#       Min        1Q    Median        3Q       Max 
# -0.144795 -0.028173  0.001434  0.023485  0.090271 
# 
# Coefficients:
#             Estimate Std. Error t value Pr(>|t|)    
# (Intercept) 0.162048   0.007204  22.494   <2e-16 ***
# NX_mean     0.141768   0.065857   2.153   0.0366 *  
# ---
# Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
# 
# Residual standard error: 0.04696 on 46 degrees of freedom
#   (10 observations effacées parce que manquantes)
# Multiple R-squared:  0.09152, Adjusted R-squared:  0.07177 
# F-statistic: 4.634 on 1 and 46 DF,  p-value: 0.03662

var1 <- SNA_TABLE1 %>%
  mutate(date = paste0(obsTime, "-12-31") %>% as.Date) %>%
  filter(MEASURE == "C",
         TRANSACT %in% c("B1_GE", "B1GVB_E", "B11", "P61", "P71"),
         date >= as.Date("2000-01-01"),
         date <= as.Date("2018-01-01"),
         LOCATION != "IRL") %>%
  select(date, LOCATION, TRANSACT, obsValue) %>%
  spread(TRANSACT, obsValue) %>%
  group_by(LOCATION) %>%
  summarise(NX_mean = mean((P61-P71) / B1_GE, na.rm = T),
            IND_mean = mean(B1GVB_E / B1_GE, na.rm = T))

var2 <- SNA_TABLE1 %>%
  mutate(date = paste0(obsTime, "-12-31") %>% as.Date) %>%
  filter(MEASURE == "C",
         TRANSACT %in% c("B1_GE", "B1GVB_E"),
         date %in% c(as.Date("2018-12-31"), as.Date("2000-12-31")),
         LOCATION != "IRL") %>%
  select(date, LOCATION, TRANSACT, obsValue) %>%
  spread(TRANSACT, obsValue) %>%
  mutate(B1GVB_E_share = B1GVB_E/B1_GE) %>%
  group_by(LOCATION) %>%
  filter(n() == 2) %>%
  summarise(D1_B1GVB_E_share = B1GVB_E_share[date == as.Date("2018-12-31")]
            - B1GVB_E_share[date == as.Date("2000-12-31")])

var2 <- SNA_TABLE1 %>%
  mutate(date = paste0(obsTime, "-12-31") %>% as.Date) %>%
  filter(MEASURE == "C",
         TRANSACT %in% c("B1_GE", "B1GVB_E"),
         date %in% c(as.Date("2018-12-31"), as.Date("2000-12-31")),
         LOCATION != "IRL") %>%
  select(date, LOCATION, TRANSACT, obsValue) %>%
  spread(TRANSACT, obsValue) %>%
  mutate(B1GVB_E_share = B1GVB_E/B1_GE) %>%
  group_by(LOCATION) %>%
  filter(n() == 2) %>%
  summarise(D1_B1GVB_E_share = B1GVB_E_share[date == as.Date("2018-12-31")]
            - B1GVB_E_share[date == as.Date("2000-12-31")])

var1 %>%
  inner_join(var2, by = "LOCATION") %>%
  left_join(SNA_TABLE1_var$LOCATION, by = "LOCATION") %>%
  ggplot(.) + theme_minimal() + geom_point(aes(x = NX_mean, y = D1_B1GVB_E_share)) +
  xlab("Goods Trade Balance 2000-2018 (% of GDP)") + 
  ylab("Industry VA 2018 (% of GDP)") +
  scale_x_continuous(breaks = 0.01*seq(-100, 100, 5),
                     labels = percent_format(accuracy = 1)) +
  scale_y_continuous(breaks = 0.01*seq(-100, 100, 5),
                     labels = percent_format(accuracy = 1)) +
  stat_smooth(aes(x = NX_mean, y = D1_B1GVB_E_share), 
              linetype = 2, method = "lm", color = viridis(3)[2]) +
  geom_text_repel(aes(x = NX_mean, y = D1_B1GVB_E_share, label = LOCATION), vjust = 0)

B1_GE - Gross domestic product

“P” Decomposition

“B” Decomposition

“D” Decomposition

All Decomposition

How much data

Compare US and France

TRANSACT Transact FRA USA
B1_GE Gross domestic product (expenditure approach) 100 % 100 %
P3 Final consumption expenditure 77.2 % 81.9 %
P3_P5 Domestic demand 101 % 103 %
P31S13 Individual consumption expenditure of general government 15.2 % 6 %
P31S14 Final consumption expenditure of households 51.8 % 65.8 %
P31S14_S15 Households and Non-profit institutions serving households 53.9 % 67.9 %
P31S15 Final consumption expenditure of non-profit institutions serving households 2.1 % 2.1 %
P32S13 Collective consumption expenditure of general government 8.1 % 8 %
P3S13 Final consumption expenditure of general government 23.3 % 14 %
P41 of which: Actual individual consumption 69.1 % 73.9 %
P5 Gross capital formation 23.9 % 21 %
P51 Gross fixed capital formation 22.9 % 20.8 %
P52 Changes in inventories 0.9 % 0.3 %
P52_P53 Changes in inventories and acquisitions less disposals of valuables 1 % 0.3 %
P53 Acquisitions less disposals of valuables 0 % NA %
P6 Exports of goods and services 31.7 % 12.3 %
P61 Exports of goods 22.1 % 8.1 %
P62 Exports of services 9.6 % 4.2 %
P7 Imports of goods and services 32.8 % 15.2 %
P71 Imports of goods 23.7 % 12.4 %
P72 Imports of services 9.1 % 2.8 %

France

Manufacturing, Industry, Industry without Manufacturing (% of GDP)

Manufacturing, Industry (% of GDP)

Number of observations

Spain, France, Germany, Italy, Greece

1995-

Manufacturing (% of GDP)

Number of observations

B1GVC - Manufacturing Value Added

United States, United Kingdom, France

Australia, Eurozone, Japan

France, Germany, Italy

Flags

Denmark, Netherlands, Norway

B1GVB_E - Industry Value Added

Individual Consumption / trend GDP

Net Exports / trend GDP

Consumption / trend GDP

Government Spending / trend GDP

Individual Government Spending / trend GDP

Collective Government Spending / trend GDP

GDP / trend GDP

Japan

Investment

Investment Rate - Compare

Location Computer software and databases Computer Hardware Computer software Cultivated biological resources Dwellings Entertainment, literary and artistic originals
China (People’s Republic of) NA NA NA NA NA NA
Zambia NA NA NA NA NA NA
Indonesia NA NA NA 1.8% 24% NA
Korea NA NA NA NA 5.8% NA
Turkey NA NA NA NA NA NA
Morocco NA NA NA NA NA NA
Ireland NA NA NA 0% 2.3% NA
Czech Republic NA NA NA 0.1% 4.3% NA
Switzerland NA NA NA 0% 4.8% NA
Sweden NA NA NA 0% 5.2% NA
Hungary NA NA NA 0.1% 3% NA
Estonia NA NA NA 0.1% 4.5% NA
Finland NA NA NA 0% 7.3% NA
Japan 1.9% NA 1.9% 0% 3.1% NA
Austria NA NA NA 0% 4.5% NA
Norway NA NA NA 0% 5.4% NA
Albania NA NA NA 0.2% 10.8% NA
Belgium NA NA NA 0% 5.9% NA
New Zealand NA 0.8% NA NA 7.4% NA
Australia 1.1% 0.3% NA 0.2% 5.7% 0.1%
Singapore NA NA NA NA 3.6% NA
France NA NA NA 0% 6.4% NA
Canada NA NA NA NA 7.6% NA
Latvia 0.7% 0.9% NA 0.1% 2.5% 0.2%
Mexico 0% 0.4% 0% 0% 6% 0%
Denmark NA NA NA 0% 4.8% NA
Hong Kong, China NA NA NA NA NA NA
Iceland NA NA NA 0% 4.3% NA
Israel NA NA NA 0% 6.6% NA
Colombia 0.3% 0.4% NA 0.5% 5% 0%
Chile NA NA NA NA NA NA
Germany NA NA NA 0% 6.3% NA
Malta NA NA NA 0% 5.1% NA
Romania NA NA NA 0% 2% NA
Euro area (19 countries) NA NA NA 0.1% 5.4% NA
Saudi Arabia NA NA NA NA NA NA
Slovak Republic NA NA NA 0.7% 3.4% NA
Lithuania NA NA NA 0.2% 2.7% NA
Madagascar NA NA NA NA NA NA
United States 2.1% 0.6% 2.1% NA 3.8% 0.4%
Netherlands NA NA NA 0% 4.9% NA
Croatia NA NA NA NA NA NA
Serbia NA NA NA 0.3% 1.4% NA
North Macedonia NA NA NA 0.1% 3.9% NA
Russia NA NA NA NA NA NA
Spain NA NA NA 0.2% 5.4% NA
Slovenia NA NA NA 0.1% 2.1% NA
Cyprus NA NA NA 0% 6.5% NA
Bulgaria NA NA NA 0.2% 2.7% NA
Poland NA NA NA 0% 1.9% NA
South Africa NA NA NA 0.2% 1.8% NA
Italy NA NA NA 0% 4.1% NA
United Kingdom NA NA NA 0.1% 4% NA
Costa Rica NA NA NA 0.2% 3.5% NA
Portugal NA NA NA 0.2% 3.1% NA
Luxembourg NA NA NA 0% 3.8% NA
Argentina NA NA NA NA NA NA
Greece NA NA NA 0% 0.7% NA

Net Exports

X - M, Total, Goods, Services

France, Germany, United Kingdom

Goods NX

Services NX

Deindustrialization and Financial Services

Imports, Exports

Germany External Demand