Nested Statements
Several functions in data_extraction.py contain multiple nested if-statements, for-loops etc. Could this be improved by e.g. splitting them into smaller functions?
This is related to several pylint-warnings, which are currently disabled locally in the script:
- R0912 too-many-branches
- R1702 too-many-nested-blocks
- R1710 inconsistent-return-statements