diff --git a/lectures/hansen_jagannathan_1991.md b/lectures/hansen_jagannathan_1991.md index 2987f38e..ad83b154 100644 --- a/lectures/hansen_jagannathan_1991.md +++ b/lectures/hansen_jagannathan_1991.md @@ -179,11 +179,7 @@ interchangeably. import json, urllib.request -DATA_URL = ( - "https://raw.githubusercontent.com/QuantEcon/lecture-python-advanced.myst/" - "refs/heads/main/lectures/_static/lecture_specific/" - "hansen_jagannathan_1991/hansen_jagannathan_1991_data.json" -) +DATA_URL = "https://github.com/QuantEcon/data-lectures/raw/main/lectures/hansen_jagannathan_1991_data.json" def _load_bundle(url): diff --git a/lectures/subjective_beliefs_business_cycles.md b/lectures/subjective_beliefs_business_cycles.md index 0477c2fb..efac3d88 100644 --- a/lectures/subjective_beliefs_business_cycles.md +++ b/lectures/subjective_beliefs_business_cycles.md @@ -146,10 +146,10 @@ one-year-ahead inflation forecast and the shares of households answering the monthly unemployment rate. ```{code-cell} ipython3 -data_path = '_static/lecture_specific/subjective_beliefs_business_cycles/' -macro_q = pd.read_csv(data_path + 'bbh_macro_quarterly.csv', +data_url = 'https://github.com/QuantEcon/data-lectures/raw/main/lectures/' +macro_q = pd.read_csv(data_url + 'bbh_macro_quarterly.csv', index_col='YYYYQ') -mich_m = pd.read_csv(data_path + 'bbh_michigan_monthly.csv', +mich_m = pd.read_csv(data_url + 'bbh_michigan_monthly.csv', index_col='yyyymm') ```