add HK&Macau EPU

This commit is contained in:
TerenceLiu98 2021-07-08 09:38:37 +08:00
parent 59da5c03f7
commit 182a65b81a
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import sys
import os
__version__ = "0.1.8"
__version__ = "0.1.9"
__author__ = "Terence Lau"

View File

@ -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"]]

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import os
setup(
name = "CEDApy",
version = "0.1.8",
version = "0.1.9",
keywords = "quantitative economic data",
long_description = open(
os.path.join(