'Main gateway into parsing the data. Will retrieve all necessary data
elements.'

def parse_for_data(self):

    data = []
    if (self.intro_text and self.title):
        data_elements = {'module': self.title, 'function': '', 'method_signature': '', 'first_paragraph': self.intro_text, 'url': self.create_url('')}
        data.append(data_elements)
    titleName = 'propTitle'
    for prop_section in self.prop_sections:
        prop_name = self.parse_for_prop_name(prop_section)
        if prop_name:
            prop_signature = self.parse_for_signature(prop_section, titleName)
            first_paragraph = self.parse_for_first_paragraph(prop_section)
            anchor = self.parse_for_anchor(prop_section)
            url = self.create_url(anchor)
            data_elements = {'module': self.title, 'function': prop_name, 'method_signature': prop_signature, 'first_paragraph': first_paragraph, 'url': url}
            data.append(data_elements)
    titleName = 'methodTitle'
    for method_section in self.method_sections:
        method_name = self.parse_for_method_name(method_section)
        if method_name:
            method_signature = self.parse_for_signature(method_section, titleName)
            first_paragraph = self.parse_for_first_paragraph(method_section)
            anchor = self.parse_for_anchor(method_section)
            url = self.create_url(anchor)
            data_elements = {'module': self.title, 'function': method_name, 'method_signature': method_signature, 'first_paragraph': first_paragraph, 'url': url}
            data.append(data_elements)
    self.parsed_data = data
