Closed MarkDVerhagen closed 1 year ago
Added function to generate a uoa_id
that unique identifies department scores (when combined with institution code):
df['uoa_id'] = df['Unit of assessment number'].astype(
str) + df['Multiple submission letter'].fillna('').astype(str)
Shows that the University of Glasgow got two sets of results for Unit of Assessment 26: 26A (Modern Languages) and 26B (Celtic and Gaelic).
We need to include
Multiple submission letter
code to distinguish the two in merging.