From 95ceff5041abd9670595c24bf784b7483f5b7e33 Mon Sep 17 00:00:00 2001 From: eli knaap Date: Fri, 8 Dec 2023 12:50:48 -0800 Subject: [PATCH 1/2] update seda url --- geosnap/_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geosnap/_data.py b/geosnap/_data.py index f2d3c627..eb10b3e7 100644 --- a/geosnap/_data.py +++ b/geosnap/_data.py @@ -194,7 +194,7 @@ def seda( ], "`standardize` argument must be either 'cs' for cohort-standardized or 'gcs' for grade-cohort-standardized" fn = f"seda_{level}_{pooling}_{standardize}_4.1" local_path = pathlib.Path(self.data_dir, "seda", f"{fn}.parquet") - remote_path = f"https://stacks.stanford.edu/file/druid:db586ns4974/{fn}.csv" + remote_path = f"https://stacks.stanford.edu/file/druid:xv742vh9296/{fn}.csv" msg = ( "Streaming data from SEDA archive at .\n" "Use `geosnap.io.store_seda()` to store the data locally for better performance" From fe396aa9635e15acd24a041425640cfa3e23ee32 Mon Sep 17 00:00:00 2001 From: eli knaap Date: Fri, 8 Dec 2023 13:02:06 -0800 Subject: [PATCH 2/2] other urls --- geosnap/io/storage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geosnap/io/storage.py b/geosnap/io/storage.py index b12d3300..b2c30d23 100644 --- a/geosnap/io/storage.py +++ b/geosnap/io/storage.py @@ -58,7 +58,7 @@ def store_seda(data_dir="auto", accept_eula=False): You agree to acknowledge the Stanford Education Data Archive as the source of these data. In publications, please cite the data as: -Reardon, S. F., Ho, A. D., Shear, B. R., Fahle, E. M., Kalogrides, D., Jang, H., & Chavez, B. (2021). Stanford Education Data Archive (Version 4.1). Retrieved from http://purl.stanford.edu/db586ns4974. +Reardon, S. F., Ho, A. D., Shear, B. R., Fahle, E. M., Kalogrides, D., Jang, H., & Chavez, B. (2021). Stanford Education Data Archive (Version 4.1). Retrieved from http://purl.stanford.edu/xv742vh9296. Subject to your compliance with the terms and conditions set forth in this Agreement, Stanford grants you a revocable, non-exclusive, non-transferable right to access and make use of the Data Sets. @@ -74,7 +74,7 @@ def store_seda(data_dir="auto", accept_eula=False): fn = f"seda_school_pool_{std}_4.1" print(f"Downloading {fn}") t = pd.read_csv( - f"https://stacks.stanford.edu/file/druid:db586ns4974/{fn}.csv", + f"https://stacks.stanford.edu/file/druid:xv742vh9296/{fn}.csv", converters={"sedasch": str, "fips": str}, ) t.sedasch = t.sedasch.str.rjust(12, "0") @@ -89,7 +89,7 @@ def store_seda(data_dir="auto", accept_eula=False): fn = f"seda_geodist_{pooling}_{std}_4.1" print(f"Downloading {fn}") t = pd.read_csv( - f"https://stacks.stanford.edu/file/druid:db586ns4974/{fn}.csv", + f"https://stacks.stanford.edu/file/druid:xv742vh9296/{fn}.csv", converters={"sedalea": str, "fips": str}, ) t.sedalea = t.sedalea.str.rjust(7, "0")