added h_index to displayed data
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
Publikationen: {{ person.works_count }} · Zitationen:
|
||||
{{ person.cited_by_count }}
|
||||
</p>
|
||||
<p [skText]="loading" class="stats">
|
||||
h_index: {{person.summary_stats?.h_index }}
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
}
|
||||
@if (citedByCount() !== null) {
|
||||
{{ citedByCount() }} Zitationen
|
||||
}
|
||||
</span>
|
||||
<span>
|
||||
@if (h_index() !== null) {
|
||||
h_index: {{ h_index() }}
|
||||
}
|
||||
</span>
|
||||
}
|
||||
|
||||
@@ -23,10 +23,6 @@ import { PersonsService, WorksService } from '../../api';
|
||||
import { LoadingComponent } from '../../shared/ui/loading/loading.component';
|
||||
import { PersonBioResolved } from '../../resolvers/person-bio.resolver';
|
||||
|
||||
const PERSON_INCLUDE_TAGS =
|
||||
'topics_full,topic_share,summary_stats,ids,last_known_institutions,' +
|
||||
'sources,counts_by_year,works_api_url,dates,cited_by_count_boost';
|
||||
|
||||
@Component({
|
||||
selector: 'app-person',
|
||||
imports: [
|
||||
@@ -143,6 +139,7 @@ export class PersonComponent {
|
||||
);
|
||||
readonly worksCount = computed(() => this.person()?.works_count ?? null);
|
||||
readonly citedByCount = computed(() => this.person()?.cited_by_count ?? null);
|
||||
readonly h_index = computed(() => this.person()?.summary_stats?.h_index ?? null);
|
||||
readonly orcid = computed(() => {
|
||||
const rawOrcid = this.getId('orcid');
|
||||
if (!rawOrcid) {
|
||||
|
||||
Reference in New Issue
Block a user