-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.1.0 #50
Commits on Jan 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 545d18d - Browse repository at this point
Copy the full SHA 545d18dView commit details
Commits on Jan 24, 2024
-
Aggregate a set of records by facility IDs, using sum or count operations. Enables point symbol mapping. Other facilities in the selection (e.g. facilities in Snohomish County *without* reported CWA violations) can be identified and retrieved when the diff flag is True Parameters ---------- records : DataSetResults object The records to aggregate. records should be a DataSetResults object created from a database query. In the : ds = make_data_sets(["CWA Violations"]) # Create a DataSet for handling the data snohomish_cwa_violations = ds["CWA Violations"].store_results(region_type="County", region_value=("SNOHOMISH",) state="WA") # Store results for this DataSet as a DataSetResults object program : String The name of the program, usually available from records.dataset.name other_records : Boolean When True, will retrieve other facilities in the selection (e.g. facilities in Snohomish County *without* reported CWA violations) Returns ------- A dictionary containing: the aggregated results active facilities regulated under this program, but without recorded violations, inspections, or whatever the metric is (e.g. violations) the name of the new field that counts or sums up the relevant metric (e.g. violations)
Configuration menu - View commit details
-
Copy full SHA for e8bc1f0 - Browse repository at this point
Copy the full SHA e8bc1f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a224b - Browse repository at this point
Copy the full SHA c1a224bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5279ece - Browse repository at this point
Copy the full SHA 5279eceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5adf09d - Browse repository at this point
Copy the full SHA 5adf09dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fcb3bb - Browse repository at this point
Copy the full SHA 9fcb3bbView commit details -
add air emissions to `aggregate_by_facility` # Air emissions elif (program == "Greenhouse Gas Emissions" or program == "Toxic Releases"): data = data.groupby([records.dataset.idx_field, "FAC_NAME", "FAC_LAT", "FAC_LONG"]).agg({records.dataset.agg_col:'sum'}) data['sum'] = data[records.dataset.agg_col] data = data.reset_index() aggregator = "sum" # keep track of which field we use to aggregate data, which may differ from the preset
Configuration menu - View commit details
-
Copy full SHA for 5803d11 - Browse repository at this point
Copy the full SHA 5803d11View commit details -
add `agg_col`, `agg_type` and `units` to DMRs
Configuration menu - View commit details
-
Copy full SHA for 24c5048 - Browse repository at this point
Copy the full SHA 24c5048View commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a505fd5 - Browse repository at this point
Copy the full SHA a505fd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab2e0f1 - Browse repository at this point
Copy the full SHA ab2e0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for adc5d2d - Browse repository at this point
Copy the full SHA adc5d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5492474 - Browse repository at this point
Copy the full SHA 5492474View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1315f60 - Browse repository at this point
Copy the full SHA 1315f60View commit details -
add aggregation to toxic releases table (this is tricky because of differing pollutants - but if the data are filtered to a specific pollutant, this makes sense) fix a problem with the units of GHG and TRI charts
Configuration menu - View commit details
-
Copy full SHA for e7a71af - Browse repository at this point
Copy the full SHA e7a71afView commit details -
fix error where unit was units in DMR data set presets
Configuration menu - View commit details
-
Copy full SHA for 172bead - Browse repository at this point
Copy the full SHA 172beadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93fbf06 - Browse repository at this point
Copy the full SHA 93fbf06View commit details -
packaging branch is deleted point to main instead
Configuration menu - View commit details
-
Copy full SHA for e023828 - Browse repository at this point
Copy the full SHA e023828View commit details -
Configuration menu - View commit details
-
Copy full SHA for d84332b - Browse repository at this point
Copy the full SHA d84332bView commit details -
add key_id argument to bring back together data separated for the choropleth
Configuration menu - View commit details
-
Copy full SHA for 1338219 - Browse repository at this point
Copy the full SHA 1338219View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a5419 - Browse repository at this point
Copy the full SHA c6a5419View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b4c20c - Browse repository at this point
Copy the full SHA 5b4c20cView commit details -
reorder the flow of region_value variable
Currently when it is a list we mush it together to make it appear on charts. But that has some downstream consquences for DataSet.region_value. Instead, only smush together the multi-selections when we make charts or store DataSet.results
Configuration menu - View commit details
-
Copy full SHA for ca5787b - Browse repository at this point
Copy the full SHA ca5787bView commit details -
Configuration menu - View commit details
-
Copy full SHA for afd8290 - Browse repository at this point
Copy the full SHA afd8290View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb40dff - Browse repository at this point
Copy the full SHA fb40dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 693da83 - Browse repository at this point
Copy the full SHA 693da83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8fa78 - Browse repository at this point
Copy the full SHA 9c8fa78View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f3367 - Browse repository at this point
Copy the full SHA c9f3367View commit details -
Create ECHO_modules_Tutorials.ipynb
add the Jupyter Notebook for the tutorials
Configuration menu - View commit details
-
Copy full SHA for 90b352f - Browse repository at this point
Copy the full SHA 90b352fView commit details
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8582fd9 - Browse repository at this point
Copy the full SHA 8582fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54d8115 - Browse repository at this point
Copy the full SHA 54d8115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f25798 - Browse repository at this point
Copy the full SHA 7f25798View commit details -
Update ECHO_modules_Tutorials.ipynb
update tutorial notebook with interpretation and background sections of README
Configuration menu - View commit details
-
Copy full SHA for e0685ec - Browse repository at this point
Copy the full SHA e0685ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 150900a - Browse repository at this point
Copy the full SHA 150900aView commit details -
creates `choropleth()` fixes #55 This will break the missing data notebook, but we will make a note to fix that later
Configuration menu - View commit details
-
Copy full SHA for 3658434 - Browse repository at this point
Copy the full SHA 3658434View commit details -
update zip code definition to match what's in the database
Configuration menu - View commit details
-
Copy full SHA for 769ee53 - Browse repository at this point
Copy the full SHA 769ee53View commit details -
Configuration menu - View commit details
-
Copy full SHA for f340874 - Browse repository at this point
Copy the full SHA f340874View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c15f48 - Browse repository at this point
Copy the full SHA 9c15f48View commit details -
Configuration menu - View commit details
-
Copy full SHA for eab4d01 - Browse repository at this point
Copy the full SHA eab4d01View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9e71f9 - Browse repository at this point
Copy the full SHA a9e71f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 265480a - Browse repository at this point
Copy the full SHA 265480aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cca1058 - Browse repository at this point
Copy the full SHA cca1058View commit details -
Configuration menu - View commit details
-
Copy full SHA for 779b91c - Browse repository at this point
Copy the full SHA 779b91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ad01a - Browse repository at this point
Copy the full SHA c5ad01aView commit details -
change numpy dependency to 1.23.5, which is Google Colab's default
Configuration menu - View commit details
-
Copy full SHA for a3bf506 - Browse repository at this point
Copy the full SHA a3bf506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65d50b5 - Browse repository at this point
Copy the full SHA 65d50b5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.