From d2a9b45b537c2ffce95850b35e03a01a183cfa11 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 9 May 2022 13:13:44 +0300 Subject: [PATCH] [Monitor Dashboard & Library | new-theme]: Renaming entity types using OpenaireEntities. Files updated: develop.component.ts, methodology.component.ts, claimEntitiesSelection.component.ts, directLinking.component.ts, linkingGeneric.component.html, linkingGeneric.component.ts, approved.component.ts, searchDataprovidersToDeposit.component.ts, errorPage.component.ts, dataProvider.component.html, dataProvider.component.ts, dataProvider.service.ts, relatedDatasourcesTab.component.ts, project.component.ts, myOrcidLinks.component.ts, searchMyOrcidResults.component.html, searchMyOrcidResults.component.ts, searchAll.component.html, searchAll.component.ts, advancedSearchForm.component.html, advancedSearchForm.component.ts, searchDataProviders.component.ts, searchResearchResults.service.ts, numbers.component.ts, other-portals.component.html, other-portals.component.ts, fetchDataproviders.class.ts, fetchResearchResults.class.ts, searchFields.ts, result-preview.component.ts --- src/app/develop/develop.component.ts | 28 ++++---- src/app/methodology/methodology.component.ts | 72 ++++++++++---------- src/app/openaireLibrary | 2 +- 3 files changed, 53 insertions(+), 49 deletions(-) diff --git a/src/app/develop/develop.component.ts b/src/app/develop/develop.component.ts index 85e9e59..ce142f9 100644 --- a/src/app/develop/develop.component.ts +++ b/src/app/develop/develop.component.ts @@ -7,6 +7,7 @@ import {SEOService} from "../openaireLibrary/sharedComponents/SEO/SEO.service"; import {properties} from "../../environments/environment"; import {Router} from "@angular/router"; import {StakeholderUtils} from "../utils/indicator-utils"; +import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields"; @Component({ selector: 'develop', @@ -19,11 +20,11 @@ import {StakeholderUtils} from "../utils/indicator-utils";
- +
-

For research outcomes

+

For {{openaireEntities.RESULTS | lowercase}}

- For research outcomes (publications, datasets, software and other research data) you can use the Selective Access APIs by adding the funder parameter. + For {{openaireEntities.RESULTS | lowercase}} ({{openaireEntities.PUBLICATIONS | lowercase}}, {{openaireEntities.DATASETS | lowercase}}, {{openaireEntities.SOFTWARE | lowercase}} and {{openaireEntities.OTHER | lowercase}}) you can use the Selective Access APIs by adding the funder parameter.
@@ -37,11 +38,11 @@ import {StakeholderUtils} from "../utils/indicator-utils";
- +
-

For projects

+

For {{openaireEntities.PROJECTS | lowercase}}

- For projects you can use the Selective Access APIs and the Bulk Access APIs. + For {{openaireEntities.PROJECTS | lowercase}} you can use the Selective Access APIs and the Bulk Access APIs.
-
Request examples for research outcomes:
+
Request examples for {{openaireEntities.RESULTS | lowercase}}:
  • - Access “Publications”
    + Access “{{openaireEntities.PUBLICATIONS}}”
    GET https://api.openaire.eu/search/publications?funder={{stakeholder.index_shortName}}
  • - Access “Open Access Publications”
    + Access “Open Access {{openaireEntities.PUBLICATIONS}}”
    GET http://api.openaire.eu/search/publications?funder={{stakeholder.index_shortName}}&OA=true
  • - Access “Datasets”
    + Access “{{openaireEntities.DATASETS}}”
    GET https://api.openaire.eu/search/datasets?funder={{stakeholder.index_shortName}}
  • - Access “Software”
    + Access “{{openaireEntities.SOFTWARE}}”
    GET https://api.openaire.eu/search/software?funder={{stakeholder.index_shortName}}
  • - Access “Other Research”
    + Access “{{openaireEntities.OTHER}}”
    GET https://api.openaire.eu/search/other?funder={{stakeholder.index_shortName}}
-
Request examples for projects:
+
Request examples for {{openaireEntities.PROJECTS | lowercase}}:
  • For the “Selective Access”
    @@ -120,6 +121,7 @@ export class DevelopComponent implements OnInit, OnDestroy { private subscriptions: any[] = []; private stakeholderUtils: StakeholderUtils = new StakeholderUtils(); public type: string; + public openaireEntities = OpenaireEntities; constructor(private stakeholderService: StakeholderService, private seoService: SEOService, diff --git a/src/app/methodology/methodology.component.ts b/src/app/methodology/methodology.component.ts index 554f853..cf2a33a 100644 --- a/src/app/methodology/methodology.component.ts +++ b/src/app/methodology/methodology.component.ts @@ -6,6 +6,7 @@ import {Meta, Title} from "@angular/platform-browser"; import {SEOService} from "../openaireLibrary/sharedComponents/SEO/SEO.service"; import {properties} from "../../environments/environment"; import {ActivatedRoute, Router} from "@angular/router"; +import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields"; @Component({ selector: 'methodology', @@ -30,46 +31,46 @@ import {ActivatedRoute, Router} from "@angular/router";
  • -
    Research Outcomes
    +
    {{openaireEntities.RESULTS}}
    -
    There are currently four different types of research outcomes in the OpenAIRE Research
    Graph:
    +
    There are currently four different types of {{openaireEntities.RESULTS | lowercase}} in the OpenAIRE Research
    Graph:
      -
    • publications
    • -
    • datasets
    • -
    • software
    • -
    • other research products.
    • +
    • {{openaireEntities.PUBLICATIONS}}
    • +
    • {{openaireEntities.DATASETS}}
    • +
    • {{openaireEntities.SOFTWARE}}
    • +
    • {{openaireEntities.OTHER}}.
    - OpenAIRE deduplicates (merges) different records of research outcomes and keeps the
    metadata of all instances. + OpenAIRE deduplicates (merges) different records of {{openaireEntities.RESULTS | lowercase}} and keeps the
    metadata of all instances.

    -
    Publication
    +
    {{openaireEntities.PUBLICATION}}
    - Research outcomes intended for human reading (published articles, pre-prints, conference
    papers, presentations, technical reports, etc.) + {{openaireEntities.RESULTS}} intended for human reading (published articles, pre-prints, conference
    papers, presentations, technical reports, etc.)

    -
    Dataset
    +
    {{openaireEntities.DATASET}}
    -
    Research data
    +
    Granularity is not defined by OpenAIRE, it reflects the granularity supported by - the sources
    from which the description of the dataset has been collected.
    + the sources
    from which the description of the {{openaireEntities.DATASET | lowercase}} has been collected.

-
Software
+
{{openaireEntities.SOFTWARE_SINGULAR}}
Source code or software package developed and/or used in a research context

-
Other Research Product
+
{{openaireEntities.OTHER_SINGULAR}}
Anything that does not fall in the previous categories (e.g. workflow, methods, protocols)
@@ -83,19 +84,19 @@ import {ActivatedRoute, Router} from "@angular/router";

Country
-

The country of the organization.

+

The country of the {{openaireEntities.ORGANIZATION | lowercase}}.

Country code mapping: @@ -107,8 +108,8 @@ import {ActivatedRoute, Router} from "@angular/router";

Funder
-

Funders that have joined OpenAIRE, i.e. their project data have gone through a validation process.

-

You can visit https://explore.openaire.eu/search/find if you would like to explore the research outcomes and projects of all funders in OpenAIRE (the list of funders can be seen under the "Funder" Filter shown on the left side of the page).

+

Funders that have joined OpenAIRE, i.e. their {{openaireEntities.PROJECT | lowercase}} data have gone through a validation process.

+

You can visit https://explore.openaire.eu/search/find if you would like to explore the {{openaireEntities.RESULTS | lowercase}} and {{openaireEntities.PROJECTS | lowercase}} of all funders in OpenAIRE (the list of funders can be seen under the "Funder" Filter shown on the left side of the page).

To join: https://www.openaire.eu/funders-how-to-join-guide

@@ -116,7 +117,7 @@ import {ActivatedRoute, Router} from "@angular/router";
Type
-

The sub-type of a research outcome (e.g., a publication can be a pre-print, conference proceeding, +

The sub-type of a {{openaireEntities.RESULT | lowercase}} (e.g., a {{openaireEntities.PUBLICATION | lowercase}} can be a pre-print, conference proceeding, article, etc.)

Resource type mapping: @@ -129,7 +130,7 @@ import {ActivatedRoute, Router} from "@angular/router";

Access mode or access rights
-

The best available (across all instances) access rights of a research outcome

+

The best available (across all instances) access rights of a {{openaireEntities.RESULT | lowercase}}

Types: open, restricted, closed, embargo (= closed for a specific period of time, then open)

Note: definition of restricted may vary by data source, it may refer to access rights being given to registered users, potentially behind a paywall.

@@ -156,7 +157,7 @@ import {ActivatedRoute, Router} from "@angular/router";
Context
- Related research community, initiative or infrastructure. + Related {{openaireEntities.COMMUNITY | lowercase}}, initiative or infrastructure.

@@ -170,12 +171,12 @@ import {ActivatedRoute, Router} from "@angular/router";
Publisher
- The publisher of the venue (journal, book, etc.) of a research outcome. + The publisher of the venue (journal, book, etc.) of a {{openaireEntities.RESULT | lowercase}}.

-
Data sources (content providers)
+
{{openaireEntities.DATASOURCES}}

The different data sources ingested in the OpenAIRE Research Graph.

Data Source Types:
@@ -194,8 +195,8 @@ import {ActivatedRoute, Router} from "@angular/router";
Repositories
Information systems where scientists upload the bibliographic metadata and payloads of their - research outcomes (e.g. PDFs of their scientific articles, CSVs of their data, archive with their - software), due to obligations from their organizations, their funders, or due to community practices + {{openaireEntities.RESULTS | lowercase}} (e.g. PDFs of their scientific articles, CSVs of their data, archive with their + software), due to obligations from their {{openaireEntities.ORGANIZATIONS | lowercase}}, their funders, or due to community practices (e.g. ArXiv, Europe PMC, Zenodo).
@@ -211,8 +212,8 @@ import {ActivatedRoute, Router} from "@angular/router";
Aggregators
- Information systems that collect descriptive metadata about research products from multiple sources - in order to enable cross-data source discovery of given research products (e,g, DataCite, + Information systems that collect descriptive metadata about {{openaireEntities.RESULTS | lowercase}} from multiple sources + in order to enable cross-data source discovery of given {{openaireEntities.RESULTS | lowercase}} (e,g, DataCite, BASE, DOAJ).
@@ -222,16 +223,16 @@ import {ActivatedRoute, Router} from "@angular/router";
Information systems created with the intent of maintaining authoritative registries of given entities in the scholarly communication, such as OpenDOAR for the institutional repositories, re3data - for the data repositories, CORDA and other funder databases for projects and funding information. + for the data repositories, CORDA and other funder databases for {{openaireEntities.PROJECTS | lowercase}} and funding information.

CRIS (Current Research Information System)
- Information systems adopted by research and academic organizations to keep track of their research - administration records and relative results; examples of CRIS content are articles or datasets funded - by projects, their principal investigators, facilities acquired thanks to funding, etc. + Information systems adopted by research and academic {{openaireEntities.ORGANIZATIONS | lowercase}} to keep track of their research + administration records and relative results; examples of CRIS content are articles or {{openaireEntities.DATASETS | lowercase}} funded + by {{openaireEntities.PROJECTS | lowercase}}, their principal investigators, facilities acquired thanks to funding, etc.
@@ -427,7 +428,8 @@ export class MethodologyComponent implements OnInit, OnDestroy { public stakeholder: Stakeholder; public tab: 'entities' | 'attributes' = 'entities'; private subscriptions: any[] = []; - + public openaireEntities = OpenaireEntities; + constructor(private stakeholderService: StakeholderService, private seoService: SEOService, private _meta: Meta, diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 84cb6b6..bd6e141 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 84cb6b6d96753ed7d465d9767c33160a0c01a7f4 +Subproject commit bd6e14180158a86345ffdcd099e8031d4a092809