From 7d5b82e0dc89cf7b5e1fa8dd623d2e576e369e16 Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 15 Mar 2024 20:19:31 +0200 Subject: [PATCH] [plugins-functionality | WIP] --- .../affiliations/affiliations.component.html | 6 +- ...in-discover-by-subcommunity.component.html | 4 +- .../plugin-featured-datasets.component.html | 31 +++++---- .../plugin-featured-datasets.component.ts | 50 ++++++++++++-- .../plugin-featured-datasets.module.ts | 3 +- .../components/stats/monitor.component.ts | 67 +++++++++---------- .../components/stats/monitor.module.ts | 7 +- .../stats/plugin-stats.component.ts | 7 +- services/plugins.service.ts | 6 ++ utils/properties/searchFields.base.ts | 10 ++- 10 files changed, 120 insertions(+), 71 deletions(-) diff --git a/connect/affiliations/affiliations.component.html b/connect/affiliations/affiliations.component.html index c8b6e9f2..1a971187 100644 --- a/connect/affiliations/affiliations.component.html +++ b/connect/affiliations/affiliations.component.html @@ -38,9 +38,9 @@
-
+

- Supporting Organizations + Supporting
Organizations

@@ -49,7 +49,7 @@
-
+
diff --git a/dashboard/plugins/components/discover-by-subcommunity/plugin-discover-by-subcommunity.component.html b/dashboard/plugins/components/discover-by-subcommunity/plugin-discover-by-subcommunity.component.html index 2a535a27..562d0aed 100644 --- a/dashboard/plugins/components/discover-by-subcommunity/plugin-discover-by-subcommunity.component.html +++ b/dashboard/plugins/components/discover-by-subcommunity/plugin-discover-by-subcommunity.component.html @@ -4,8 +4,8 @@ diff --git a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html index 10828a57..8dc6d6ee 100644 --- a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html +++ b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.html @@ -4,6 +4,11 @@ {{pluginObject.title}} +
@@ -12,19 +17,19 @@ {{pluginObject.textLine2}}
-
-
    -
  • -
    - - -
    -
  • -
-
    +
    +
    + +
    +
    + + + + +
    diff --git a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts index 1c760867..657f216a 100644 --- a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts +++ b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.component.ts @@ -1,7 +1,9 @@ -import {Component} from '@angular/core'; +import {Component, SimpleChanges} from '@angular/core'; import {PluginBaseComponent, PluginBaseInfo} from "../../utils/base-plugin.component"; import {FetchResearchResults} from "../../../../utils/fetchEntitiesClasses/fetchResearchResults.class"; import {SearchResearchResultsService} from "../../../../services/searchResearchResults.service"; +import {properties} from "../../../../../../environments/environment"; +import {ResultPreview} from "../../../../utils/result-preview/result-preview"; export class PluginFeaturedDatasets extends PluginBaseInfo{ title: string = "Featured datasets"; @@ -17,17 +19,53 @@ export class PluginFeaturedDatasets extends PluginBaseInfo{ export class PluginFeaturedDatasetsComponent extends PluginBaseComponent { default = new PluginFeaturedDatasets(); - public fetchFeaturedDatasets: FetchResearchResults; + // public fetchFeaturedDatasets: FetchResearchResults; page = 1; size = 3; slides = 1; slideItems = 3; + totalNum = null; + results: ResultPreview[] = null; constructor(private _searchResearchResultsService: SearchResearchResultsService) { super() - this.fetchFeaturedDatasets = new FetchResearchResults(this._searchResearchResultsService); - this.fetchFeaturedDatasets.searchUtils.size = this.size; - this.fetchFeaturedDatasets.getAllResultsForCommunity("dataset", "enermaps", 1, 50, this.properties, "enermaps::selection"); + // this.fetchFeaturedDatasets = new FetchResearchResults(this._searchResearchResultsService); + // this.fetchFeaturedDatasets.searchUtils.size = this.size; + // this.fetchFeaturedDatasets.getAllResultsForCommunity("dataset", "enermaps", 1, 50, this.properties, "enermaps::selection"); + this.subscriptions.push(this._searchResearchResultsService.advancedSearchResults("dataset", null, 1, 50, null, properties, "&type=results&fq=communityid=enermaps&fq=categoryid=" + encodeURIComponent("enermaps::selection")).subscribe( + data => { + console.log(data); + + this.totalNum = data[0]; + this.results = data[1].map( res => { + let resultPreview = ResultPreview.searchResultConvert(res, 'dataset') + resultPreview.hostedBy_collectedFrom = null; + resultPreview.measure = null; + return resultPreview + }) ; + console.log(this.totalNum = data[0], this.results); + + if(this.results && this.results.length>0) { + this.calculatePages(); + } + }, + err => { + + } + )); + } +/* ngOnChanges(changes: SimpleChanges) { + if(this.results) { + this.calculatePages(); + } + }*/ + calculatePages(){ + this.slides = 1; + if (this.results.length > this.slideItems) { + this.slides = parseInt('' + (this.results.length / this.slideItems)); + if(this.slides< (this.results.length / this.slideItems)){ + this.slides++; + } + } } - } diff --git a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.module.ts b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.module.ts index 86df2dbe..13d7bd6c 100644 --- a/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.module.ts +++ b/dashboard/plugins/components/featured-datasets/plugin-featured-datasets.module.ts @@ -12,10 +12,11 @@ import {PluginFeaturedDatasetsComponent} from './plugin-featured-datasets.compon import {NoLoadPaging} from "../../../../searchPages/searchUtils/no-load-paging.module"; import {SearchResultsModule} from "../../../../searchPages/searchUtils/searchResults.module"; import {ResultPreviewModule} from "../../../../utils/result-preview/result-preview.module"; +import {PagingModule} from "../../../../utils/paging.module"; @NgModule({ imports: [ - CommonModule, RouterModule, FormsModule, IconsModule, NumberRoundModule, SearchResearchResultsServiceModule, PluginFieldEditModule, NoLoadPaging, SearchResultsModule, ResultPreviewModule + CommonModule, RouterModule, FormsModule, IconsModule, NumberRoundModule, SearchResearchResultsServiceModule, ResultPreviewModule, PagingModule ], providers:[PluginsService], declarations: [PluginFeaturedDatasetsComponent], diff --git a/dashboard/plugins/components/stats/monitor.component.ts b/dashboard/plugins/components/stats/monitor.component.ts index 8ca2d2c6..2feb4ac7 100644 --- a/dashboard/plugins/components/stats/monitor.component.ts +++ b/dashboard/plugins/components/stats/monitor.component.ts @@ -1,5 +1,5 @@ import {ChangeDetectorRef, Component, Input} from "@angular/core"; -import { MonitorIndicatorStakeholderBaseComponent } from "src/app/openaireLibrary/monitor/monitor-indicator-stakeholder-base.component"; +import {MonitorIndicatorStakeholderBaseComponent} from "src/app/openaireLibrary/monitor/monitor-indicator-stakeholder-base.component"; import {map} from "rxjs/operators"; import {StatisticsService} from "../../../../monitor-admin/utils/services/statistics.service"; import {ActivatedRoute, Router} from "@angular/router"; @@ -20,7 +20,7 @@ import {PluginStats} from "./plugin-stats.component"; export class MonitorComponent extends MonitorIndicatorStakeholderBaseComponent { activeChartSectionIndex: number = 0; stakeholder = null; - @Input() pluginObject:PluginStats; + @Input() pluginObject: PluginStats; constructor(protected _route: ActivatedRoute, protected _router: Router, @@ -34,7 +34,7 @@ export class MonitorComponent extends MonitorIndicatorStakeholderBaseComponent { protected statisticsService: StatisticsService, protected searchResearchResultsService: SearchResearchResultsService, private communityService: CommunityService, - private http:HttpClient) { + private http: HttpClient) { super(); } @@ -42,50 +42,45 @@ export class MonitorComponent extends MonitorIndicatorStakeholderBaseComponent { ngOnInit() { super.ngOnInit(); this.requireLogin = false; - this.subscriptions.push(this.communityService.getCommunityAsObservable().subscribe( communityInfo => { - // this.subscriptions.push(this.http.get("https://services.openaire.eu/uoa-monitor-service/stakeholder/connect-template"). - // subscribe(stakeholder => { - // if (stakeholder) { + this.subscriptions.push(this.communityService.getCommunityAsObservable().subscribe(communityInfo => { - this.loading = true; - this.stakeholder = PluginStats.getMockStakeholder(); - this.stakeholder.index_id = communityInfo.communityId - this.stakeholder.index_name = communityInfo.title; - this.stakeholder.index_shortName = communityInfo.shortTitle; + if (communityInfo) { - this.title = this.stakeholder.name; - this.description = this.stakeholder.name; + this.loading = true; + this.stakeholder = PluginStats.getMockStakeholder(); + this.stakeholder.index_id = communityInfo.communityId + this.stakeholder.index_name = communityInfo.title; + this.stakeholder.index_shortName = communityInfo.shortTitle; + this.title = this.stakeholder.name; + this.description = this.stakeholder.name; + this.loading = true; + this.activeTopic = null; + this.activeCategory = null; + this.activeSubCategory = null; + this.numberResults = new Map(); + this.chartsActiveType = new Map(); + this.setView({}); + let ids = []; + for (let section of this.activeSubCategory.charts) { + for (let indicator of section.indicators) { + ids.push(indicator._id) + } + } - this.loading = true; - this.activeTopic = null; - this.activeCategory = null; - this.activeSubCategory = null; - this.numberResults = new Map(); - this.chartsActiveType = new Map(); - // this.subscriptions.push(this._route.queryParams.subscribe(queryParams => { - this.setView( {}); - let ids =[]; - for(let section of this.activeSubCategory.charts){ - for(let indicator of section.indicators){ - ids.push(indicator._id) - } - } - // this.setMetadata(); - // } - - // })); - })); + } + })); } - public showSection(section:Section): boolean { - for(let indicator of section.indicators){ - if(this.showIndicator(indicator)){ + public showSection(section: Section): boolean { + for (let indicator of section.indicators) { + if (this.showIndicator(indicator)) { return true; } } return false; } + public showIndicator(indicator): boolean { return this.pluginObject.disabledIndicators.indexOf(indicator._id) == -1; } diff --git a/dashboard/plugins/components/stats/monitor.module.ts b/dashboard/plugins/components/stats/monitor.module.ts index e69b2a9b..35c900e7 100644 --- a/dashboard/plugins/components/stats/monitor.module.ts +++ b/dashboard/plugins/components/stats/monitor.module.ts @@ -16,12 +16,7 @@ import {LoadingModule} from "../../../../utils/loading/loading.module"; @NgModule({ - imports: [CommonModule, RouterModule.forChild([ - {path: '', component: MonitorComponent}, - {path: ':topic/', component: MonitorComponent}, - {path: ':topic/:category', component: MonitorComponent}, - {path: ':topic/:category/:subCategory', component: MonitorComponent} - ]), PageContentModule, SliderTabsModule, NumberRoundModule, IconsModule, ClickModule, RangeFilterModule, SearchFilterModule, SliderUtilsModule, LoadingModule], + imports: [CommonModule, PageContentModule, SliderTabsModule, NumberRoundModule, IconsModule, ClickModule, RangeFilterModule, SearchFilterModule, SliderUtilsModule, LoadingModule], declarations: [MonitorComponent], exports: [ MonitorComponent diff --git a/dashboard/plugins/components/stats/plugin-stats.component.ts b/dashboard/plugins/components/stats/plugin-stats.component.ts index 374b4db8..e2bdf2b4 100644 --- a/dashboard/plugins/components/stats/plugin-stats.component.ts +++ b/dashboard/plugins/components/stats/plugin-stats.component.ts @@ -11,9 +11,10 @@ export class PluginStats extends PluginBaseInfo{ return newObj; } public static getMockStakeholder() { - let betaProfile = `{"type":"ri","projectUpdateDate":null,"index_id":"aurora","index_name":"Aurora Universities Network","index_shortName":"Aurora Universities Network","statsProfile":"monitor","logoUrl":null,"isUpload":false,"name":"CONNECT","alias":"connect-template","description":null,"defaultId":null,"locale":"eu","visibility":"PUBLIC","creationDate":1710257208064,"updateDate":1710257208064,"topics":[{"name":"Overview","alias":"overview","description":null,"icon":null,"visibility":"PUBLIC","creationDate":1710257226776,"updateDate":1710257226776,"defaultId":null,"categories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710257236271,"updateDate":1710257236271,"isOverview":false,"defaultId":null,"subCategories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710257236271,"updateDate":1710257236271,"defaultId":null,"charts":[{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247165,"updateDate":1710257257995,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"medium","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"bar","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"publication\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"bar\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"publication\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"!=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"percent\\"},{\\"stacking\\":\\"percent\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":true,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"align\\":\\"center\\",\\"text\\":\\"((__subtitle__))\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"percent\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{},\\"pointFormat\\":\\"{point.percentage:.1f}%25 ({point.y})\\"}}}","parameters":{"type":"bar","title":"% of OA publications","subtitle":"","xAxisTitle":"","yAxisTitle":"","data_title_0":"OA Publications","data_title_1":"Non OA Publications","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e46"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"medium","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"bar","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"dataset\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"bar\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"dataset\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"!=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"percent\\"},{\\"stacking\\":\\"percent\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":true,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"align\\":\\"center\\",\\"text\\":\\"((__subtitle__))\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"percent\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{},\\"pointFormat\\":\\"{point.percentage:.1f}%25 ({point.y})\\"}}}","parameters":{"type":"bar","title":"% of OA Datasets","subtitle":"","xAxisTitle":"","yAxisTitle":"","data_title_0":"OA Datasets","data_title_1":"Non OA datasets","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e47"}],"_id":"65f0745f6e006565e5546e45"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247186,"updateDate":1710257270262,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"other","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighMaps\\",\\"mapDescription\\":{\\"chart\\":{\\"map\\":\\"custom/world-robinson-highres\\"},\\"colorAxis\\":{\\"min\\":null,\\"max\\":null,\\"type\\":\\"linear\\",\\"minColor\\":\\"#E6EBF5\\",\\"maxColor\\":\\"#003399\\"},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"exporting\\":{\\"enabled\\":true},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"mapNavigation\\":{\\"enabled\\":false},\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"world\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.organization.country\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"300\\"}}],\\"series\\":[{\\"data\\":[],\\"keys\\":[\\"iso-a2\\",\\"value\\"],\\"joinBy\\":\\"iso-a2\\",\\"dataLabels\\":{\\"enabled\\":false,\\"format\\":\\"{point.name}\\",\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"name\\":\\"publications\\"}],\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"align\\":\\"center\\",\\"margin\\":15},\\"zoomTo\\":{\\"zoomValue\\":1}}}","parameters":{"title":"Publications","subtitle":"per country","xAxisTitle":"","yAxisTitle":"","data_title_0":"publications","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e49"}],"_id":"65f0745f6e006565e5546e48"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247201,"updateDate":1710257277981,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#5aadcfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"line\\",\\"color\\":\\"#7a7a7aff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]},{\\"field\\":\\"dataset.pid type\\",\\"type\\":\\"!=\\",\\"values\\":[\\"0\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#5aadcfff\\",\\"#7a7a7aff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{},{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":true,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0,\\"color\\":\\"#000000ff\\"}}}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Datasets with a PID","subtitle":"over time","xAxisTitle":"","yAxisTitle":"datasets","data_title_0":"all datasets","data_title_1":"with PID","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4b"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"line","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"indi_pub_downloads_year.no_downloads\\",\\"aggregate\\":\\"sum\\"},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"indi_pub_downloads_year.publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"indi_pub_downloads_year\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"0\\"}}],\\"colors\\":[\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}}}},\\"legend\\":{\\"enabled\\":false},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"line","title":"Total Downloads","subtitle":"over time (year of publication)","xAxisTitle":"year","yAxisTitle":"downloads","data_title_0":"downloads","index_name":"Aurora Universities Network","start_year":"2002","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4c"}],"_id":"65f0745f6e006565e5546e4a"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247221,"updateDate":1710257284216,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#9b81efff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Embargo\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_2__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#ff7171ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Restricted\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_3__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#bd0202ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Closed Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_4__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#b0b0b0ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"not available\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#9b81efff\\",\\"#ff7171ff\\",\\"#bd0202ff\\",\\"#b0b0b0ff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"normal\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Publications","subtitle":"by access rights, over time","xAxisTitle":"","yAxisTitle":"","data_title_0":"Open Access","data_title_1":"Embargo","data_title_2":"Restricted","data_title_3":"Closed Access","data_title_4":"not available","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4e"}],"_id":"65f0745f6e006565e5546e4d"}],"numbers":[],"_id":"65f074546e006565e5546e43"}],"_id":"65f074546e006565e5546e44"}],"_id":"65f0744a6e006565e5546e42"}],"_id":"65f074386e006565e5546e3f"}`; - let prodProfile = `{"type":"ri","projectUpdateDate":null,"index_id":"aurora","index_name":"Aurora Universities Network","index_shortName":"Aurora Universities Network","statsProfile":"monitor","logoUrl":null,"isUpload":false,"name":"CONNECT","alias":"connect-template","description":"Template profiles with the indicators to be embedded in CONNECT","defaultId":null,"locale":"eu","visibility":"PUBLIC","creationDate":1710171610370,"updateDate":1710228401798,"topics":[{"name":"Overview","alias":"overview","description":null,"icon":null,"visibility":"PUBLIC","creationDate":1710171645832,"updateDate":1710171645832,"defaultId":null,"categories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710171681587,"updateDate":1710171681587,"isOverview":false,"defaultId":null,"subCategories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710171681587,"updateDate":1710171681587,"defaultId":null,"charts":[{"title":null,"defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710241327847,"updateDate":1710241327847,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"PUBLIC","creationDate":null,"updateDate":1710172203916,"defaultId":null,"indicatorPaths":[{"type":"other","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighMaps\\",\\"mapDescription\\":{\\"chart\\":{\\"map\\":\\"custom/world-robinson-highres\\"},\\"colorAxis\\":{\\"min\\":null,\\"max\\":null,\\"type\\":\\"linear\\",\\"minColor\\":\\"#E6EBF5\\",\\"maxColor\\":\\"#003399\\"},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"exporting\\":{\\"enabled\\":true},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"mapNavigation\\":{\\"enabled\\":false},\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"world\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.organization.country\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"300\\"}}],\\"series\\":[{\\"data\\":[],\\"keys\\":[\\"iso-a2\\",\\"value\\"],\\"joinBy\\":\\"iso-a2\\",\\"dataLabels\\":{\\"enabled\\":false,\\"format\\":\\"{point.name}\\",\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"name\\":\\"publications\\"}],\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"align\\":\\"center\\",\\"margin\\":15},\\"zoomTo\\":{\\"zoomValue\\":1}}}","parameters":{"title":"Publications","subtitle":"per country","xAxisTitle":"","yAxisTitle":"","data_title_0":"publications","index_name":"Aurora Universities Network"},"filters":{}}],"_id":"65ef26647a76717ea88e49b9"}],"_id":"65f0362f7a76717ea88e49c5"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710171748876,"updateDate":1710172326046,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710171814921,"updateDate":1710171814921,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#5aadcfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"line\\",\\"color\\":\\"#7a7a7aff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]},{\\"field\\":\\"dataset.pid type\\",\\"type\\":\\"!=\\",\\"values\\":[\\"0\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#5aadcfff\\",\\"#7a7a7aff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{},{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":true,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0,\\"color\\":\\"#000000ff\\"}}}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Datasets with a PID","subtitle":"over time","xAxisTitle":"","yAxisTitle":"datasets","data_title_0":"all datasets","data_title_1":"with PID","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022"},"filters":{}}],"_id":"65ef26a67a76717ea88e49bf"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710171881917,"updateDate":1710171881917,"defaultId":null,"indicatorPaths":[{"type":"line","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"indi_pub_downloads_year.no_downloads\\",\\"aggregate\\":\\"sum\\"},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"indi_pub_downloads_year.publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"indi_pub_downloads_year\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"0\\"}}],\\"colors\\":[\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}}}},\\"legend\\":{\\"enabled\\":false},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"line","title":"Total Downloads","subtitle":"over time (year of publication)","xAxisTitle":"year","yAxisTitle":"downloads","data_title_0":"downloads","index_name":"Aurora Universities Network","start_year":"2002","end_year":"2022"},"filters":{}}],"_id":"65ef26e96c2043760abba98a"}],"_id":"65ef26647a76717ea88e49b8"},{"title":null,"defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710241367664,"updateDate":1710241367664,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710172095755,"updateDate":1710172095755,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#9b81efff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Embargo\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_2__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#ff7171ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Restricted\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_3__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#bd0202ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Closed Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_4__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#b0b0b0ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"not available\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#9b81efff\\",\\"#ff7171ff\\",\\"#bd0202ff\\",\\"#b0b0b0ff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"normal\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Publications","subtitle":"by access rights, over time","xAxisTitle":"","yAxisTitle":"","data_title_0":"Open Access","data_title_1":"Embargo","data_title_2":"Restricted","data_title_3":"Closed Access","data_title_4":"not available","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022"},"filters":{}}],"_id":"65ef27bf6c2043760abba997"}],"_id":"65f036576c2043760abba9a3"}],"numbers":[],"_id":"65ef26217a76717ea88e49b6"}],"_id":"65ef26217a76717ea88e49b7"}],"_id":"65ef25fd6c2043760abba985"}],"_id":"65ef25da6c2043760abba982"}`; - return JSON.parse(properties.environment == 'production'?prodProfile:betaProfile) + // let betaProfile = `{"type":"ri","projectUpdateDate":null,"index_id":"aurora","index_name":"Aurora Universities Network","index_shortName":"Aurora Universities Network","statsProfile":"monitor","logoUrl":null,"isUpload":false,"name":"CONNECT","alias":"connect-template","description":null,"defaultId":null,"locale":"eu","visibility":"PUBLIC","creationDate":1710257208064,"updateDate":1710257208064,"topics":[{"name":"Overview","alias":"overview","description":null,"icon":null,"visibility":"PUBLIC","creationDate":1710257226776,"updateDate":1710257226776,"defaultId":null,"categories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710257236271,"updateDate":1710257236271,"isOverview":false,"defaultId":null,"subCategories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710257236271,"updateDate":1710257236271,"defaultId":null,"charts":[{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247165,"updateDate":1710257257995,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"medium","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"bar","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"publication\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"bar\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"publication\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"!=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"percent\\"},{\\"stacking\\":\\"percent\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":true,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"align\\":\\"center\\",\\"text\\":\\"((__subtitle__))\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"percent\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{},\\"pointFormat\\":\\"{point.percentage:.1f}%25 ({point.y})\\"}}}","parameters":{"type":"bar","title":"% of OA publications","subtitle":"","xAxisTitle":"","yAxisTitle":"","data_title_0":"OA Publications","data_title_1":"Non OA Publications","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e46"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"medium","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"bar","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"dataset\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"bar\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"result\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"result.concept.category.context.name\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"result.type\\",\\"type\\":\\"=\\",\\"values\\":[\\"dataset\\"]},{\\"field\\":\\"result.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"result.access mode\\",\\"type\\":\\"!=\\",\\"values\\":[\\"Open Access\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"result\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"percent\\"},{\\"stacking\\":\\"percent\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":true,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"align\\":\\"center\\",\\"text\\":\\"((__subtitle__))\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"percent\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{},\\"pointFormat\\":\\"{point.percentage:.1f}%25 ({point.y})\\"}}}","parameters":{"type":"bar","title":"% of OA Datasets","subtitle":"","xAxisTitle":"","yAxisTitle":"","data_title_0":"OA Datasets","data_title_1":"Non OA datasets","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e47"}],"_id":"65f0745f6e006565e5546e45"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247186,"updateDate":1710257270262,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"other","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighMaps\\",\\"mapDescription\\":{\\"chart\\":{\\"map\\":\\"custom/world-robinson-highres\\"},\\"colorAxis\\":{\\"min\\":null,\\"max\\":null,\\"type\\":\\"linear\\",\\"minColor\\":\\"#E6EBF5\\",\\"maxColor\\":\\"#003399\\"},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"exporting\\":{\\"enabled\\":true},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"mapNavigation\\":{\\"enabled\\":false},\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"world\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.organization.country\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"300\\"}}],\\"series\\":[{\\"data\\":[],\\"keys\\":[\\"iso-a2\\",\\"value\\"],\\"joinBy\\":\\"iso-a2\\",\\"dataLabels\\":{\\"enabled\\":false,\\"format\\":\\"{point.name}\\",\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"name\\":\\"publications\\"}],\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"align\\":\\"center\\",\\"margin\\":15},\\"zoomTo\\":{\\"zoomValue\\":1}}}","parameters":{"title":"Publications","subtitle":"per country","xAxisTitle":"","yAxisTitle":"","data_title_0":"publications","index_name":"Aurora Universities Network","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e49"}],"_id":"65f0745f6e006565e5546e48"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247201,"updateDate":1710257277981,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#5aadcfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"line\\",\\"color\\":\\"#7a7a7aff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]},{\\"field\\":\\"dataset.pid type\\",\\"type\\":\\"!=\\",\\"values\\":[\\"0\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#5aadcfff\\",\\"#7a7a7aff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{},{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":true,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0,\\"color\\":\\"#000000ff\\"}}}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Datasets with a PID","subtitle":"over time","xAxisTitle":"","yAxisTitle":"datasets","data_title_0":"all datasets","data_title_1":"with PID","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4b"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"line","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"indi_pub_downloads_year.no_downloads\\",\\"aggregate\\":\\"sum\\"},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"indi_pub_downloads_year.publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"indi_pub_downloads_year\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"0\\"}}],\\"colors\\":[\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}}}},\\"legend\\":{\\"enabled\\":false},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"line","title":"Total Downloads","subtitle":"over time (year of publication)","xAxisTitle":"year","yAxisTitle":"downloads","data_title_0":"downloads","index_name":"Aurora Universities Network","start_year":"2002","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4c"}],"_id":"65f0745f6e006565e5546e4a"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710257247221,"updateDate":1710257284216,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"RESTRICTED","creationDate":1710257247161,"updateDate":1710257247161,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#9b81efff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Embargo\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_2__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#ff7171ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Restricted\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_3__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#bd0202ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Closed Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_4__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#b0b0b0ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"not available\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#9b81efff\\",\\"#ff7171ff\\",\\"#bd0202ff\\",\\"#b0b0b0ff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"normal\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Publications","subtitle":"by access rights, over time","xAxisTitle":"","yAxisTitle":"","data_title_0":"Open Access","data_title_1":"Embargo","data_title_2":"Restricted","data_title_3":"Closed Access","data_title_4":"not available","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022","statsProfile":null},"filters":{}}],"_id":"65f0745f6e006565e5546e4e"}],"_id":"65f0745f6e006565e5546e4d"}],"numbers":[],"_id":"65f074546e006565e5546e43"}],"_id":"65f074546e006565e5546e44"}],"_id":"65f0744a6e006565e5546e42"}],"_id":"65f074386e006565e5546e3f"}`; + let prodProfile = `{"type":"ri","projectUpdateDate":null,"index_id":"aurora","index_name":"Aurora Universities Network","index_shortName":"Aurora Universities Network","statsProfile":"monitor","logoUrl":null,"isUpload":false,"name":"CONNECT","alias":"connect-template","description":"Template profiles with the indicators to be embedded in CONNECT","defaultId":null,"locale":"eu","visibility":"PUBLIC","creationDate":1710171610370,"updateDate":1710228401798,"topics":[{"name":"Overview","alias":"overview","description":null,"icon":null,"visibility":"PUBLIC","creationDate":1710171645832,"updateDate":1710171645832,"defaultId":null,"categories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710171681587,"updateDate":1710171681587,"isOverview":false,"defaultId":null,"subCategories":[{"name":"Overview","alias":"overview","description":null,"visibility":"PUBLIC","creationDate":1710171681587,"updateDate":1710171681587,"defaultId":null,"charts":[{"title":null,"defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710241327847,"updateDate":1710241327847,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"PUBLIC","creationDate":null,"updateDate":1710172203916,"defaultId":null,"indicatorPaths":[{"type":"other","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighMaps\\",\\"mapDescription\\":{\\"chart\\":{\\"map\\":\\"custom/world-robinson-highres\\"},\\"colorAxis\\":{\\"min\\":null,\\"max\\":null,\\"type\\":\\"linear\\",\\"minColor\\":\\"#E6EBF5\\",\\"maxColor\\":\\"#003399\\"},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"exporting\\":{\\"enabled\\":true},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"mapNavigation\\":{\\"enabled\\":false},\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"world\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.organization.country\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"300\\"}}],\\"series\\":[{\\"data\\":[],\\"keys\\":[\\"iso-a2\\",\\"value\\"],\\"joinBy\\":\\"iso-a2\\",\\"dataLabels\\":{\\"enabled\\":false,\\"format\\":\\"{point.name}\\",\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"name\\":\\"publications\\"}],\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"align\\":\\"center\\",\\"margin\\":15},\\"zoomTo\\":{\\"zoomValue\\":1}}}","parameters":{"title":"Publications","subtitle":"per country","xAxisTitle":"","yAxisTitle":"","data_title_0":"publications","index_name":"Aurora Universities Network"},"filters":{}}],"_id":"65ef26647a76717ea88e49b9"}],"_id":"65f0362f7a76717ea88e49c5"},{"title":"","defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710171748876,"updateDate":1710172326046,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710171814921,"updateDate":1710171814921,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#5aadcfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"line\\",\\"color\\":\\"#7a7a7aff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"dataset\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"dataset.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"dataset.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"dataset.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]},{\\"field\\":\\"dataset.pid type\\",\\"type\\":\\"!=\\",\\"values\\":[\\"0\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"dataset\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#5aadcfff\\",\\"#7a7a7aff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{},{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":true,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0,\\"color\\":\\"#000000ff\\"}}}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Datasets with a PID","subtitle":"over time","xAxisTitle":"","yAxisTitle":"datasets","data_title_0":"all datasets","data_title_1":"with PID","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022"},"filters":{}}],"_id":"65ef26a67a76717ea88e49bf"},{"name":"","description":"","additionalDescription":"","type":"chart","width":"medium","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710171881917,"updateDate":1710171881917,"defaultId":null,"indicatorPaths":[{"type":"line","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#705acfff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"indi_pub_downloads_year.no_downloads\\",\\"aggregate\\":\\"sum\\"},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"indi_pub_downloads_year.publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"indi_pub_downloads_year.publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"indi_pub_downloads_year\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"0\\"}}],\\"colors\\":[\\"#705acfff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}}}},\\"legend\\":{\\"enabled\\":false},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"line","title":"Total Downloads","subtitle":"over time (year of publication)","xAxisTitle":"year","yAxisTitle":"downloads","data_title_0":"downloads","index_name":"Aurora Universities Network","start_year":"2002","end_year":"2022"},"filters":{}}],"_id":"65ef26e96c2043760abba98a"}],"_id":"65ef26647a76717ea88e49b8"},{"title":null,"defaultId":null,"stakeholderAlias":"connect-template","type":"chart","creationDate":1710241367664,"updateDate":1710241367664,"indicators":[{"name":"","description":"","additionalDescription":"","type":"chart","width":"large","height":"large","tags":null,"visibility":"PUBLIC","creationDate":1710172095755,"updateDate":1710172095755,"defaultId":null,"indicatorPaths":[{"type":"column","format":"NUMBER","source":"stats-tool","url":"chart?json=","jsonPath":[],"chartObject":"{\\"library\\":\\"HighCharts\\",\\"chartDescription\\":{\\"queries\\":[{\\"name\\":\\"((__data_title_0__))\\",\\"type\\":\\"((__type__))\\",\\"color\\":\\"#0500a5c7\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Open Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_1__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#9b81efff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Embargo\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_2__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#ff7171ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Restricted\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_3__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#bd0202ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"Closed Access\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}},{\\"name\\":\\"((__data_title_4__))\\",\\"type\\":\\"column\\",\\"color\\":\\"#b0b0b0ff\\",\\"query\\":{\\"parameters\\":[],\\"select\\":[{\\"field\\":\\"publication\\",\\"aggregate\\":\\"count\\"},{\\"field\\":\\"publication.year\\",\\"aggregate\\":null}],\\"filters\\":[{\\"groupFilters\\":[{\\"field\\":\\"publication.concept.category.context.name\\",\\"type\\":\\"=\\",\\"values\\":[\\"((__index_name__))\\"]},{\\"field\\":\\"publication.access mode\\",\\"type\\":\\"=\\",\\"values\\":[\\"not available\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\">=\\",\\"values\\":[\\"((__start_year__))\\"]},{\\"field\\":\\"publication.year\\",\\"type\\":\\"<=\\",\\"values\\":[\\"((__end_year__))\\"]}],\\"op\\":\\"AND\\"}],\\"entity\\":\\"publication\\",\\"profile\\":\\"((__profile__))\\",\\"limit\\":\\"30\\"}}],\\"colors\\":[\\"#0500a5c7\\",\\"#9b81efff\\",\\"#ff7171ff\\",\\"#bd0202ff\\",\\"#b0b0b0ff\\",\\"#2f7ed8\\",\\"#0d233a\\",\\"#8bbc21\\",\\"#910000\\",\\"#1aadce\\",\\"#492970\\",\\"#f28f43\\",\\"#77a1e5\\",\\"#c42525\\",\\"#a6c96a\\"],\\"series\\":[{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"},{\\"stacking\\":\\"normal\\"}],\\"chart\\":{\\"type\\":\\"line\\",\\"polar\\":false,\\"backgroundColor\\":\\"#FFFFFFFF\\",\\"borderColor\\":\\"#335cadff\\",\\"borderRadius\\":0,\\"borderWidth\\":0,\\"plotBorderColor\\":\\"#ccccccff\\",\\"plotBorderWidth\\":0,\\"zoomType\\":\\"xy\\"},\\"title\\":{\\"style\\":{\\"color\\":\\"#333333FF\\",\\"fontSize\\":\\"18px\\"},\\"text\\":\\"((__title__))\\",\\"margin\\":15,\\"align\\":\\"center\\"},\\"subtitle\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"12px\\"},\\"text\\":\\"((__subtitle__))\\",\\"align\\":\\"center\\"},\\"yAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__yAxisTitle__))\\"},\\"zoomEnabled\\":false,\\"reversedStacks\\":false},\\"xAxis\\":{\\"title\\":{\\"style\\":{\\"color\\":\\"#666666FF\\",\\"fontSize\\":\\"11px\\"},\\"text\\":\\"((__xAxisTitle__))\\"},\\"zoomEnabled\\":false},\\"lang\\":{\\"noData\\":\\"No Data available for the Query\\"},\\"exporting\\":{\\"enabled\\":true},\\"plotOptions\\":{\\"series\\":{\\"dataLabels\\":{\\"enabled\\":false,\\"style\\":{\\"textOutline\\":\\"2px contrast\\",\\"stroke-width\\":0}},\\"stacking\\":\\"normal\\"}},\\"legend\\":{\\"layout\\":\\"horizontal\\",\\"align\\":\\"center\\",\\"verticalAlign\\":\\"bottom\\",\\"enabled\\":true},\\"credits\\":{\\"enabled\\":false,\\"href\\":null},\\"tooltip\\":{\\"style\\":{}}}}","parameters":{"type":"column","title":"Publications","subtitle":"by access rights, over time","xAxisTitle":"","yAxisTitle":"","data_title_0":"Open Access","data_title_1":"Embargo","data_title_2":"Restricted","data_title_3":"Closed Access","data_title_4":"not available","index_name":"Aurora Universities Network","start_year":"2007","end_year":"2022"},"filters":{}}],"_id":"65ef27bf6c2043760abba997"}],"_id":"65f036576c2043760abba9a3"}],"numbers":[],"_id":"65ef26217a76717ea88e49b6"}],"_id":"65ef26217a76717ea88e49b7"}],"_id":"65ef25fd6c2043760abba985"}],"_id":"65ef25da6c2043760abba982"}` + // return JSON.parse(properties.environment == 'production'?prodProfile:betaProfile) + return JSON.parse(prodProfile); } diff --git a/services/plugins.service.ts b/services/plugins.service.ts index 226202c6..98552d0d 100644 --- a/services/plugins.service.ts +++ b/services/plugins.service.ts @@ -50,6 +50,12 @@ export class PluginsService { getPluginTemplatesByPage(api: string, pid: string, pageId: string) { return this.http.get>(api + properties.adminToolsPortalType + '/' + pid + '/pluginTemplates/page/' + pageId); } + getPluginsByPageRoute(api:string, pid:string, route:string){ + return this.http.get>(api + 'community/' +pid+'/plugins/page/route?route=' + route); + } + getPluginTemplatesByPageRoute(api:string, pid:string, route:string){ + return this.http.get>(api + 'community/' +pid+'/pluginTemplates/page/route?route=' + route); + } togglePlugin(id: string, status: boolean, api: string) { return this.http.post(api + 'plugin/status/' + id, status, CustomOptions.getAuthOptionsWithBody()); diff --git a/utils/properties/searchFields.base.ts b/utils/properties/searchFields.base.ts index 79ece5b3..0e488176 100644 --- a/utils/properties/searchFields.base.ts +++ b/utils/properties/searchFields.base.ts @@ -32,7 +32,7 @@ export class SearchFieldsBase { ]; public RESULT_ADVANCED_FIELDS: string[] = ["q", "resulttitle", "resultauthor", "authorid", "resultdescription", "resultsubject", "eoscifguidelines", "resultpublisher", - "resultbestaccessright", "community", "collectedfromdatasourceid", "resulthostingdatasourceid", "resultdateofacceptance", + "resultbestaccessright", "community","conceptname", "collectedfromdatasourceid", "resulthostingdatasourceid", "resultdateofacceptance", "relfunder", "relfundinglevel0_id", "relfundinglevel1_id", "relfundinglevel2_id", "resultlanguagename", "relorganizationid", "pid", "relprojectid", "instancetypename", "fos", "sdg"]; @@ -142,6 +142,14 @@ export class SearchFieldsBase { equalityOperator: " exact ", filterType: "checkbox" }, + ["conceptname"]: { + name: "Subcommunity", + type: "keyword", + param: "conceptname", + operator: "sc", + equalityOperator: " exact ", + filterType: "checkbox" + }, ["relproject"]: { name: "Project", type: "refine",