Skip to content

Commit

Permalink
concentration metrics update
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Apr 16, 2024
1 parent e61fe20 commit 5e76e3a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Binary file removed public/data/_concentration_metrics_wide_ds.parquet
Binary file not shown.
Binary file added public/data/concentration_metrics_wide.parquet
Binary file not shown.
Binary file modified public/data/concentration_metrics_wide_ds.parquet
Binary file not shown.
14 changes: 12 additions & 2 deletions utils/data/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,19 @@ const yostCols: Array<ColumnConfig> = ["Yost_Overall_Quintile", "Yost_State_Quin
reversed: true,
}))

const HhiConfig: DataConfig = {
filename: "data/concentration_metrics_wide.parquet",
name: "Concentration Metrics (Dollar Stores)",
id: "GEOID",
columns: hhiColumns,
eager: true,
attribution: "Data source: InfoGroup Reference USA. ACS 2000-2020. Census Centers of Population 2020.",
colorScheme: "schemeYlOrRd",
nBins: 6,
}
const DollarStoreHhiConfig: DataConfig = {
filename: "data/concentration_metrics_wide_ds.parquet",
name: "Concentration Metrics",
name: "Concentration Metrics (No Dollar Stores)",
id: "GEOID",
columns: hhiColumns,
eager: true,
Expand Down Expand Up @@ -94,5 +104,5 @@ const SdohData: DataConfig = {

export const defaultData = GravityDollar.filename
export const defaultYear = 2020
export default [GravityDollar, GravityNoDollar, DollarStoreHhiConfig, SdohData,
export default [GravityDollar, GravityNoDollar, HhiConfig, DollarStoreHhiConfig, SdohData,
]

0 comments on commit 5e76e3a

Please sign in to comment.