sledilnik/zdravniki

Trim down data loaded into browsers

Opened this issue · 4 comments

Check which columns from https://github.com/sledilnik/zdravniki-data/tree/main/csv are not used and either use them (eg in search) or remove them from cvs

dict-institutions.csv:

  • id_inst
  • zzzsSt (will become a key, when we manage to match everything)
  • name
  • unit ?
  • address
  • post
  • city
  • municipality ?
  • lat,lon
  • phone
  • website

We could also add statistical region name if needed.

doctors.csv:

  • id (synthetic id, not really useful, best to not use it and remove it from CSV)
  • doctor
  • type
  • accepts
  • availability
  • load
  • id_inst

@stefanb yes, we should remove id if not used in web - just causes larger diff on updates

@jalezi can you confirm that we aren't using id field from doctors.csv?

@jalezi can you confirm that we aren't using id field from doctors.csv?

It needs some changes.. But this is easy fix. Replacing with something unique as doctor.key.
Screenshot 2021-12-20 12 00 24

I'll do it right now. There is a dedicated branch, right?

@stefanb I also have to change 'doctorsContext.js`. This will take some time. I will explain a little bit later.