Datasets:
Download spaces/us_power_sector/schema/join_map.yaml from DataInternSubmission/DataIntern-DataSpaces: direct link, hf CLI and curl.
- Browser
- Download file 21.4 kB
-
https://huggingface.co/datasets/DataInternSubmission/DataIntern-DataSpaces/resolve/main/spaces/us_power_sector/schema/join_map.yaml
- Command line
-
hf download hf://datasets/DataInternSubmission/DataIntern-DataSpaces/spaces/us_power_sector/schema/join_map.yaml
-
curl -L -o join_map.yaml https://huggingface.co/datasets/DataInternSubmission/DataIntern-DataSpaces/resolve/main/spaces/us_power_sector/schema/join_map.yaml
21.4 kB
| scenario: us_power_sector | |
| generated_from: dependency_graph.jsonl (audited, join-spine-repaired) | |
| note: 'every join here was executed against duckdb: it returns rows. `join: via` means a two-hop path through `via.table`; use the `sql` field | |
| verbatim.' | |
| n_joins: 37 | |
| joins: | |
| - left_table: fact_eia923_generation | |
| left_col: plant_id_eia | |
| right_table: dim_plant_yearly | |
| right_col: Plant Code | |
| type: SOFT_SUPPORTED | |
| join: direct | |
| strength: high | |
| key_coverage: 0.996 | |
| column_repairs: | |
| - dim_plant_yearly.plant_id_eia -> CAST({A}"Plant Code" AS VARCHAR) (value_coverage=0.996) | |
| sql: "SELECT * FROM \"fact_eia923_generation\" a\n JOIN \"dim_plant_yearly\" b ON CAST(a.\"plant_id_eia\" AS VARCHAR) = CAST(b.\"Plant Code\"\ | |
| \ AS VARCHAR)" | |
| - left_table: fact_eia923_generation | |
| left_col: prime_mover_code | |
| right_table: dim_prime_mover | |
| right_col: prime_mover_code | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_eia923_generation\" a\n JOIN \"dim_prime_mover\" b ON CAST(a.\"prime_mover_code\" AS VARCHAR) = CAST(b.\"prime_mover_code\"\ | |
| \ AS VARCHAR)" | |
| - left_table: fact_eia923_generation | |
| left_col: energy_source_code | |
| right_table: dim_fuel_type | |
| right_col: energy_source_code | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_eia923_generation\" a\n JOIN \"dim_fuel_type\" b ON CAST(a.\"energy_source_code\" AS VARCHAR) = CAST(b.\"energy_source_code\"\ | |
| \ AS VARCHAR)" | |
| - left_table: fact_eia923_fuel_consumption | |
| left_col: plant_id_eia | |
| right_table: dim_plant_yearly | |
| right_col: Plant Code | |
| type: SOFT_SUPPORTED | |
| join: direct | |
| strength: high | |
| key_coverage: 0.996 | |
| column_repairs: | |
| - dim_plant_yearly.plant_id_eia -> CAST({A}"Plant Code" AS VARCHAR) (value_coverage=0.996) | |
| sql: "SELECT * FROM \"fact_eia923_fuel_consumption\" a\n JOIN \"dim_plant_yearly\" b ON CAST(a.\"plant_id_eia\" AS VARCHAR) = CAST(b.\"Plant\ | |
| \ Code\" AS VARCHAR)" | |
| - left_table: fact_eia923_fuel_consumption | |
| left_col: energy_source_code | |
| right_table: dim_fuel_type | |
| right_col: energy_source_code | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_eia923_fuel_consumption\" a\n JOIN \"dim_fuel_type\" b ON CAST(a.\"energy_source_code\" AS VARCHAR) = CAST(b.\"\ | |
| energy_source_code\" AS VARCHAR)" | |
| - left_table: fact_eia923_fuel_receipts | |
| left_col: plant_id_eia | |
| right_table: dim_plant_yearly | |
| right_col: Plant Code | |
| type: SOFT_SUPPORTED | |
| join: via | |
| via: | |
| table: bridge_eia_camd_subplant | |
| left_col: plant_id_eia | |
| right_col: plant_id_epa | |
| left_cov: 0.9795 | |
| right_cov: 0.901 | |
| two_hop_left_cov: 0.9767 | |
| strength: medium | |
| key_coverage: 0.9795 | |
| caveat: 'partial key coverage: 0.980 of left values match' | |
| column_repairs: | |
| - dim_plant_yearly.plant_id_eia -> CAST({A}"Plant Code" AS VARCHAR) (value_coverage=0.980) | |
| sql: "SELECT * FROM \"fact_eia923_fuel_receipts\" a\n JOIN \"bridge_eia_camd_subplant\" x ON CAST(a.\"plant_id_eia\" AS VARCHAR) = CAST(x.\"\ | |
| plant_id_eia\" AS VARCHAR)\n JOIN \"dim_plant_yearly\" b ON CAST(x.\"plant_id_epa\" AS VARCHAR) = CAST(b.\"Plant Code\" AS VARCHAR)" | |
| - left_table: fact_eia923_fuel_receipts | |
| left_col: energy_source_code | |
| right_table: dim_fuel_type | |
| right_col: energy_source_code | |
| type: SOFT_SUPPORTED | |
| join: direct | |
| via: | |
| table: fact_eia923_fuel_receipts | |
| left_col: energy_source_code | |
| right_col: Plant State | |
| left_cov: 1.0 | |
| right_cov: 0.0204 | |
| strength: medium | |
| key_coverage: 0.9231 | |
| caveat: 'partial key coverage: 0.923 of left values match' | |
| sql: "SELECT * FROM \"fact_eia923_fuel_receipts\" a\n JOIN \"dim_fuel_type\" b ON CAST(a.\"energy_source_code\" AS VARCHAR) = CAST(b.\"energy_source_code\"\ | |
| \ AS VARCHAR)" | |
| - left_table: fact_cems_hourly_emissions | |
| left_col: plant_id_eia | |
| right_table: dim_plant_yearly | |
| right_col: Plant Code | |
| type: SOFT_SUPPORTED | |
| join: via | |
| via: | |
| table: dim_unit_camd | |
| left_col: plant_id_eia | |
| right_col: plant_id_epa | |
| left_cov: 1.0 | |
| right_cov: 0.9586 | |
| two_hop_left_cov: 0.9597 | |
| strength: high | |
| key_coverage: 0.9643 | |
| caveat: 'partial key coverage: 0.964 of left values match' | |
| column_repairs: | |
| - dim_plant_yearly.plant_id_eia -> CAST({A}"Plant Code" AS VARCHAR) (value_coverage=0.964) | |
| sql: "SELECT * FROM \"fact_cems_hourly_emissions\" a\n JOIN \"dim_unit_camd\" x ON CAST(a.\"plant_id_eia\" AS VARCHAR) = CAST(x.\"plant_id_eia\"\ | |
| \ AS VARCHAR)\n JOIN \"dim_plant_yearly\" b ON CAST(x.\"plant_id_epa\" AS VARCHAR) = CAST(b.\"Plant Code\" AS VARCHAR)" | |
| - left_table: fact_cems_hourly_emissions | |
| left_col: emissions_unit_id_epa | |
| right_table: dim_unit_camd | |
| right_col: emissions_unit_id_epa | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_cems_hourly_emissions\" a\n JOIN \"dim_unit_camd\" b ON CAST(a.\"emissions_unit_id_epa\" AS VARCHAR) = CAST(b.\"\ | |
| emissions_unit_id_epa\" AS VARCHAR)" | |
| - left_table: fact_ferc1_steam_plant_operations | |
| left_col: utility_id_ferc1 | |
| right_table: dim_utility_ferc1 | |
| right_col: utility_id_ferc1 | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_ferc1_steam_plant_operations\" a\n JOIN \"dim_utility_ferc1\" b ON CAST(a.\"utility_id_ferc1\" AS VARCHAR) = CAST(b.\"\ | |
| utility_id_ferc1\" AS VARCHAR)" | |
| - left_table: fact_ferc1_steam_plant_operations | |
| left_col: record_id | |
| right_table: fact_ferc1_all_plants | |
| right_col: record_id | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| column_repairs: | |
| - 'fact_ferc1_all_plants.record_id (discovered: true; inclusion: 1.0; parent_unique: true) -> CAST({A}"record_id" AS VARCHAR) (value_coverage=1.000)' | |
| sql: "SELECT * FROM \"fact_ferc1_steam_plant_operations\" a\n JOIN \"fact_ferc1_all_plants\" b ON CAST(a.\"record_id\" AS VARCHAR) = CAST(b.\"\ | |
| record_id\" AS VARCHAR)" | |
| - left_table: fact_ferc1_fuel_by_plant | |
| left_col: utility_id_ferc1 | |
| right_table: dim_utility_ferc1 | |
| right_col: utility_id_ferc1 | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_ferc1_fuel_by_plant\" a\n JOIN \"dim_utility_ferc1\" b ON CAST(a.\"utility_id_ferc1\" AS VARCHAR) = CAST(b.\"utility_id_ferc1\"\ | |
| \ AS VARCHAR)" | |
| - left_table: fact_climate_monthly_state | |
| left_col: state_fips | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 1.0 | |
| sql: "SELECT * FROM \"fact_climate_monthly_state\" a\n JOIN \"dim_state\" b ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS\ | |
| \ VARCHAR)" | |
| - left_table: fact_generator_status_event | |
| left_col: plant_id_eia | |
| right_table: dim_plant_yearly | |
| right_col: Plant Code | |
| type: CERTIFIED_HARD | |
| join: direct | |
| strength: high | |
| key_coverage: 0.9997 | |
| column_repairs: | |
| - dim_plant_yearly.plant_id_eia -> CAST({A}"Plant Code" AS VARCHAR) (value_coverage=1.000) | |
| sql: "SELECT * FROM \"fact_generator_status_event\" a\n JOIN \"dim_plant_yearly\" b ON CAST(a.\"plant_id_eia\" AS VARCHAR) = CAST(b.\"Plant\ | |
| \ Code\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_operable | |
| left_col: State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_operable\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\"\ | |
| \ AS VARCHAR)\n JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_operable | |
| left_col: State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_operable\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_proposed | |
| left_col: State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_proposed\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\"\ | |
| \ AS VARCHAR)\n JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_proposed | |
| left_col: State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_proposed\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_retired_and_canceled | |
| left_col: State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_retired_and_canceled\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"\ | |
| state_abbr\" AS VARCHAR)\n JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_generator_yearly_retired_and_canceled | |
| left_col: State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_generator_yearly_retired_and_canceled\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"\ | |
| state_abbr\" AS VARCHAR)\n JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_owner_yearly | |
| left_col: State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9804 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_owner_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\" AS VARCHAR)\n\ | |
| \ JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_owner_yearly | |
| left_col: State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9804 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_owner_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_plant_yearly | |
| left_col: State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9804 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_plant_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\" AS VARCHAR)\n\ | |
| \ JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_plant_yearly | |
| left_col: State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9804 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_plant_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"State\" AS VARCHAR) = CAST(x.\"state_abbr\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_plant_yearly | |
| left_col: Transmission or Distribution System Owner State | |
| right_table: dim_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_plant_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"Transmission or Distribution System Owner State\" AS VARCHAR)\ | |
| \ = CAST(x.\"state_abbr\" AS VARCHAR)\n JOIN \"dim_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: dim_plant_yearly | |
| left_col: Transmission or Distribution System Owner State | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 0.9808 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9615 | |
| strength: medium | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_plant_yearly\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"Transmission or Distribution System Owner State\" AS VARCHAR)\ | |
| \ = CAST(x.\"state_abbr\" AS VARCHAR)\n JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\"\ | |
| \ AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: dim_utility_yearly | |
| right_col: State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.9123 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"dim_utility_yearly\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"State\" AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: fact_cems_hourly_emissions | |
| right_col: state | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8947 | |
| two_hop_left_cov: 0.98 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_cems_hourly_emissions\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"state\" AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: fact_eia923_boiler_fuel | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_eia923_boiler_fuel\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: fact_eia923_fuel_consumption | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8947 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_eia923_fuel_consumption\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: fact_eia923_fuel_receipts | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8596 | |
| two_hop_left_cov: 0.98 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_eia923_fuel_receipts\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: dim_state | |
| left_col: state_fips | |
| right_table: fact_eia923_generation | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8947 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"dim_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\" AS VARCHAR)\n\ | |
| \ JOIN \"fact_eia923_generation\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: fact_cems_hourly_emissions | |
| left_col: state | |
| right_table: fact_climate_monthly_state | |
| right_col: state_fips | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_abbr | |
| right_col: state_fips | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 0.9608 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"fact_cems_hourly_emissions\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state\" AS VARCHAR) = CAST(x.\"state_abbr\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_climate_monthly_state\" b ON CAST(x.\"state_fips\" AS VARCHAR) = CAST(b.\"state_fips\" AS VARCHAR)" | |
| - left_table: fact_climate_monthly_state | |
| left_col: state_fips | |
| right_table: fact_eia923_boiler_fuel | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8772 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"fact_climate_monthly_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_eia923_boiler_fuel\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: fact_climate_monthly_state | |
| left_col: state_fips | |
| right_table: fact_eia923_fuel_consumption | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8947 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"fact_climate_monthly_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_eia923_fuel_consumption\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: fact_climate_monthly_state | |
| left_col: state_fips | |
| right_table: fact_eia923_fuel_receipts | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8596 | |
| two_hop_left_cov: 0.98 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"fact_climate_monthly_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_eia923_fuel_receipts\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |
| - left_table: fact_climate_monthly_state | |
| left_col: state_fips | |
| right_table: fact_eia923_generation | |
| right_col: Plant State | |
| type: CROSSWALK_JOIN | |
| join: via | |
| via: | |
| table: xw_us_state_fips | |
| left_col: state_fips | |
| right_col: state_abbr | |
| left_cov: 1.0 | |
| right_cov: 0.8947 | |
| two_hop_left_cov: 1.0 | |
| strength: high | |
| key_coverage: 0.0 | |
| sql: "SELECT * FROM \"fact_climate_monthly_state\" a\n JOIN \"xw_us_state_fips\" x ON CAST(a.\"state_fips\" AS VARCHAR) = CAST(x.\"state_fips\"\ | |
| \ AS VARCHAR)\n JOIN \"fact_eia923_generation\" b ON CAST(x.\"state_abbr\" AS VARCHAR) = CAST(b.\"Plant State\" AS VARCHAR)" | |