plazi / treatmentBank

Repository devoted to house keeping of treatmentBank
0 stars 0 forks source link

access to tables published about a particular taxon #79

Closed myrmoteras closed 1 year ago

myrmoteras commented 1 year ago

Table stats Guido, how can I get tables that cover reptilia? https://tb.plazi.org/GgServer/tpsStats/ That's a tricky one ... the table stats don't have taxonomic data (and nowhere to take it from).

Most likely we should include tables in the article stats at some point ... for now, you can get the article UUIDs from article or treatment stats, and then use those to query the table stats (via the Source Document UUID field).

  1. get article UUIDs for articles with a table included from dio stats
  2. use the list of UUIDs to search in tps stats for tables, which can be accessed using their UUID. The number of article UUIDs to be included is limited by the 4K limitation of the query URL

Best, Guido