get_codes_dict function

Retrieve dictionary of lookup codes for a specified dataset name