Function that creates a data object from a list
make_data_obj(
data_list,
name,
units,
data_object_type,
sex,
areas_of_operation,
observation_error
)
the data values, a list which can contain multiple data entries
a string denoting he name of the data source
a string denoting the units of the data source
the type of data (i.e. age composition, index)
the sex the data pertains to
the areas this data source is collected in
the observation error associated with these data, a list which can contain multiple entries, each one is assumed to match an entry of data_list
a list containing the data arguments