paleobiodb / data_service

The PBDB Data Service, API and table/system maintenance scripts
Artistic License 2.0
12 stars 0 forks source link

range through diversity metrics are all problematic #27

Closed markuhen closed 7 years ago

markuhen commented 7 years ago

All of the diversity metrics fail to take into account whether or not taxa are exant or not. Even if there are no occurrences in the database, the calculation should assume there are Holocene occurrences if the taxon is marked as Exant. They don't appear to do this.

mmcclenn commented 7 years ago

If you include the parameter 'recent', as in "/data1.2/occs/diversity.json?base_name=mammalia&recent" then it is supposed to do this. I haven't actually tested to make sure that works correctly, though. Can you try it and let me know?

markuhen commented 7 years ago

I think we are good, and I just made a mistake. Closing for now unless I can demonstrate a real problem. Sorry!