gbv / coli-ana

API to analyze DDC numbers
https://coli-conc.gbv.de/coli-ana/app/
MIT License
4 stars 0 forks source link

Show occurrence-Information #26

Open nichtich opened 3 years ago

nichtich commented 3 years ago

In addition to #10 show number of occurrences in K10plus and link into the catalog, e.g.

https://coli-conc.gbv.de/coli-ana/app/?notation=281.62095595&mode=analyze 2 documents in K10plus

Either improve occurrences-api or do it in the client. The link is

and the total number of records can be get via SRU (field numberOfRecords):

We could show a link "search in K10plus", do a background query via SRU and replace the link text, e.g. "2 record in K10plus" on result.

nichtich commented 3 years ago

I've added static links to full number and to members. See https://coli-conc.gbv.de/coli-ana/dev/?notation=700.23 for an example and also try --0.23!

nichtich commented 2 years ago

Query would be for instance https://coli-conc.gbv.de/occurrences/api/occurrences?member=http://dewey.info/class/700/e23/&database=opac-de-627 but requires to fix https://github.com/gbv/occurrences-api/issues/13