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.
semi-automatic parser (#140)
I made enhancements to the semi-automatic JSON parser. The primary objective of these enhancements was to facilitate the conversion of PDF files into CSV format using the dedicated script
converter.py
.The process involves the following steps:
PDF to CSV Conversion: This conversion is a critical step in the extraction process, as it makes the data more accessible and manageable.
Information Extraction: Following the PDF-to-CSV conversion, we can employ the
parse_election_results.py
script to extract information from the CSV files.CSV Refinement: This refinement process makes the data more structured and user-friendly, further facilitating the extraction of information.
It's important to note that while these enhancements have greatly streamlined the extraction process, it's not entirely automated. There may still be cases where the parser detects errors in specific rows of the CSV files. In such instances, manual intervention may be required to correct these issues.