Add get_nonzero_count flag to annual aggregation query. This will generate additional columns that counts the number of buildings with non-zero usage for the listed enduses. It is useful, for example, to find the number of natural gas consuming houses.
Add athena_query_reuse flag to the BuildStockQuery initialization. When set to False (default is true), Athena will not use cached query result; it will run a new query. This is useful when the underlying s3 data, or the glue data catalog (datatype) has been changed.
Pull Request Description
Couple of features and fixes
get_nonzero_count
flag to annual aggregation query. This will generate additional columns that counts the number of buildings with non-zero usage for the listed enduses. It is useful, for example, to find the number of natural gas consuming houses.athena_query_reuse
flag to the BuildStockQuery initialization. When set to False (default is true), Athena will not use cached query result; it will run a new query. This is useful when the underlying s3 data, or the glue data catalog (datatype) has been changed.