newtheatre / history-project

:scroll: Historical record of happenings at the Nottingham New Theatre.
https://history.newtheatre.org.uk
MIT License
18 stars 14 forks source link

Amalgamate similar courses for sorting and filtering of people #643

Open wjdp opened 8 years ago

wjdp commented 8 years ago

People's courses tend to be quite specific:

image

Careers also may have discrepancies between similar fields. It would be nice to group these similar fields and courses together for the people index.

We could implement a sort_career attribute to specify a less specific sorting parameter: Mechnical Engineering, MEng Mechanical Engineering, Mechanical Engineering MSc would all become 'Mechanical Engineering'. Or perhaps even just 'Engineering'. But this would be more work than the alternative:

Dynamically set a generic course by stripping the MScs, BAs &c, then matching what's left with a lookup table.

I don't have enough data to do careers yet, we shall investigate them when more bios come in.

BenWoodford76 commented 6 years ago

does this require someone to go through the person files and strip the BA, MA etc from courses?

wjdp commented 6 years ago

@BenWoodford76 For courses no, we'd just auto strip out BA, MA, MSc etc. What we should do though is standardise the format we have (i.e. BA English and English BA shouldn't both exist).

BenWoodford76 commented 6 years ago

@wjdp When I Get bored I’ll go through and do this