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:
Matt Bowen 2022-09-23 15:05:45 -04:00 committed by GitHub
commit 9e85375d9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 41 additions and 3 deletions

View file

@ -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,
)

View file

@ -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"