D-PLACE/dplace-legacy

Values from unknown datasets appear in results

Closed this issue · 7 comments

For some reason there are results with no dataset:

missing_source

To replicate:

  1. Dplace -> search
  2. Select Indo-European
  3. Click "view selected search criteria"
  4. Click 'Search'

Hm. Cannot reproduce. You may have to recreate the DB?

This is on the main site -- but agree that it looks like a partial import.

Oh, so that means I have already fixed that bug :)

No, I think on the production server that's due to the weird way links to other societies have been handled. They were created by adding half-baken Society objects, with the same xd_id. Possibly a filter in the society search excluding societies with sources without a name is lacking ...

The way I fixed it, though, means no dummy societies are created, thus no links to societies not in D-PLACE will appear (other than the eHRAF link and the chirila link which are handled again differently).

Oh good -- closing now.

One could argue that location and glottocode are also just variables, and the societies from SCCS and WNAI are already coded for these variables, so it makes sense they appear. But then the dataset should have a proper source - as it has now in https://github.com/D-PLACE/dplace-data/blob/master/datasets/index.csv