<commit_before># Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

from scrapy.item import Item, Field


class DmozItem(Item):
    title = Field()
    link = Field()
    desc = Field()


class StockItem(Item):
    symbol = Field()
    key = Field()
    value = Field()
    date = Field()<commit_msg>Added ReportItem to store data on per report basis.<commit_after># Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

from scrapy.item import Item, Field


class DmozItem(Item):
    title = Field()
    link = Field()
    desc = Field()


class StockItem(Item):
    symbol = Field()
    key = Field()
    value = Field()
    date = Field()


class ReportItem(Item):
    # Trading symbol
    symbol = Field()

    # Quarterly (10-Q) or annual (10-K) report
    doc_type = Field()

    # Q1, Q2, Q3, or FY for annual report
    period_focus = Field()

    end_date = Field()

    revenues = Field()
    net_income = Field()

    shares_a = Field()
    shares_b = Field()

    eps_basic = Field()
    eps_diluted = Field()

    dividend = Field()

    assets = Field()
    debt = Field()
    equity = Field()
    cash = Field()
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.0055074744295830055, 'mean_word_length': 2.7857142857142856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5486006', 'n_tokens_mistral': 425, 'n_tokens_neox': 405, 'n_words': 127}