<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_need(self, resource, amount, units, frequency='weekly'):
 """Append a single new minimum need entry to the list. :param resource: Minimum need resource name. :type resource: basestring :param amount: Amount per person per time interval :type amount: int, float :param units: The unit that the resource is measured in. :type: basestring :param frequency: How regularly the unit needs to be dispatched :type: basestring # maybe at some point fix this to a selection. """

        self.minimum_needs['resources'].append({
            'Resource name': resource,
            'Default': amount,
            'Unit abbreviation': units,
            'Frequency': frequency
        })