Skip to content

Commit

Permalink
seda v5
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Nov 8, 2024
1 parent 902a86b commit 712f4cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions geosnap/_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,13 @@ def seda(
"cs",
]
), "`standardize` argument must be either 'cs' for cohort-standardized or 'gcs' for grade-cohort-standardized"

if pooling == "poolsub":
fn = f"seda_{level}_{pooling}_{standardize}_4.1_corrected"
fn = f"seda_{level}_{pooling}_{standardize}_5.0"
else:
fn = f"seda_{level}_{pooling}_{standardize}_4.1"
fn = f"seda_{level}_{pooling}_{standardize}_5.0"
local_path = pathlib.Path(self.data_dir, "seda", f"{fn}.parquet")
remote_path = f"https://stacks.stanford.edu/file/druid:xv742vh9296/{fn}.csv"
remote_path = f"https://stacks.stanford.edu/file/druid:cs829jn7849/{fn}.csv"
msg = (
"Streaming data from SEDA archive at <https://exhibits.stanford.edu/data/catalog/db586ns4974>.\n"
"Use `geosnap.io.store_seda()` to store the data locally for better performance"
Expand Down

0 comments on commit 712f4cb

Please sign in to comment.