INNER CODE UNIT · Python
ExtractItems
lefterisloukas/edgar-crawler · extract_items.py:122
class ExtractItems:
"""
A class used to extract certain items from the raw files.
Attributes:
remove_tables (bool): Flag to indicate if tables need to be removed.
items_list (List[str]): List of all items that could be extracted.
items_to_extract (List[str]): List of items to be extracted. If not provided, all items will be extracted.
raw_files_folder (str): Path of the directory containing raw files.
extracted_files_folder (str): Path of the directory to save the extracted files.
skip_extracted_filings (bool): Flag to indicate if already extracted filings should be skipped.
"""
def __init__(
self,
remove_tables: bool,
items_to_extract: List[str],
include_signature: bool,