mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-28 14:11:17 -07:00
Add tribal overlap to downloads (#1907)
* Add tribal data to downloads (#1904) * Update test pickle with current cols (#1904) * Remove text of tribe names from GeoJSON (#1904) * Update test data (#1904) * Add tribal overlap to smoketests (#1904)
This commit is contained in:
parent
6e0ef33d81
commit
9e85375d9b
10 changed files with 41 additions and 3 deletions
|
@ -215,3 +215,16 @@ def national_tract_df():
|
|||
low_memory=False,
|
||||
header=None,
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def tribal_overlap():
|
||||
tribal_overlap = (
|
||||
constants.DATA_PATH / "dataset" / "tribal_overlap" / "usa.csv"
|
||||
)
|
||||
|
||||
return pd.read_csv(
|
||||
tribal_overlap,
|
||||
dtype={GEOID_TRACT_FIELD: "string"},
|
||||
low_memory=False,
|
||||
)
|
||||
|
|
|
@ -27,6 +27,7 @@ from .fixtures import (
|
|||
census_2010_df,
|
||||
hrs_df,
|
||||
national_tract_df,
|
||||
tribal_overlap,
|
||||
)
|
||||
|
||||
|
||||
|
@ -249,6 +250,7 @@ def test_data_sources(
|
|||
census_decennial_df,
|
||||
census_2010_df,
|
||||
hrs_df,
|
||||
tribal_overlap,
|
||||
):
|
||||
data_sources = {
|
||||
key: value for key, value in locals().items() if key != "final_score_df"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue