add HK&Macau EPU
This commit is contained in:
parent
59da5c03f7
commit
182a65b81a
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
__version__ = "0.1.8"
|
__version__ = "0.1.9"
|
||||||
__author__ = "Terence Lau"
|
__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")
|
df.Date = pd.to_datetime(df.Date, format="%Y-%m-%d %H:%M:%S")
|
||||||
return df
|
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():
|
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 = 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"]]
|
df = df[["Date", "CNEPU_Daily"]]
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
setup(
|
setup(
|
||||||
name = "CEDApy",
|
name = "CEDApy",
|
||||||
version = "0.1.8",
|
version = "0.1.9",
|
||||||
keywords = "quantitative economic data",
|
keywords = "quantitative economic data",
|
||||||
long_description = open(
|
long_description = open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
|
|
Loading…
Reference in New Issue