I don't know but this is the current state

This commit is contained in:
Maya Herrscher committed 2026-01-21 09:56:50 +01:00
1 parent 3fff0bcf0d
commit c57a52e075
7 files changed
+86 -4

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ class Command(BaseCommand):
self.echo(f"- relevant: {len(publications_relevant):4d}", bold=True)
pubs = Publication.objects.values('title').annotate(count=Count('referenced_by')).values('title', 'year', 'count').order_by('count').reverse()
for p in pubs[:15]: print(f"{p['title']} ({p['year']}): {p['count']} citations")
for p in pubs[:50]: print(f"{p['title']} ({p['year']}): {p['count']} citations")
years = Publication.objects.values('year').annotate(count=Count('year')).values('year', 'count')
for y in years: print(f"{y['year']}, {y['count']}")