-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export type FieldId = keyof typeof fields | ||
|
||
export function getFieldName(id: FieldId): string { | ||
return fields[id] | ||
} | ||
|
||
const fields = { | ||
'11': 'Agricultural and Biological Sciences', | ||
'12': 'Arts and Humanities', | ||
'13': 'Biochemistry, Genetics and Molecular Biology', | ||
'14': 'Business, Management and Accounting', | ||
'15': 'Chemical Engineering', | ||
'16': 'Chemistry', | ||
'17': 'Computer Science', | ||
'18': 'Decision Sciences', | ||
'19': 'Earth and Planetary Sciences', | ||
'20': 'Economics, Econometrics and Finance', | ||
'21': 'Energy', | ||
'22': 'Engineering', | ||
'23': 'Environmental Science', | ||
'24': 'Immunology and Microbiology', | ||
'25': 'Materials Science', | ||
'26': 'Mathematics', | ||
'27': 'Medicine', | ||
'28': 'Neuroscience', | ||
'29': 'Nursing', | ||
'30': 'Pharmacology, Toxicology and Pharmaceutics', | ||
'31': 'Physics and Astronomy', | ||
'32': 'Psychology', | ||
'33': 'Social Sciences', | ||
'34': 'Veterinary', | ||
'35': 'Dentistry', | ||
'36': 'Health Professions', | ||
} |