Previously, the data_mart.counties_wide_format table only had entries for counties that contained a power plant or proposed fossil infrastructure project. This PR joins in all counties and fills their values with NULL.
The process of creating the county-level properties was exactly duplicated with create_long_format(), so I factored this out into a new function _get_county_properties().
Previously, the
data_mart.counties_wide_format
table only had entries for counties that contained a power plant or proposed fossil infrastructure project. This PR joins in all counties and fills their values with NULL.The process of creating the county-level properties was exactly duplicated with
create_long_format()
, so I factored this out into a new function_get_county_properties()
.