Add Cercarbono and Isometric registry support#158
Merged
Conversation
…update project processing methods
…and add process_isometric_credits function for Isometric credit processing
…sion, missing columns addition, and schema validation
…t_id_schema for better precision
…e and retirement dates in process_isometric_projects function
…es for issuances and retirements, and streamline data processing logic.
…ant assignment in process_isometric_credits function
…s, and update column mappings for better consistency
…date registry abbreviation mapping for consistency
…ssuances and retirements, and update column mappings in credits-raw-columns-mapping.json for consistency.
… rearranging transaction type assignment and data processing logic.
…d, mapped protocol IDs (or None when absent/unrecognized), and a new protocol_unassigned column captures the raw registry strings that couldn't be matched. NaN, empty, and whitespace-only inputs yield None in both columns, eliminating the previous ['unknown'] sentinel
…production Co-authored-by: Copilot <copilot@github.com>
Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.Update terms of data access Includes appropriate attribution of cercarbono.
for more information, see https://pre-commit.ci
includes resolving a TODO in our treatment within `cercarbono.py`
for more information, see https://pre-commit.ci
- Implemented function to append placeholder rows for orphan project IDs in credits. - Updated with cercarbono project URL. - Adjusted imports in to include .
…d_placeholder_projects
…idation in transform_registry_data
…nction Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
cercarbono.pywithprocess_cercarbono_projectsandprocess_cercarbono_creditstransaction_urlfield in credit schema,Float64precision fix for retired/issued/quantitycolumns,
pandera.pandasimport update,add_categorynow reads category directly from protocol mapping (decouples category fromproject_type), floating-point precision fix inadd_retired_and_issued_totalstests/data/cercarbono/isometric.pywithprocess_isometric_projectsandprocess_isometric_creditsiso→isometricto registry abbreviation maptests/data/isometric/