Esempio n. 1
0
    def __init__(self):
        """
		Indirect Donations
		"""
        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 2
        self.category_type = 'indirect_donations'
        self.category_description = 'Indirect Donations'
        self.isCurrency = True
Esempio n. 2
0
    def __init__(self):
        """
		Gifts from outside the UK
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 6
        self.category_type = 'gifts_outside_uk'
        self.category_description = 'Gifts Outside UK'
        self.isCurrency = True
Esempio n. 3
0
    def __init__(self):
        """
		Gifts
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 4
        self.category_type = 'gifts'
        self.category_description = 'Gifts'
        self.isCurrency = True
Esempio n. 4
0
	def __init__(self):
		"""
		Family Lobbyists
		"""

		# Init the class, then set some class specific variables
		Category.__init__(self)

		# category info
		self.category_id = 12
		self.category_type = 'family_lobbyists'
		self.category_description = 'Family Lobbyists'
		self.isCurrency = False
Esempio n. 5
0
	def __init__(self):
		"""
		Miscellaneous
		"""

		# Init the class, then set some class specific variables
		Category.__init__(self)

		# category info
		self.category_id = 9
		self.category_type = 'shareholdings'
		self.category_description = 'Other Shareholdings'
		self.isCurrency = True
Esempio n. 6
0
    def __init__(self):
        """
		Miscellaneous
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 10
        self.category_type = 'miscellaneous'
        self.category_description = 'Miscellaneous'
        self.isCurrency = False
Esempio n. 7
0
    def __init__(self):
        """
		Employment
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 1
        self.category_type = 'employment'
        self.category_description = 'Private Employment'
        self.isCurrency = True
Esempio n. 8
0
    def __init__(self):
        """
		Visits outside the UK
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 5
        self.category_type = 'visits_outside_uk'
        self.category_description = 'Vists outside UK'
        self.isCurrency = True
    def __init__(self):
        """
		Property
		"""

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 7
        self.category_type = 'property'
        self.category_description = 'Property'
        self.isCurrency = True
Esempio n. 10
0
	def __init__(self):
		"""
		Shareholdings

		TODO: regex for percentage share, then lookup companies house
		then use that value for item amount 

		"""

		# Init the class, then set some class specific variables
		Category.__init__(self)

		# category info
		self.category_id = 8
		self.category_type = 'shareholdings'
		self.category_description = 'Shareholdings'
		self.isCurrency = False
Esempio n. 11
0
    def __init__(self, extended, keywords, month, year, first, middle, last,
                 display):
        """
		Miscellaneous
		"""
        self.month = month
        self.year = year
        self.first = first
        self.middle = middle
        self.last = last
        self.display = display

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 9
        self.category_type = 'shareholdings'
        self.category_description = 'Other Shareholdings'
        self.isCurrency = True
Esempio n. 12
0
    def __init__(self, extended, keywords, month, year, first, middle, last,
                 display):
        """
		Shareholdings

		TODO: regex for percentage share, then lookup companies house
		then use that value for item amount 

		"""
        self.month = month
        self.year = year
        self.first = first
        self.middle = middle
        self.last = last
        self.display = display

        # Init the class, then set some class specific variables
        Category.__init__(self)

        # category info
        self.category_id = 8
        self.category_type = 'shareholdings'
        self.category_description = 'Shareholdings'
        self.isCurrency = False