add HK&Macau EPU
This commit is contained in:
parent
59da5c03f7
commit
182a65b81a
|
@ -1,7 +1,7 @@
|
|||
import sys
|
||||
import os
|
||||
|
||||
__version__ = "0.1.8"
|
||||
__version__ = "0.1.9"
|
||||
__author__ = "Terence Lau"
|
||||
|
||||
|
||||
|
|
|
@ -1283,6 +1283,16 @@ def CN_EPU_Monthly():
|
|||
df.Date = pd.to_datetime(df.Date, format="%Y-%m-%d %H:%M:%S")
|
||||
return df
|
||||
|
||||
def CN_Hongkong_EPU():
|
||||
df = pd.read_excel("https://economicpolicyuncertaintyinchina.weebly.com/uploads/1/2/2/7/122762465/hkepu_1_july_2021_updated.xlsx")[:-2]
|
||||
df.Date = pd.to_datetime(df.Date, format="%Y-%m-%d %H:%M:%S")
|
||||
return df
|
||||
|
||||
def CN_macau_EPU():
|
||||
df = pd.read_excel("https://economicpolicyuncertaintyinchina.weebly.com/uploads/1/2/2/7/122762465/mcepu_1_july_2021_updated.xlsx")[:-2]
|
||||
df.Date = pd.to_datetime(df.Date, format="%Y-%m-%d %H:%M:%S")
|
||||
return df
|
||||
|
||||
def CN_EPU_Daily():
|
||||
df = pd.read_excel("https://economicpolicyuncertaintyinchina.weebly.com/uploads/1/2/2/7/122762465/cnepu_daily_7_july_2021_updated.xlsx")[:-2]
|
||||
df = df[["Date", "CNEPU_Daily"]]
|
||||
|
|
Loading…
Reference in New Issue