Skip to content

Fix QS scrape column selection

Stewart Craig requested to merge fix-qs-subjects into master

Fix for #9 (closed)

Errors had been occurring in QS scraping for some subjects where indicators were showing as '-' on ranking website (example here).

This led to error in QS scraping when attempting to select relevant columns from data frame based on indicator names. The names exist in indicator list but not in data frame so threw error because columns could not be found.

Updated approach to selecting columns to prevent error occurring if column does not exist.

Relevant test also added for example subject/year combination where this had been occurring.

Merge request reports

Loading