get_occupation_data function

Auxiliary function to obtain the information of the occupations