Is your feature request related to a problem? Please describe.
When filtering samples from SMARTER-frontend, suggested breed and country values take no considerations about which breeds are available in each country and viceversa, so it's possible to take a breed and country which returns 0 results. If breed and country collections track countries and breeds respectively, it will be possible to query a breed endpoint and filter by country
Describe the solution you'd like
Track breeds and countries int countries and breeds collection respectively. The script src/data/update_db_status.py could track that information in collections
Describe alternatives you've considered
An alternative could be executing an aggregation pipeline within sample collections using SMARTER-backend
Is your feature request related to a problem? Please describe. When filtering samples from SMARTER-frontend, suggested breed and country values take no considerations about which breeds are available in each country and viceversa, so it's possible to take a breed and country which returns 0 results. If breed and country collections track countries and breeds respectively, it will be possible to query a breed endpoint and filter by country
Describe the solution you'd like Track breeds and countries int countries and breeds collection respectively. The script
src/data/update_db_status.py
could track that information in collectionsDescribe alternatives you've considered An alternative could be executing an aggregation pipeline within sample collections using SMARTER-backend
Additional context
ListField
update_db_status.py