summaryrefslogtreecommitdiffstats
path: root/openbb_platform/providers/oecd/openbb_oecd/utils/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/providers/oecd/openbb_oecd/utils/constants.py')
-rw-r--r--openbb_platform/providers/oecd/openbb_oecd/utils/constants.py66
1 files changed, 59 insertions, 7 deletions
diff --git a/openbb_platform/providers/oecd/openbb_oecd/utils/constants.py b/openbb_platform/providers/oecd/openbb_oecd/utils/constants.py
index f03885d5a83..540c91727d4 100644
--- a/openbb_platform/providers/oecd/openbb_oecd/utils/constants.py
+++ b/openbb_platform/providers/oecd/openbb_oecd/utils/constants.py
@@ -67,6 +67,7 @@ COUNTRY_TO_CODE_RGDP = {
"czech_republic": "CZE",
"denmark": "DNK",
"estonia": "EST",
+ "euro_area_20": "EA20",
"euro_area_19": "EA19",
"europe": "OECDE",
"european_union_27": "EU27_2020",
@@ -169,8 +170,8 @@ COUNTRY_TO_CODE_GDP_FORECAST = {
CODE_TO_COUNTRY_GDP_FORECAST = {v: k for k, v in COUNTRY_TO_CODE_GDP_FORECAST.items()}
COUNTRY_TO_CODE_CPI = {
- "G20": "G-20",
- "G7": "G-7",
+ "G20": "G20",
+ "G7": "G7",
"argentina": "ARG",
"australia": "AUS",
"austria": "AUT",
@@ -184,7 +185,7 @@ COUNTRY_TO_CODE_CPI = {
"czech_republic": "CZE",
"denmark": "DNK",
"estonia": "EST",
- "euro_area_19": "EA19",
+ "euro_area_20": "EA20",
"europe": "OECDE",
"european_union_27": "EU27_2020",
"finland": "FIN",
@@ -222,6 +223,7 @@ COUNTRY_TO_CODE_CPI = {
"united_kingdom": "GBR",
"united_states": "USA",
}
+CODE_TO_COUNTRY_CPI = {v: k for k, v in COUNTRY_TO_CODE_CPI.items()}
COUNTRY_TO_CODE_BALANCE = {
"australia": "AUS",
@@ -463,7 +465,6 @@ COUNTRY_TO_CODE_UNEMPLOYMENT = {
"united_kingdom": "GBR",
"italy": "ITA",
"luxembourg": "LUX",
- "euro_area19": "EA19",
"sweden": "SWE",
"oecd": "OECD",
"south_africa": "ZAF",
@@ -493,7 +494,7 @@ COUNTRY_TO_CODE_UNEMPLOYMENT = {
"turkey": "TUR",
"australia": "AUS",
"poland": "POL",
- "south_korea": "KOR",
+ "korea": "KOR",
"chile": "CHL",
"finland": "FIN",
"european_union27_2020": "EU27_2020",
@@ -502,8 +503,7 @@ COUNTRY_TO_CODE_UNEMPLOYMENT = {
"euro_area20": "EA20",
"estonia": "EST",
"belgium": "BEL",
- "brazil": "BRA",
- "indonesia": "IDN",
+ "g7": "G7",
}
CODE_TO_COUNTRY_UNEMPLOYMENT = {v: k for k, v in COUNTRY_TO_CODE_UNEMPLOYMENT.items()}
@@ -534,6 +534,8 @@ CODE_TO_COUNTRY_CLI = {v: k for k, v in COUNTRY_TO_CODE_CLI.items()}
COUNTRY_TO_CODE_IR = {
"belgium": "BEL",
+ "bulgaria": "BGR",
+ "brazil": "BRA",
"ireland": "IRL",
"mexico": "MEX",
"indonesia": "IDN",
@@ -571,6 +573,7 @@ COUNTRY_TO_CODE_IR = {
"slovakia": "SVK",
"finland": "FIN",
"spain": "ESP",
+ "romania": "ROU",
"russia": "RUS",
"euro_area19": "EA19",
"colombia": "COL",
@@ -581,3 +584,52 @@ COUNTRY_TO_CODE_IR = {
}
CODE_TO_COUNTRY_IR = {v: k for k, v in COUNTRY_TO_CODE_IR.items()}
+
+COUNTRY_TO_CODE_SHARES = {
+ "slovenia": "SVN",
+ "russia": "RUS",
+ "latvia": "LVA",
+ "korea": "KOR",
+ "brazil": "BRA",
+ "france": "FRA",
+ "sweden": "SWE",
+ "luxembourg": "LUX",
+ "belgium": "BEL",
+ "china": "CHN",
+ "finland": "FIN",
+ "euro_area19": "EA19",
+ "japan": "JPN",
+ "hungary": "HUN",
+ "australia": "AUS",
+ "switzerland": "CHE",
+ "portugal": "PRT",
+ "estonia": "EST",
+ "canada": "CAN",
+ "slovak_republic": "SVK",
+ "turkey": "TUR",
+ "croatia": "HRV",
+ "denmark": "DNK",
+ "italy": "ITA",
+ "india": "IND",
+ "south_africa": "ZAF",
+ "czech_republic": "CZE",
+ "new_zealand": "NZL",
+ "netherlands": "NLD",
+ "iceland": "ISL",
+ "germany": "DEU",
+ "indonesia": "IDN",
+ "ireland": "IRL",
+ "united_states": "USA",
+ "chile": "CHL",
+ "lithuania": "LTU",
+ "greece": "GRC",
+ "united_kingdom": "GBR",
+ "colombia": "COL",
+ "norway": "NOR",
+ "spain": "ESP",
+ "israel": "ISR",
+ "poland": "POL",
+ "austria": "AUT",
+ "mexico": "MEX",
+}
+CODE_TO_COUNTRY_SHARES = {v: k for k, v in COUNTRY_TO_CODE_SHARES.items()}