simonw / museums

A website recommending niche museums to visit

Home Page:https://www.niche-museums.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Normalize countries and make them searchable

simonw opened this issue · comments

There is an osm_country column at the moment but it's inconsistent:

browse__museums__59_rows_and_heroku__apps__31_rows

It's included in the FTS configuration so ideally searching for "japan" would return all museums in Japan - but that doesn't actually work.

Solution: populate a new country column derived from the osm_country_code column, which appears to be more reliable.