Compare commits
27 Commits
master
...
groupings-
Author | SHA1 | Date |
---|---|---|
Andreas Mantas | 355bb207df | |
Andreas Mantas | 3cfc632900 | |
Andreas Mantas | 1d6895199e | |
Andreas Mantas | fb1da76d51 | |
Andreas Mantas | 2c4e876248 | |
Andreas Mantas | e7652d09d6 | |
Andreas Mantas | 0cdc5bda95 | |
Andreas Mantas | 253d3b42be | |
Stefania Martziou | e77ec3c8c5 | |
Andreas Mantas | 3538c4c835 | |
Andreas Mantas | 37f5a48719 | |
Stefania Martziou | d07cc59bd0 | |
Stefania Martziou | 5ba1503aed | |
Andreas Mantas | 11dce77c0c | |
Andreas Mantas | 0496236948 | |
Andreas Mantas | 00f8af98a2 | |
Andreas Mantas | 69afae0dd6 | |
Andreas Mantas | 266ae8a8ac | |
Andreas Mantas | b117c82dac | |
Andreas Mantas | b7c5e3f09f | |
Andreas Mantas | 664c72502e | |
Andreas Mantas | 2141ba2d98 | |
Andreas Mantas | aee519d981 | |
Andreas Mantas | 81bc5a04c6 | |
Andreas Mantas | 6921b321f7 | |
Stefania Martziou | 5e4012a2ff | |
Stefania Martziou | 3efeed8048 |
|
@ -1,7 +0,0 @@
|
||||||
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "npm" # See documentation for possible values
|
|
||||||
directory: "/" # Location of package manifests
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
|
@ -1,42 +0,0 @@
|
||||||
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
||||||
|
|
||||||
# Compiled output
|
|
||||||
/dist
|
|
||||||
/tmp
|
|
||||||
/out-tsc
|
|
||||||
/bazel-out
|
|
||||||
|
|
||||||
# Node
|
|
||||||
/node_modules
|
|
||||||
npm-debug.log
|
|
||||||
yarn-error.log
|
|
||||||
|
|
||||||
# IDEs and editors
|
|
||||||
.idea/
|
|
||||||
.project
|
|
||||||
.classpath
|
|
||||||
.c9/
|
|
||||||
*.launch
|
|
||||||
.settings/
|
|
||||||
*.sublime-workspace
|
|
||||||
|
|
||||||
# Visual Studio Code
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/settings.json
|
|
||||||
!.vscode/tasks.json
|
|
||||||
!.vscode/launch.json
|
|
||||||
!.vscode/extensions.json
|
|
||||||
.history/*
|
|
||||||
|
|
||||||
# Miscellaneous
|
|
||||||
/.angular/cache
|
|
||||||
.sass-cache/
|
|
||||||
/connect.lock
|
|
||||||
/coverage
|
|
||||||
/libpeerconnection.log
|
|
||||||
testem.log
|
|
||||||
/typings
|
|
||||||
|
|
||||||
# System files
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
28
angular.json
28
angular.json
|
@ -23,10 +23,8 @@
|
||||||
"src/assets"
|
"src/assets"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
||||||
"src/styles.css",
|
"src/styles.css",
|
||||||
"node_modules/font-awesome/css/font-awesome.css",
|
"node_modules/font-awesome/css/font-awesome.css"
|
||||||
"src/assets/css/material.scss"
|
|
||||||
],
|
],
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"node_modules/jquery/dist/jquery.min.js",
|
"node_modules/jquery/dist/jquery.min.js",
|
||||||
|
@ -87,29 +85,6 @@
|
||||||
"maximumError": "5mb"
|
"maximumError": "5mb"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"madgik": {
|
|
||||||
"fileReplacements": [
|
|
||||||
{
|
|
||||||
"replace": "src/environments/environment.ts",
|
|
||||||
"with": "src/environments/environment.madgik.ts"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"optimization": true,
|
|
||||||
"outputHashing": "all",
|
|
||||||
"sourceMap": false,
|
|
||||||
"namedChunks": false,
|
|
||||||
"aot": true,
|
|
||||||
"extractLicenses": true,
|
|
||||||
"vendorChunk": false,
|
|
||||||
"buildOptimizer": true,
|
|
||||||
"budgets": [
|
|
||||||
{
|
|
||||||
"type": "initial",
|
|
||||||
"maximumWarning": "2mb",
|
|
||||||
"maximumError": "5mb"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultConfiguration": ""
|
"defaultConfiguration": ""
|
||||||
|
@ -139,7 +114,6 @@
|
||||||
"tsConfig": "src/tsconfig.spec.json",
|
"tsConfig": "src/tsconfig.spec.json",
|
||||||
"karmaConfig": "src/karma.conf.js",
|
"karmaConfig": "src/karma.conf.js",
|
||||||
"styles": [
|
"styles": [
|
||||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
||||||
"src/styles.css"
|
"src/styles.css"
|
||||||
],
|
],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
|
@ -11,17 +11,15 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~12.2.17",
|
"@angular/animations": "~12.1.1",
|
||||||
"@angular/cdk": "^12.2.5",
|
"@angular/common": "~12.1.1",
|
||||||
"@angular/common": "~12.2.17",
|
"@angular/compiler": "~12.1.1",
|
||||||
"@angular/compiler": "~12.2.17",
|
"@angular/core": "~12.1.1",
|
||||||
"@angular/core": "~12.2.17",
|
"@angular/forms": "~12.1.1",
|
||||||
"@angular/forms": "~12.2.17",
|
|
||||||
"@angular/localize": "^12.1.1",
|
"@angular/localize": "^12.1.1",
|
||||||
"@angular/material": "^12.2.5",
|
"@angular/platform-browser": "~12.1.1",
|
||||||
"@angular/platform-browser": "~12.2.17",
|
"@angular/platform-browser-dynamic": "~12.1.1",
|
||||||
"@angular/platform-browser-dynamic": "~12.2.17",
|
"@angular/router": "~12.1.1",
|
||||||
"@angular/router": "~12.2.17",
|
|
||||||
"@highcharts/map-collection": "^1.1.2",
|
"@highcharts/map-collection": "^1.1.2",
|
||||||
"angular-ng-autocomplete": "^2.0.5",
|
"angular-ng-autocomplete": "^2.0.5",
|
||||||
"core-js": "^2.6.12",
|
"core-js": "^2.6.12",
|
||||||
|
@ -31,9 +29,9 @@
|
||||||
"highcharts": "^7.2.0",
|
"highcharts": "^7.2.0",
|
||||||
"highcharts-angular": "^2.4.0",
|
"highcharts-angular": "^2.4.0",
|
||||||
"jquery": "^3.4.1",
|
"jquery": "^3.4.1",
|
||||||
"jspdf": "^2.5.1",
|
"jspdf": "^1.5.3",
|
||||||
"ngx-echarts": "^4.2.2",
|
"ngx-echarts": "^4.2.2",
|
||||||
"ngx-matomo": "1.0.0-rc.1",
|
"ngx-matomo": "^1.0.0-rc.0",
|
||||||
"proj4": "^2.5.0",
|
"proj4": "^2.5.0",
|
||||||
"rxjs": "~6.6.7",
|
"rxjs": "~6.6.7",
|
||||||
"tslib": "^2.0.0",
|
"tslib": "^2.0.0",
|
||||||
|
@ -41,10 +39,10 @@
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~12.2.18",
|
"@angular-devkit/build-angular": "~12.1.1",
|
||||||
"@angular/cli": "~12.2.18",
|
"@angular/cli": "~12.1.1",
|
||||||
"@angular/compiler-cli": "~12.2.17",
|
"@angular/compiler-cli": "~12.1.1",
|
||||||
"@angular/language-service": "~12.2.17",
|
"@angular/language-service": "~12.1.1",
|
||||||
"@types/jasmine": "~3.6.0",
|
"@types/jasmine": "~3.6.0",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"codelyzer": "^6.0.0",
|
"codelyzer": "^6.0.0",
|
||||||
|
|
|
@ -10,10 +10,3 @@
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<div class="uk-float-right" style="z-index: 100; top: 300px; position: fixed; right: 0px;">
|
|
||||||
<a href="mailto:feedback@openaire.eu" class="uk-flex uk-flex-middle md-btn md-btn-primary feedback-button ">
|
|
||||||
<i class="fa fa-envelope"></i>
|
|
||||||
<span class="uk-margin-small-left">Give us feedback</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ import { TopmenuComponent } from './shared/topmenu/top-menu.component';
|
||||||
import { TreemapHighchartsComponent } from './chart-components/treemap-highcharts/treemap-highcharts.component';
|
import { TreemapHighchartsComponent } from './chart-components/treemap-highcharts/treemap-highcharts.component';
|
||||||
import { MatomoModule } from 'ngx-matomo';
|
import { MatomoModule } from 'ngx-matomo';
|
||||||
import {environment} from '../environments/environment';
|
import {environment} from '../environments/environment';
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -65,7 +64,6 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
enable: true
|
enable: true
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
BrowserAnimationsModule,
|
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
DataService,
|
DataService,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<highcharts-chart #chart [Highcharts]="Highcharts"
|
<highcharts-chart #chart [Highcharts]="Highcharts"
|
||||||
[options]="treeMapChartOptions"
|
[options]="treeMapChartOptions"
|
||||||
[ngStyle]="height?{'height': height+'px'} : {'height': '550px'}"
|
[ngStyle]="height?{'height': height+'px'} : {'height': '550px'}"
|
||||||
style="width: 100%; display: block;">
|
style="width: 100%; height: 550px; display: block;">
|
||||||
</highcharts-chart>
|
</highcharts-chart>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,11 @@ import * as Highcharts from 'highcharts';
|
||||||
import More from 'highcharts/highcharts-more';
|
import More from 'highcharts/highcharts-more';
|
||||||
import Tree from 'highcharts/modules/treemap';
|
import Tree from 'highcharts/modules/treemap';
|
||||||
import Heatmap from 'highcharts/modules/heatmap';
|
import Heatmap from 'highcharts/modules/heatmap';
|
||||||
import Exporting from 'highcharts/modules/exporting';
|
|
||||||
import ExportData from 'highcharts/modules/export-data';
|
|
||||||
import { TreemapHighchartsData } from '../../domain/treemap-highcharts-data';
|
import { TreemapHighchartsData } from '../../domain/treemap-highcharts-data';
|
||||||
|
|
||||||
More(Highcharts);
|
More(Highcharts);
|
||||||
Tree(Highcharts);
|
Tree(Highcharts);
|
||||||
Heatmap(Highcharts);
|
Heatmap(Highcharts);
|
||||||
Exporting(Highcharts);
|
|
||||||
ExportData(Highcharts);
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-treemap-highchart',
|
selector: 'app-treemap-highchart',
|
||||||
|
@ -22,7 +18,6 @@ ExportData(Highcharts);
|
||||||
export class TreemapHighchartsComponent implements OnInit {
|
export class TreemapHighchartsComponent implements OnInit {
|
||||||
|
|
||||||
@Input() chartTitle: string;
|
@Input() chartTitle: string;
|
||||||
@Input() chartSubtitle: string = '';
|
|
||||||
@Input() chartData: TreemapHighchartsData[];
|
@Input() chartData: TreemapHighchartsData[];
|
||||||
@Input() color: string;
|
@Input() color: string;
|
||||||
|
|
||||||
|
@ -38,8 +33,7 @@ export class TreemapHighchartsComponent implements OnInit {
|
||||||
|
|
||||||
this.treeMapChartOptions = {
|
this.treeMapChartOptions = {
|
||||||
chart: {
|
chart: {
|
||||||
type: 'treemap',
|
type: 'treemap'
|
||||||
height: this.height
|
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
text: this.chartTitle,
|
text: this.chartTitle,
|
||||||
|
@ -50,15 +44,6 @@ export class TreemapHighchartsComponent implements OnInit {
|
||||||
// fontSize: '18px'
|
// fontSize: '18px'
|
||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
subtitle: {
|
|
||||||
text: this.chartSubtitle,
|
|
||||||
align: 'left',
|
|
||||||
margin: 25,
|
|
||||||
// style: {
|
|
||||||
// color: '#7A7A7A',
|
|
||||||
// fontSize: '18px'
|
|
||||||
// }
|
|
||||||
},
|
|
||||||
tooltip: {
|
tooltip: {
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
// export const publicationColor = '#F181AE';
|
// export const publicationColor = '#F181AE';
|
||||||
// export const publicationTooltipColor = '#a52e5d';
|
// export const publicationTooltipColor = '#a52e5d';
|
||||||
// export const publicationBackgroundColor = '#f8d5e3';
|
// export const publicationBackgroundColor = '#f8d5e3';
|
||||||
// export const publicationColor = '#381565';
|
export const publicationColor = '#381565';
|
||||||
export const publicationColor = '#6f38b1';
|
export const publicationTooltipColor = '#250e44';
|
||||||
// export const publicationTooltipColor = '#250e44';
|
|
||||||
export const publicationTooltipColor = '#4e277c';
|
|
||||||
export const publicationBackgroundColor = '#e9ddf8';
|
export const publicationBackgroundColor = '#e9ddf8';
|
||||||
|
|
||||||
// export const datasetColor = '#A98BD4';
|
// export const datasetColor = '#A98BD4';
|
||||||
|
@ -39,9 +37,7 @@ export const softwareColor = '#009DE0';
|
||||||
// export const otherResearchProductsColor = '#00b8d0';
|
// export const otherResearchProductsColor = '#00b8d0';
|
||||||
export const otherResearchProductsColor = '#00B086';
|
export const otherResearchProductsColor = '#00B086';
|
||||||
|
|
||||||
// export const nonOAColor = '#787878';
|
export const nonOAColor = '#787878';
|
||||||
export const nonOAColor = '#c3cad2';
|
|
||||||
export const noIndicatorColor = '#c3cad2';
|
|
||||||
|
|
||||||
// export const resultColor = '#072AE6';
|
// export const resultColor = '#072AE6';
|
||||||
export const resultColor = '#EC4386';
|
export const resultColor = '#EC4386';
|
||||||
|
@ -49,36 +45,19 @@ export const resultColor = '#EC4386';
|
||||||
// export const gradientStartColor = '#A1AAB8';
|
// export const gradientStartColor = '#A1AAB8';
|
||||||
export const gradientStartColor = '#c3cad2';
|
export const gradientStartColor = '#c3cad2';
|
||||||
|
|
||||||
export const goldColor = '#ffc000';
|
|
||||||
export const greenColor = '#70ad47';
|
|
||||||
export const goldGreenColor = '#BFD200';
|
|
||||||
|
|
||||||
export const publicationPalette = [publicationColor, nonOAColor,
|
export const publicationPalette = [publicationColor, nonOAColor,
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
||||||
export const publicationIndicatorsPalette = [publicationColor, noIndicatorColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
|
|
||||||
export const datasetPalette = [datasetColor, nonOAColor,
|
export const datasetPalette = [datasetColor, nonOAColor,
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
||||||
export const datasetIndicatorsPalette = [datasetColor, noIndicatorColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
|
|
||||||
export const softwarePalette = [softwareColor, nonOAColor,
|
export const softwarePalette = [softwareColor, nonOAColor,
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
||||||
export const softwareIndicatorsPalette = [softwareColor, noIndicatorColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
export const softwareIndicatorsPaletteReversed = [noIndicatorColor, softwareColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
|
|
||||||
export const otherResearchProductsPalette = [otherResearchProductsColor, nonOAColor,
|
export const otherResearchProductsPalette = [otherResearchProductsColor, nonOAColor,
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
||||||
export const otherIndicatorsPalette = [otherResearchProductsColor, noIndicatorColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
|
|
||||||
export const resultsPalette = [resultColor, nonOAColor,
|
export const resultsPalette = [resultColor, nonOAColor,
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
||||||
|
|
||||||
export const goldGreenIndicatorsPalette = [goldColor, goldGreenColor, greenColor, noIndicatorColor,
|
|
||||||
'#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a'];
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
export const countries = [
|
export const countries = [
|
||||||
{id : 'AD', name : 'Andorra'},
|
|
||||||
{id : 'AL', name : 'Albania'},
|
{id : 'AL', name : 'Albania'},
|
||||||
{id : 'AM', name : 'Armenia'},
|
{id : 'AD', name : 'Andorra'},
|
||||||
{id : 'AT', name : 'Austria'},
|
{id : 'AT', name : 'Austria'},
|
||||||
{id : 'BY', name : 'Belarus'},
|
{id : 'BY', name : 'Belarus'},
|
||||||
{id : 'BE', name : 'Belgium'},
|
{id : 'BE', name : 'Belgium'},
|
||||||
|
@ -9,7 +8,6 @@ export const countries = [
|
||||||
{id : 'BG', name : 'Bulgaria'},
|
{id : 'BG', name : 'Bulgaria'},
|
||||||
{id : 'HR', name : 'Croatia'},
|
{id : 'HR', name : 'Croatia'},
|
||||||
{id : 'CZ', name : 'Czech Republic'},
|
{id : 'CZ', name : 'Czech Republic'},
|
||||||
{id : 'CY', name : 'Cyprus'},
|
|
||||||
{id : 'DK', name : 'Denmark'},
|
{id : 'DK', name : 'Denmark'},
|
||||||
{id : 'EE', name : 'Estonia'},
|
{id : 'EE', name : 'Estonia'},
|
||||||
// {id : 'FO', name : 'Faroe Islands'},
|
// {id : 'FO', name : 'Faroe Islands'},
|
||||||
|
@ -23,7 +21,6 @@ export const countries = [
|
||||||
{id : 'HU', name : 'Hungary'},
|
{id : 'HU', name : 'Hungary'},
|
||||||
{id : 'IS', name : 'Iceland'},
|
{id : 'IS', name : 'Iceland'},
|
||||||
{id : 'IE', name : 'Ireland'},
|
{id : 'IE', name : 'Ireland'},
|
||||||
{id : 'IL', name : 'Israel'},
|
|
||||||
// {id : 'IM', name : 'Isle of Man'},
|
// {id : 'IM', name : 'Isle of Man'},
|
||||||
{id : 'IT', name : 'Italy'},
|
{id : 'IT', name : 'Italy'},
|
||||||
// {id : 'JE', name : 'Jersey'},
|
// {id : 'JE', name : 'Jersey'},
|
||||||
|
|
|
@ -65,11 +65,6 @@ export class CountryTableData {
|
||||||
licence: Indicator;
|
licence: Indicator;
|
||||||
gold: Indicator;
|
gold: Indicator;
|
||||||
green: Indicator;
|
green: Indicator;
|
||||||
cc_licence: Indicator;
|
|
||||||
abstract: Indicator;
|
|
||||||
funders_collab: Indicator;
|
|
||||||
projects_collab: Indicator;
|
|
||||||
authors_collab: Indicator;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CountryPageOverviewData {
|
export class CountryPageOverviewData {
|
||||||
|
@ -88,7 +83,6 @@ export class CountryPageOverviewData {
|
||||||
funders: number = null;
|
funders: number = null;
|
||||||
fundingOrganizations: number = null;
|
fundingOrganizations: number = null;
|
||||||
ec_fundedOrganizations: number = null;
|
ec_fundedOrganizations: number = null;
|
||||||
ec_fundedProjects: number = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class RnDExpenditure {
|
export class RnDExpenditure {
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { ContinentCollaborationComponent } from './continent-collaboration.component';
|
|
||||||
|
|
||||||
|
|
||||||
const continentCollaborationRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ContinentCollaborationComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'publications',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'publications',
|
|
||||||
loadChildren: () => import('./publications/continent-collaboration-publications.module').then(m => m.ContinentCollaborationPublicationsModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'datasets',
|
|
||||||
loadChildren: () => import('./datasets/continent-collaboration-datasets.module').then(m => m.ContinentCollaborationDatasetsModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'software',
|
|
||||||
loadChildren: () => import('./software/continent-collaboration-software.module').then(m => m.ContinentCollaborationSoftwareModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'other-research-products',
|
|
||||||
loadChildren: () => import('./other-research-products/continent-collaboration-orp.module').then(m => m.ContinentCollaborationORPModule),
|
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(continentCollaborationRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationRoutingModule {}
|
|
|
@ -1,31 +0,0 @@
|
||||||
<div class="uk-margin tabContent">
|
|
||||||
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#switcher-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="publicationsSubnav" [routerLink]="['./publications']" uk-tooltip="title: Publications; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/publications-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="datasetsSubnav" [routerLink]="['./datasets']" uk-tooltip="title: Datasets; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/datasets-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="softwareSubnav" [routerLink]="['./software']" uk-tooltip="title: Software; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/software-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="otherSubnav" [routerLink]="['./other-research-products']" uk-tooltip="title: Other research products; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/other-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<hr class="uk-visible@m">
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,9 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration',
|
|
||||||
templateUrl: './continent-collaboration.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationComponent {}
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../services/data-handler.service';
|
|
||||||
import { ContinentCollaborationComponent } from './continent-collaboration.component';
|
|
||||||
import { ContinentCollaborationRoutingModule } from './continent-collaboration-routing.module';
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
ContinentCollaborationRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
ContinentCollaborationComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationModule {}
|
|
|
@ -1,196 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersTimeline" width="100%" height="550" [src]="datasetsCoFundedFundersTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsTimeline" width="100%" height="550" [src]="datasetsCoFundedProjectsTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCoFundedFundersGroupBy (change)="getDatasetsCoFundedFundersGroupByMobile(selectCoFundedFundersGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersGroupByView==='country' && datasetsCoFundedFundersByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedFundersByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersGroupByView==='datasource' && datasetsCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersGroupByView==='organization' && datasetsCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsCoFundedFundersGroupByView==='funder' && datasetsCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open access datasets with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsCoFundedFundersByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsCoFundedFundersGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedFundersGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedFundersGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedFundersGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedFundersByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open access datasets with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsCoFundedFundersByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getDatasetsCoFundedProjectsGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsGroupByView==='country' && datasetsCoFundedProjectsByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedProjectsByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsGroupByView==='datasource' && datasetsCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsGroupByView==='organization' && datasetsCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsCoFundedProjectsGroupByView==='funder' && datasetsCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open access datasets linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsCoFundedProjectsByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsCoFundedProjectsGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedProjectsGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedProjectsGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsCoFundedProjectsGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedProjectsByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open access datasets linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsCoFundedProjectsByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show: </label>
|
|
||||||
<select class="md-input" #selectDatasetsContent (change)="getContent('dataset', selectDatasetsContent.value)" style="display: inline-block">
|
|
||||||
<option value="affiliated">affiliated</option>
|
|
||||||
<option value="deposited">deposited</option>
|
|
||||||
</select>
|
|
||||||
<!--<span class="md-input-bar"></span>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid">
|
|
||||||
<div class="absoluteTable uk-width-3-4@l uk-width-3-4@m">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#pubs-indicators-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" class="uk-active">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-hashtag"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" class="">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-percentage"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="pubs-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<div *ngIf="loadingDatasetsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="datasetsAbsoluteTableData" [isPercentage]="false" [countries]="datasetsAbsoluteTableData" [view]="'collaboration'" [entity]="'dataset'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<div *ngIf="loadingDatasetsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="datasetsPercentageTableData" [isPercentage]="true" [countries]="datasetsPercentageTableData" [view]="'collaboration'" [entity]="'dataset'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,161 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
datasetColor,
|
|
||||||
datasetPalette, datasetIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-datasets-indicators',
|
|
||||||
templateUrl: './continent-collaboration-datasets-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationDatasetsIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
private datasetIndicatorsPalette = datasetIndicatorsPalette;
|
|
||||||
datasetColor = datasetColor;
|
|
||||||
|
|
||||||
datasetsCoFundedFundersTimeline: SafeResourceUrl;
|
|
||||||
datasetsCoFundedProjectsTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsCoFundedFundersGroupByView = 'country';
|
|
||||||
datasetsCoFundedFundersByCountryChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedFundersByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedFundersByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedFundersByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsCoFundedProjectsGroupByView = 'country';
|
|
||||||
datasetsCoFundedProjectsByCountryChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedProjectsByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedProjectsByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
datasetsCoFundedProjectsByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsCoFundedFundersByFunderData: TreemapHighchartsData[];
|
|
||||||
datasetsCoFundedProjectsByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingDatasetsAbsoluteTable: boolean = true;
|
|
||||||
loadingDatasetsPercentageTable: boolean = true;
|
|
||||||
datasetsTableContentSelection: string = 'affiliated';
|
|
||||||
datasetsAbsoluteTableData: CountryTableData[];
|
|
||||||
datasetsPercentageTableData: CountryTableData[];
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
|
|
||||||
this.datasetsCoFundedFundersTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsCoFundedProjectsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.datasetsCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.datasetsCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('dataset', 'funders').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.datasetsCoFundedFundersByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('dataset', 'projects').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.datasetsCoFundedProjectsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getDatasetsTableData(this.datasetsTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsTableData(contentSelection: string) {
|
|
||||||
|
|
||||||
this.loadingDatasetsAbsoluteTable = true;
|
|
||||||
this.loadingDatasetsPercentageTable = true;
|
|
||||||
this.dataService.getCollaborationIndicatorsTableData('dataset', contentSelection).subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.datasetsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.datasetsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.loadingDatasetsAbsoluteTable = false;
|
|
||||||
this.loadingDatasetsPercentageTable = false;
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
this.loadingDatasetsAbsoluteTable = false;
|
|
||||||
this.loadingDatasetsPercentageTable = false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
getContent(type: string, contentSelection: string): void {
|
|
||||||
this.datasetsTableContentSelection = contentSelection;
|
|
||||||
this.getDatasetsTableData(this.datasetsTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsCoFundedFundersGroupBy(contentSelection: string): void {
|
|
||||||
this.datasetsCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsCoFundedFundersByCountryChartURL) {
|
|
||||||
this.datasetsCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.datasetsCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.datasetsCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsCoFundedFundersGroupByMobile(contentSelection: string): void {
|
|
||||||
this.datasetsCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsCoFundedFundersByCountryChartURLMobile) {
|
|
||||||
this.datasetsCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.datasetsCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.datasetsCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access datasets with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsCoFundedProjectsGroupBy(contentSelection: string): void {
|
|
||||||
this.datasetsCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsCoFundedProjectsByCountryChartURL) {
|
|
||||||
this.datasetsCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.datasetsCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.datasetsCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsCoFundedProjectsGroupByMobile(contentSelection: string): void {
|
|
||||||
this.datasetsCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsCoFundedProjectsByCountryChartURLMobile) {
|
|
||||||
this.datasetsCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.datasetsCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.datasetsCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { ContinentCollaborationDatasetsIndicatorsComponent } from './continent-collaboration-datasets-indicators.component';
|
|
||||||
import { ContinentCollaborationDatasetsComponent } from './continent-collaboration-datasets.component';
|
|
||||||
|
|
||||||
const continentCollaborationDatasetsRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ContinentCollaborationDatasetsComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: ContinentCollaborationDatasetsIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(continentCollaborationDatasetsRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationDatasetsRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Datasets</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-datasets',
|
|
||||||
templateUrl: './continent-collaboration-datasets.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationDatasetsComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { ContinentCollaborationDatasetsRoutingModule } from './continent-collaboration-datasets-routing.module';
|
|
||||||
import { ContinentCollaborationDatasetsComponent } from './continent-collaboration-datasets.component';
|
|
||||||
import { ContinentCollaborationDatasetsIndicatorsComponent } from './continent-collaboration-datasets-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
ContinentCollaborationDatasetsRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
ContinentCollaborationDatasetsComponent,
|
|
||||||
ContinentCollaborationDatasetsIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationDatasetsModule {}
|
|
|
@ -1,196 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="otherCoFundedFundersTimeline" width="100%" height="550" [src]="otherCoFundedFundersTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsTimeline" width="100%" height="550" [src]="otherCoFundedProjectsTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCoFundedFundersGroupBy (change)="getOtherCoFundedFundersGroupByMobile(selectCoFundedFundersGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="otherCoFundedFundersGroupByView==='country' && otherCoFundedFundersByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedFundersByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="otherCoFundedFundersGroupByView==='datasource' && otherCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="otherCoFundedFundersGroupByView==='organization' && otherCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="otherCoFundedFundersGroupByView==='funder' && otherCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherCoFundedFundersByFunderData" [color]="otherColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-other-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getOtherCoFundedFundersGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedFundersGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedFundersGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedFundersGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-other-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="otherCoFundedFundersByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedFundersByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="otherCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherCoFundedFundersByFunderData" [color]="otherColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getOtherCoFundedProjectsGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsGroupByView==='country' && otherCoFundedProjectsByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedProjectsByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsGroupByView==='datasource' && otherCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsGroupByView==='organization' && otherCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="otherCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="otherCoFundedProjectsGroupByView==='funder' && otherCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherCoFundedProjectsByFunderData" [color]="otherColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-other-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getOtherCoFundedProjectsGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedProjectsGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedProjectsGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getOtherCoFundedProjectsGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-other-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedProjectsByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="otherCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="otherCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherCoFundedProjectsByFunderData" [color]="otherColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show: </label>
|
|
||||||
<select class="md-input" #selectOtherContent (change)="getContent('other', selectOtherContent.value)" style="display: inline-block">
|
|
||||||
<option value="affiliated">affiliated</option>
|
|
||||||
<option value="deposited">deposited</option>
|
|
||||||
</select>
|
|
||||||
<!--<span class="md-input-bar"></span>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid">
|
|
||||||
<div class="absoluteTable uk-width-3-4@l uk-width-3-4@m">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#pubs-indicators-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" class="uk-active">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-hashtag"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" class="">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-percentage"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="pubs-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<div *ngIf="loadingOtherAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="otherAbsoluteTableData" [isPercentage]="false" [countries]="otherAbsoluteTableData" [view]="'collaboration'" [entity]="'other'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<div *ngIf="loadingOtherPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="otherPercentageTableData" [isPercentage]="true" [countries]="otherPercentageTableData" [view]="'collaboration'" [entity]="'other'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,161 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
otherResearchProductsColor,
|
|
||||||
otherResearchProductsPalette, otherIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-orp-indicators',
|
|
||||||
templateUrl: './continent-collaboration-orp-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationORPIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
private otherIndicatorsPalette = otherIndicatorsPalette;
|
|
||||||
otherColor = otherResearchProductsColor;
|
|
||||||
|
|
||||||
otherCoFundedFundersTimeline: SafeResourceUrl;
|
|
||||||
otherCoFundedProjectsTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
otherCoFundedFundersGroupByView = 'country';
|
|
||||||
otherCoFundedFundersByCountryChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedFundersByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedFundersByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedFundersByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
otherCoFundedProjectsGroupByView = 'country';
|
|
||||||
otherCoFundedProjectsByCountryChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedProjectsByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedProjectsByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
otherCoFundedProjectsByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
otherCoFundedFundersByFunderData: TreemapHighchartsData[];
|
|
||||||
otherCoFundedProjectsByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingOtherAbsoluteTable: boolean = true;
|
|
||||||
loadingOtherPercentageTable: boolean = true;
|
|
||||||
otherTableContentSelection: string = 'affiliated';
|
|
||||||
otherAbsoluteTableData: CountryTableData[];
|
|
||||||
otherPercentageTableData: CountryTableData[];
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
|
|
||||||
this.otherCoFundedFundersTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.otherCoFundedProjectsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.otherCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.otherCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.otherCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.otherCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('other', 'funders').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.otherCoFundedFundersByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('other', 'projects').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.otherCoFundedProjectsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getOtherTableData(this.otherTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherTableData(contentSelection: string) {
|
|
||||||
|
|
||||||
this.loadingOtherAbsoluteTable = true;
|
|
||||||
this.loadingOtherPercentageTable = true;
|
|
||||||
this.dataService.getCollaborationIndicatorsTableData('other', contentSelection).subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.otherAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.otherPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.loadingOtherAbsoluteTable = false;
|
|
||||||
this.loadingOtherPercentageTable = false;
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
this.loadingOtherAbsoluteTable = false;
|
|
||||||
this.loadingOtherPercentageTable = false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
getContent(type: string, contentSelection: string): void {
|
|
||||||
this.otherTableContentSelection = contentSelection;
|
|
||||||
this.getOtherTableData(this.otherTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherCoFundedFundersGroupBy(contentSelection: string): void {
|
|
||||||
this.otherCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherCoFundedFundersByCountryChartURL) {
|
|
||||||
this.otherCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.otherCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.otherCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherCoFundedFundersGroupByMobile(contentSelection: string): void {
|
|
||||||
this.otherCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherCoFundedFundersByCountryChartURLMobile) {
|
|
||||||
this.otherCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.otherCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.otherCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherCoFundedProjectsGroupBy(contentSelection: string): void {
|
|
||||||
this.otherCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherCoFundedProjectsByCountryChartURL) {
|
|
||||||
this.otherCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.otherCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.otherCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherCoFundedProjectsGroupByMobile(contentSelection: string): void {
|
|
||||||
this.otherCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherCoFundedProjectsByCountryChartURLMobile) {
|
|
||||||
this.otherCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.otherCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.otherCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { ContinentCollaborationORPComponent } from './continent-collaboration-orp.component';
|
|
||||||
import { ContinentCollaborationORPIndicatorsComponent } from './continent-collaboration-orp-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
const continentCollaborationORPRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ContinentCollaborationORPComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: ContinentCollaborationORPIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(continentCollaborationORPRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationORPRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Other research products (ORPs)</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-orp',
|
|
||||||
templateUrl: './continent-collaboration-orp.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationORPComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { ContinentCollaborationORPRoutingModule } from './continent-collaboration-orp-routing.module';
|
|
||||||
import { ContinentCollaborationORPComponent } from './continent-collaboration-orp.component';
|
|
||||||
import { ContinentCollaborationORPIndicatorsComponent } from './continent-collaboration-orp-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
ContinentCollaborationORPRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
ContinentCollaborationORPComponent,
|
|
||||||
ContinentCollaborationORPIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationORPModule {}
|
|
|
@ -1,276 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersTimeline" width="100%" height="550" [src]="publicationsCoFundedFundersTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsTimeline" width="100%" height="550" [src]="publicationsCoFundedProjectsTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCoFundedFundersGroupBy (change)="getPublicationsCoFundedFundersGroupByMobile(selectCoFundedFundersGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersGroupByView==='country' && publicationsCoFundedFundersByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedFundersByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersGroupByView==='datasource' && publicationsCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersGroupByView==='organization' && publicationsCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoFundedFundersGroupByView==='funder' && publicationsCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open access publications with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoFundedFundersByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getPublicationsCoFundedFundersGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedFundersGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedFundersGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedFundersGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedFundersByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open access publications with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoFundedFundersByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getPublicationsCoFundedProjectsGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsGroupByView==='country' && publicationsCoFundedProjectsByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedProjectsByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsGroupByView==='datasource' && publicationsCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsGroupByView==='organization' && publicationsCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoFundedProjectsGroupByView==='funder' && publicationsCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open access publications linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoFundedProjectsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getPublicationsCoFundedProjectsGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedProjectsGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedProjectsGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoFundedProjectsGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedProjectsByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open access publications linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoFundedProjectsByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='co-authored'" class="coAuthoredIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredTimeline" width="100%" height="550" [src]="publicationsCoAuthoredTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCoAuthoredGroupBy (change)="getPublicationsCoAuthoredGroupByMobile(selectCoAuthoredGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredGroupByView==='country' && publicationsCoAuthoredByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="publicationsCoAuthoredByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredGroupByView==='datasource' && publicationsCoAuthoredByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoAuthoredByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredGroupByView==='organization' && publicationsCoAuthoredByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsCoAuthoredByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoAuthoredGroupByView==='funder' && publicationsCoAuthoredByFunderData"
|
|
||||||
[chartTitle]="'Co-authored Open Access publications'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoAuthoredByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-pid', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getPublicationsCoAuthoredGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoAuthoredGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoAuthoredGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getPublicationsCoAuthoredGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-pid" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoAuthoredByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoAuthoredByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsCoAuthoredByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsCoAuthoredByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="publicationsCoAuthoredByFunderData"
|
|
||||||
[chartTitle]="'Co-authored Open Access publications'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsCoAuthoredByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show: </label>
|
|
||||||
<select class="md-input" #selectPublicationsContent (change)="getContent('publication', selectPublicationsContent.value)" style="display: inline-block">
|
|
||||||
<option value="affiliated_peer_reviewed">affiliated</option>
|
|
||||||
<option value="affiliated">affiliated (incl. non-peer reviewed publications)</option>
|
|
||||||
<option value="deposited_peer_reviewed">deposited</option>
|
|
||||||
<option value="deposited">deposited (incl. non-peer reviewed publications)</option>
|
|
||||||
</select>
|
|
||||||
<!--<span class="md-input-bar"></span>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid">
|
|
||||||
<div class="absoluteTable uk-width-3-4@l uk-width-3-4@m">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#pubs-indicators-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" class="uk-active">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-hashtag"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" class="">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-percentage"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="pubs-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<div *ngIf="loadingPublicationsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="publicationsAbsoluteTableData" [isPercentage]="false" [countries]="publicationsAbsoluteTableData" [view]="'collaboration'" [entity]="'publication'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<div *ngIf="loadingPublicationsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="publicationsPercentageTableData" [isPercentage]="true" [countries]="publicationsPercentageTableData" [view]="'collaboration'" [entity]="'publication'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,202 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
publicationColor,
|
|
||||||
publicationPalette, publicationIndicatorsPalette, goldGreenIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-publications-indicators',
|
|
||||||
templateUrl: './continent-collaboration-publications-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationPublicationsIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
private publicationIndicatorsPalette = publicationIndicatorsPalette;
|
|
||||||
publicationColor = publicationColor;
|
|
||||||
|
|
||||||
publicationsCoFundedFundersTimeline: SafeResourceUrl;
|
|
||||||
publicationsCoFundedProjectsTimeline: SafeResourceUrl;
|
|
||||||
publicationsCoAuthoredTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsCoFundedFundersGroupByView = 'country';
|
|
||||||
publicationsCoFundedFundersByCountryChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedFundersByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedFundersByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedFundersByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsCoFundedProjectsGroupByView = 'country';
|
|
||||||
publicationsCoFundedProjectsByCountryChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedProjectsByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedProjectsByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoFundedProjectsByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsCoAuthoredGroupByView = 'country';
|
|
||||||
publicationsCoAuthoredByCountryChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoAuthoredByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoAuthoredByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
publicationsCoAuthoredByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsCoFundedFundersByFunderData: TreemapHighchartsData[];
|
|
||||||
publicationsCoFundedProjectsByFunderData: TreemapHighchartsData[];
|
|
||||||
publicationsCoAuthoredByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingPublicationsAbsoluteTable: boolean = true;
|
|
||||||
loadingPublicationsPercentageTable: boolean = true;
|
|
||||||
publicationsTableContentSelection: string = 'affiliated_peer_reviewed';
|
|
||||||
publicationsAbsoluteTableData: CountryTableData[];
|
|
||||||
publicationsPercentageTableData: CountryTableData[];
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
|
|
||||||
this.publicationsCoFundedFundersTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab_timeline.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab_timeline.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsCoFundedProjectsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab_timeline.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab_timeline.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsCoAuthoredTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab_timeline.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab_timeline.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsCoAuthoredByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsCoAuthoredByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByPublicationForCollaborationIndicatorForCountry('funders').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.publicationsCoFundedFundersByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByPublicationForCollaborationIndicatorForCountry('projects').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.publicationsCoFundedProjectsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByPublicationForCollaborationIndicatorForCountry('authors').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.publicationsCoAuthoredByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getPublicationsTableData(this.publicationsTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsTableData(contentSelection: string) {
|
|
||||||
|
|
||||||
this.loadingPublicationsAbsoluteTable = true;
|
|
||||||
this.loadingPublicationsPercentageTable = true;
|
|
||||||
this.dataService.getCollaborationIndicatorsTableData('publication', contentSelection).subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.publicationsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.publicationsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.loadingPublicationsAbsoluteTable = false;
|
|
||||||
this.loadingPublicationsPercentageTable = false;
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
this.loadingPublicationsAbsoluteTable = false;
|
|
||||||
this.loadingPublicationsPercentageTable = false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
getContent(type: string, contentSelection: string): void {
|
|
||||||
this.publicationsTableContentSelection = contentSelection;
|
|
||||||
this.getPublicationsTableData(this.publicationsTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoFundedFundersGroupBy(contentSelection: string): void {
|
|
||||||
this.publicationsCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoFundedFundersByCountryChartURL) {
|
|
||||||
this.publicationsCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.publicationsCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.publicationsCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoFundedFundersGroupByMobile(contentSelection: string): void {
|
|
||||||
this.publicationsCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoFundedFundersByCountryChartURLMobile) {
|
|
||||||
this.publicationsCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.publicationsCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.publicationsCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.funders_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open access publications with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoFundedProjectsGroupBy(contentSelection: string): void {
|
|
||||||
this.publicationsCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoFundedProjectsByCountryChartURL) {
|
|
||||||
this.publicationsCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.publicationsCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.publicationsCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoFundedProjectsGroupByMobile(contentSelection: string): void {
|
|
||||||
this.publicationsCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoFundedProjectsByCountryChartURLMobile) {
|
|
||||||
this.publicationsCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.publicationsCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.publicationsCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.projects_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoAuthoredGroupBy(contentSelection: string): void {
|
|
||||||
this.publicationsCoAuthoredGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoAuthoredByCountryChartURL) {
|
|
||||||
this.publicationsCoAuthoredByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"column","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoAuthoredByDatasourceChartURL) {
|
|
||||||
this.publicationsCoAuthoredByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoAuthoredByOrganizationChartURL) {
|
|
||||||
this.publicationsCoAuthoredByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsCoAuthoredGroupByMobile(contentSelection: string): void {
|
|
||||||
this.publicationsCoAuthoredGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsCoAuthoredByCountryChartURLMobile) {
|
|
||||||
this.publicationsCoAuthoredByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsCoAuthoredByDatasourceChartURL) {
|
|
||||||
this.publicationsCoAuthoredByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsCoAuthoredByOrganizationChartURL) {
|
|
||||||
this.publicationsCoAuthoredByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"co-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"single-authored","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.authors_collab.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Co-authored Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { ContinentCollaborationPublicationsComponent } from './continent-collaboration-publications.component';
|
|
||||||
import { ContinentCollaborationPublicationsIndicatorsComponent } from './continent-collaboration-publications-indicators.component';
|
|
||||||
|
|
||||||
const continentCollaborationPublicationsRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ContinentCollaborationPublicationsComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: ContinentCollaborationPublicationsIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(continentCollaborationPublicationsRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationPublicationsRoutingModule {}
|
|
|
@ -1,15 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Publications</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-authored']">Co-authored</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-publications',
|
|
||||||
templateUrl: './continent-collaboration-publications.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationPublicationsComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { ContinentCollaborationPublicationsRoutingModule } from './continent-collaboration-publications-routing.module';
|
|
||||||
import { ContinentCollaborationPublicationsComponent } from './continent-collaboration-publications.component';
|
|
||||||
import { ContinentCollaborationPublicationsIndicatorsComponent } from './continent-collaboration-publications-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
ContinentCollaborationPublicationsRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
ContinentCollaborationPublicationsComponent,
|
|
||||||
ContinentCollaborationPublicationsIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationPublicationsModule {}
|
|
|
@ -1,196 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersTimeline" width="100%" height="550" [src]="softwareCoFundedFundersTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsTimeline" width="100%" height="550" [src]="softwareCoFundedProjectsTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCoFundedFundersGroupBy (change)="getSoftwareCoFundedFundersGroupByMobile(selectCoFundedFundersGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersGroupByView==='country' && softwareCoFundedFundersByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedFundersByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersGroupByView==='datasource' && softwareCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersGroupByView==='organization' && softwareCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="softwareCoFundedFundersGroupByView==='funder' && softwareCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open Source software with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareCoFundedFundersByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getSoftwareCoFundedFundersGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedFundersGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedFundersGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedFundersGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-software-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedFundersByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedFundersByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareCoFundedFundersByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedFundersByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="softwareCoFundedFundersByFunderData"
|
|
||||||
[chartTitle]="'Open Source software with multiple funders'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareCoFundedFundersByFunderData" [color]="softwareColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getSoftwareCoFundedProjectsGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsGroupByView==='country' && softwareCoFundedProjectsByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedProjectsByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsGroupByView==='datasource' && softwareCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsGroupByView==='organization' && softwareCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="softwareCoFundedProjectsGroupByView==='funder' && softwareCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open Source software linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareCoFundedProjectsByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getSoftwareCoFundedProjectsGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedProjectsGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedProjectsGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getSoftwareCoFundedProjectsGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-software-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedProjectsByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedProjectsByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareCoFundedProjectsByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareCoFundedProjectsByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="softwareCoFundedProjectsByFunderData"
|
|
||||||
[chartTitle]="'Open Source software linked to multiple projects'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareCoFundedProjectsByFunderData" [color]="softwareColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show: </label>
|
|
||||||
<select class="md-input" #selectSoftwareContent (change)="getContent('software', selectSoftwareContent.value)" style="display: inline-block">
|
|
||||||
<option value="affiliated">affiliated</option>
|
|
||||||
<option value="deposited">deposited</option>
|
|
||||||
</select>
|
|
||||||
<!--<span class="md-input-bar"></span>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid">
|
|
||||||
<div class="absoluteTable uk-width-3-4@l uk-width-3-4@m">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#pubs-indicators-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" class="uk-active">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-hashtag"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" class="">
|
|
||||||
<a href="#">
|
|
||||||
<i class="fas fa-percentage"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="pubs-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<div *ngIf="loadingSoftwareAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="softwareAbsoluteTableData" [isPercentage]="false" [countries]="softwareAbsoluteTableData" [view]="'collaboration'" [entity]="'software'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<div *ngIf="loadingSoftwarePercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
|
||||||
<app-countries-table *ngIf="softwarePercentageTableData" [isPercentage]="true" [countries]="softwarePercentageTableData" [view]="'collaboration'" [entity]="'software'"></app-countries-table>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,162 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
softwareColor,
|
|
||||||
softwarePalette, softwareIndicatorsPalette, softwareIndicatorsPaletteReversed
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-software-indicators',
|
|
||||||
templateUrl: './continent-collaboration-software-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationSoftwareIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
private softwareIndicatorsPalette = softwareIndicatorsPalette;
|
|
||||||
private softwareIndicatorsPaletteReversed = softwareIndicatorsPaletteReversed;
|
|
||||||
softwareColor = softwareColor;
|
|
||||||
|
|
||||||
softwareCoFundedFundersTimeline: SafeResourceUrl;
|
|
||||||
softwareCoFundedProjectsTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
softwareCoFundedFundersGroupByView = 'country';
|
|
||||||
softwareCoFundedFundersByCountryChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedFundersByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedFundersByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedFundersByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
softwareCoFundedProjectsGroupByView = 'country';
|
|
||||||
softwareCoFundedProjectsByCountryChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedProjectsByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedProjectsByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
softwareCoFundedProjectsByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
softwareCoFundedFundersByFunderData: TreemapHighchartsData[];
|
|
||||||
softwareCoFundedProjectsByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingSoftwareAbsoluteTable: boolean = true;
|
|
||||||
loadingSoftwarePercentageTable: boolean = true;
|
|
||||||
softwareTableContentSelection: string = 'affiliated';
|
|
||||||
softwareAbsoluteTableData: CountryTableData[];
|
|
||||||
softwarePercentageTableData: CountryTableData[];
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
|
|
||||||
this.softwareCoFundedFundersTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab_timeline.affiliated","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
this.softwareCoFundedProjectsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab_timeline.affiliated","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.softwareCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
this.softwareCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.softwareCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.softwareCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('software', 'funders').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.softwareCoFundedFundersByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCollaborationIndicatorForCountry('software', 'projects').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.softwareCoFundedProjectsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getSoftwareTableData(this.softwareTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareTableData(contentSelection: string) {
|
|
||||||
|
|
||||||
this.loadingSoftwareAbsoluteTable = true;
|
|
||||||
this.loadingSoftwarePercentageTable = true;
|
|
||||||
this.dataService.getCollaborationIndicatorsTableData('software', contentSelection).subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.softwareAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.softwarePercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
|
||||||
this.loadingSoftwareAbsoluteTable = false;
|
|
||||||
this.loadingSoftwarePercentageTable = false;
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
this.loadingSoftwareAbsoluteTable = false;
|
|
||||||
this.loadingSoftwarePercentageTable = false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
getContent(type: string, contentSelection: string): void {
|
|
||||||
this.softwareTableContentSelection = contentSelection;
|
|
||||||
this.getSoftwareTableData(this.softwareTableContentSelection);
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareCoFundedFundersGroupBy(contentSelection: string): void {
|
|
||||||
this.softwareCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareCoFundedFundersByCountryChartURL) {
|
|
||||||
this.softwareCoFundedFundersByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"column","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.softwareCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.softwareCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareCoFundedFundersGroupByMobile(contentSelection: string): void {
|
|
||||||
this.softwareCoFundedFundersGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareCoFundedFundersByCountryChartURLMobile) {
|
|
||||||
this.softwareCoFundedFundersByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareCoFundedFundersByDatasourceChartURL) {
|
|
||||||
this.softwareCoFundedFundersByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareCoFundedFundersByOrganizationChartURL) {
|
|
||||||
this.softwareCoFundedFundersByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"{0,1} funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}},{"name":"> 1 funders","type":"bar","query":{"name":"new.oso.results.funders_collab.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with multiple funders","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPaletteReversed.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareCoFundedProjectsGroupBy(contentSelection: string): void {
|
|
||||||
this.softwareCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareCoFundedProjectsByCountryChartURL) {
|
|
||||||
this.softwareCoFundedProjectsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"column","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.softwareCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.softwareCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareCoFundedProjectsGroupByMobile(contentSelection: string): void {
|
|
||||||
this.softwareCoFundedProjectsGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareCoFundedProjectsByCountryChartURLMobile) {
|
|
||||||
this.softwareCoFundedProjectsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareCoFundedProjectsByDatasourceChartURL) {
|
|
||||||
this.softwareCoFundedProjectsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareCoFundedProjectsByOrganizationChartURL) {
|
|
||||||
this.softwareCoFundedProjectsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"> 1 projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"{0,1} projects","type":"bar","query":{"name":"new.oso.results.projects_collab.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software linked to multiple projects","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { ContinentCollaborationSoftwareComponent } from './continent-collaboration-software.component';
|
|
||||||
import { ContinentCollaborationSoftwareIndicatorsComponent } from './continent-collaboration-software-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
const continentCollaborationSoftwareRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: ContinentCollaborationSoftwareComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: ContinentCollaborationSoftwareIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(continentCollaborationSoftwareRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationSoftwareRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Software</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-continent-collaboration-software',
|
|
||||||
templateUrl: './continent-collaboration-software.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationSoftwareComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { ContinentCollaborationSoftwareRoutingModule } from './continent-collaboration-software-routing.module';
|
|
||||||
import { ContinentCollaborationSoftwareComponent } from './continent-collaboration-software.component';
|
|
||||||
import { ContinentCollaborationSoftwareIndicatorsComponent } from './continent-collaboration-software-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
ContinentCollaborationSoftwareRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
ContinentCollaborationSoftwareComponent,
|
|
||||||
ContinentCollaborationSoftwareIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class ContinentCollaborationSoftwareModule {}
|
|
|
@ -20,10 +20,6 @@ const continentRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'open-science',
|
path: 'open-science',
|
||||||
loadChildren: () => import('./open-science/continent-open-science.module').then(m => m.ContinentOpenScienceModule),
|
loadChildren: () => import('./open-science/continent-open-science.module').then(m => m.ContinentOpenScienceModule),
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'collaboration',
|
|
||||||
loadChildren: () => import('./collaboration/continent-collaboration.module').then(m => m.ContinentCollaborationModule),
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,16 @@
|
||||||
<li><span>{{continentName | titlecase}}</span></li>
|
<li><span>{{continentName | titlecase}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<!-- Europe Map -->
|
||||||
|
<div class="uk-align-right">
|
||||||
|
<a *ngIf="mapViewActive" (click)="toggleView('columns')">
|
||||||
|
<img src="../../../assets/img/icons/switch_view_list_active.svg">
|
||||||
|
</a>
|
||||||
|
<a *ngIf="!mapViewActive" (click)="toggleView('map')">
|
||||||
|
<img src="../../../assets/img/icons/switch_view_grid_active.svg">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div *ngIf="continentName" class="">
|
<div *ngIf="continentName" class="">
|
||||||
<img src="../../../assets/img/flags/{{continentName}}-flag.jpg" class="flag-image" width="132" height="132">
|
<img src="../../../assets/img/flags/{{continentName}}-flag.jpg" class="flag-image" width="132" height="132">
|
||||||
<div class="uk-inline uk-margin-left">
|
<div class="uk-inline uk-margin-left">
|
||||||
|
@ -26,8 +36,7 @@
|
||||||
<img src="../../../assets/img/flags/{{continentName}}-flag.jpg" class="flag-image uk-display-block uk-margin-auto-left uk-margin-auto-right" width="103" height="103">
|
<img src="../../../assets/img/flags/{{continentName}}-flag.jpg" class="flag-image uk-display-block uk-margin-auto-left uk-margin-auto-right" width="103" height="103">
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<h1 class="uk-margin-small-bottom">{{continentName | titlecase}}</h1>
|
<h1 class="uk-margin-small-bottom">{{continentName | titlecase}}</h1>
|
||||||
<span class="lastUpdateInfo">Data Last Updated: </span>
|
<span class="lastUpdateInfo">Data Last Updated: 21 May 2020</span>
|
||||||
<span *ngIf="lastUpdateDate" class="lastUpdateInfo">{{lastUpdateDate}}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,19 +46,10 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="uk-padding-small">
|
<section class="uk-padding-small uk-margin-top">
|
||||||
<!--<div class="uk-container uk-container-center uk-margin-medium-top" [ngClass]="{'uk-container-expand': mapViewActive}">-->
|
<div class="uk-container uk-container-center uk-margin-medium-top" [ngClass]="{'uk-container-expand': mapViewActive}">
|
||||||
<div class="uk-container uk-container-center uk-margin-medium-top">
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-margin-bottom">
|
|
||||||
|
|
||||||
<mat-slide-toggle (change)="toggleView($event)">Map</mat-slide-toggle>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="!mapViewActive" class="uk-visible@m">
|
<div *ngIf="!mapViewActive" class="uk-visible@m">
|
||||||
<div *ngIf="!europeOverviewData" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-5x loader" aria-hidden="true"></i></div>
|
<div *ngIf="!europeOverviewData" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-5x loader" aria-hidden="true"></i></div>
|
||||||
<div *ngIf="europeOverviewData" class="uk-grid uk-child-width-1-4 entitiesContainer">
|
<div *ngIf="europeOverviewData" class="uk-grid uk-child-width-1-4 entitiesContainer">
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
{{europeOverviewData.publications.percentage | number :'1.0-1'}}%
|
{{europeOverviewData.publications.percentage | number :'1.0-1'}}%
|
||||||
</span>
|
</span>
|
||||||
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.publications.percentage)"
|
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.publications.percentage)"
|
||||||
[ngStyle]="{'margin-top' :europeOverviewData.publications.percentage * 30 /100 + 'px'}">OA Publications</span>
|
[ngStyle]="{'margin-top' :europeOverviewData.publications.percentage * 30 /100 + 'px'}">Publications</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
{{europeOverviewData.datasets.percentage | number :'1.0-1'}}%
|
{{europeOverviewData.datasets.percentage | number :'1.0-1'}}%
|
||||||
</span>
|
</span>
|
||||||
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.datasets.percentage)"
|
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.datasets.percentage)"
|
||||||
[ngStyle]="{'margin-top' :europeOverviewData.datasets.percentage * 30 /100 + 'px'}">OA Datasets</span>
|
[ngStyle]="{'margin-top' :europeOverviewData.datasets.percentage * 30 /100 + 'px'}">Datasets</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
{{europeOverviewData.software.percentage | number :'1.0-1'}}%
|
{{europeOverviewData.software.percentage | number :'1.0-1'}}%
|
||||||
</span>
|
</span>
|
||||||
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.software.percentage)"
|
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.software.percentage)"
|
||||||
[ngStyle]="{'margin-top' :europeOverviewData.software.percentage * 30 /100 + 'px'}">OS Software</span>
|
[ngStyle]="{'margin-top' :europeOverviewData.software.percentage * 30 /100 + 'px'}">Software</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
{{europeOverviewData.other.percentage | number :'1.0-1'}}%
|
{{europeOverviewData.other.percentage | number :'1.0-1'}}%
|
||||||
</span>
|
</span>
|
||||||
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.other.percentage)"
|
<span class="number" [style.font-size.px]="getEntityNameFontSize(europeOverviewData.other.percentage)"
|
||||||
[ngStyle]="{'margin-top' :europeOverviewData.other.percentage * 30 /100 + 'px'}">OA Other</span>
|
[ngStyle]="{'margin-top' :europeOverviewData.other.percentage * 30 /100 + 'px'}">Other</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@ -184,7 +184,7 @@
|
||||||
<div *ngIf="mapViewActive" class="uk-visible@m">
|
<div *ngIf="mapViewActive" class="uk-visible@m">
|
||||||
<div class="uk-grid uk-grid-small">
|
<div class="uk-grid uk-grid-small">
|
||||||
|
|
||||||
<div class="uk-width-3-4@m">
|
<div class="uk-width-4-5@m">
|
||||||
|
|
||||||
<!--Map Container-->
|
<!--Map Container-->
|
||||||
<app-europe-map-overview (emitSelectedCountry)="countrySelected($event)"></app-europe-map-overview>
|
<app-europe-map-overview (emitSelectedCountry)="countrySelected($event)"></app-europe-map-overview>
|
||||||
|
@ -192,50 +192,31 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-width-1-4@m">
|
<div class="uk-width-1-5@m">
|
||||||
<div class="md-card infoBox">
|
<div class="md-card infoBox">
|
||||||
<ng-container *ngIf="!selectedCountry">
|
<ng-container *ngIf="!selectedCountry">
|
||||||
<div class="md-card-toolbar">
|
<div class="md-card-toolbar">
|
||||||
<h3 class="uk-text-center">EUROPE</h3>
|
<h3 class="uk-text-center">OPENAIRE OPEN SCIENCE OBSERVATORY</h3>
|
||||||
</div>
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<div *ngIf="europeOverviewMapData" class="numbers">
|
|
||||||
<div class="uk-margin-small-top">
|
|
||||||
|
|
||||||
<div class="indicator">
|
|
||||||
<span class="number publications" *ngIf="europeOverviewMapData.publications?.oa!=null">{{europeOverviewMapData.publications?.oa | number}}</span>
|
|
||||||
<span class="number publications" *ngIf="europeOverviewMapData.publications?.oa===null">--</span>
|
|
||||||
<span><i>Open Access publications</i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
|
||||||
|
|
||||||
<div class="indicator">
|
|
||||||
<span class="number datasets" *ngIf="europeOverviewMapData.datasets?.oa!=null">{{europeOverviewMapData.datasets?.oa | number}}</span>
|
|
||||||
<span class="number datasets" *ngIf="europeOverviewMapData.datasets?.oa===null">--</span>
|
|
||||||
<span><i>Open Access datasets</i></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
|
||||||
|
|
||||||
<div class="indicator">
|
|
||||||
<span class="number repositories" *ngIf="europeOverviewMapData.repositories?.total!=null">{{europeOverviewMapData.repositories?.total | number}}</span>
|
|
||||||
<span class="number repositories" *ngIf="europeOverviewMapData.repositories?.total===null">--</span>
|
|
||||||
<span><i>repositories</i> in OpenDOAR and Re3data</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
|
||||||
|
|
||||||
<div class="indicator">
|
|
||||||
<span class="number journals" *ngIf="europeOverviewMapData.journals?.total!=null">{{europeOverviewMapData.journals?.total | number}}</span>
|
|
||||||
<span class="number journals" *ngIf="europeOverviewMapData.journals?.total===null">--</span>
|
|
||||||
<span><i>Open Access journals</i> in DOAJ</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div *ngIf="!selectedCountry" class="md-card-content">
|
||||||
|
<div>An OpenAIRE service to:</div>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Better understand the European open research landscape
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Track trends for open access to publications, data, software
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Reveal hidden potential on existing resources
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
View open collaboration patterns
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<!--<div class="uk-text-center uk-margin-medium-top uk-margin-medium-bottom">-->
|
||||||
|
<!--<button [routerLink]="['/methodology']" class="md-btn md-btn-primary">Learn More</button>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div></div>
|
<div></div>
|
||||||
|
@ -270,7 +251,7 @@
|
||||||
<div class="indicator uk-margin-small-top">
|
<div class="indicator uk-margin-small-top">
|
||||||
<span class="number publications" *ngIf="selectedCountryData.publicationsDeposited!=null">{{selectedCountryData.publicationsDeposited | number}}</span>
|
<span class="number publications" *ngIf="selectedCountryData.publicationsDeposited!=null">{{selectedCountryData.publicationsDeposited | number}}</span>
|
||||||
<span class="number publications" *ngIf="selectedCountryData.publicationsDeposited===null">--</span>
|
<span class="number publications" *ngIf="selectedCountryData.publicationsDeposited===null">--</span>
|
||||||
<span><i>OA publications</i> in the country's institutional repositories</span>
|
<span><i>OA publications</i> from institutional repositories</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
||||||
|
@ -284,7 +265,7 @@
|
||||||
<div class="indicator uk-margin-small-top">
|
<div class="indicator uk-margin-small-top">
|
||||||
<span class="number datasets" *ngIf="selectedCountryData.datasetsDeposited!=null">{{selectedCountryData.datasetsDeposited | number}}</span>
|
<span class="number datasets" *ngIf="selectedCountryData.datasetsDeposited!=null">{{selectedCountryData.datasetsDeposited | number}}</span>
|
||||||
<span class="number datasets" *ngIf="selectedCountryData.datasetsDeposited===null">--</span>
|
<span class="number datasets" *ngIf="selectedCountryData.datasetsDeposited===null">--</span>
|
||||||
<span><i>OA datasets</i> in the country's repositories</span>
|
<span><i>OA datasets</i> from institutional repositories</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
||||||
|
@ -292,7 +273,7 @@
|
||||||
<div class="indicator">
|
<div class="indicator">
|
||||||
<span class="number repositories" *ngIf="selectedCountryData.repositories!=null">{{selectedCountryData.repositories | number}}</span>
|
<span class="number repositories" *ngIf="selectedCountryData.repositories!=null">{{selectedCountryData.repositories | number}}</span>
|
||||||
<span class="number repositories" *ngIf="selectedCountryData.repositories===null">--</span>
|
<span class="number repositories" *ngIf="selectedCountryData.repositories===null">--</span>
|
||||||
<span><i>repositories</i> in openDOAR & re3data</span>
|
<span><i>repositories</i> from openDOAR & re3data</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">
|
||||||
|
@ -300,7 +281,7 @@
|
||||||
<div class="indicator">
|
<div class="indicator">
|
||||||
<span class="number journals" *ngIf="selectedCountryData.journals!=null">{{selectedCountryData.journals | number}}</span>
|
<span class="number journals" *ngIf="selectedCountryData.journals!=null">{{selectedCountryData.journals | number}}</span>
|
||||||
<span class="number journals" *ngIf="selectedCountryData.journals===null">--</span>
|
<span class="number journals" *ngIf="selectedCountryData.journals===null">--</span>
|
||||||
<span><i>journals</i> in DOAJ</span>
|
<span><i>journals</i> from DOAJ</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">-->
|
<!--<hr class="greyBoldDivider uk-margin-top uk-margin-bottom">-->
|
||||||
|
@ -326,10 +307,15 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!--<div class="uk-width-large-3-5 uk-container-center uk-text-center">-->
|
||||||
|
<!--<h2 class="heading_b">-->
|
||||||
|
<!--Our Team-->
|
||||||
|
<!--<span class="sub-heading">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</span>-->
|
||||||
|
<!--</h2>-->
|
||||||
|
<!--</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
<!--MOBILE & PAD PORTRAIT-->
|
||||||
<div class="uk-hidden@m uk-text-center">
|
<div class="uk-hidden@m uk-text-center">
|
||||||
<div *ngIf="!europeOverviewData" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-5x loader" aria-hidden="true"></i></div>
|
<div *ngIf="!europeOverviewData" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-5x loader" aria-hidden="true"></i></div>
|
||||||
|
@ -487,7 +473,7 @@
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
||||||
<!--<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['/continent/' + continentName + '/overview']">Overview</a></li>-->
|
<!--<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['/continent/' + continentName + '/overview']">Overview</a></li>-->
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./collaboration']">Collaboration</a></li>
|
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
||||||
<!--<li class="uk-tab-responsive uk-active uk-hidden" aria-haspopup="true" aria-expanded="false"><a>Developers</a><div class="uk-dropdown uk-dropdown-small" aria-hidden="true"><ul class="uk-nav uk-nav-dropdown"></ul><div></div></div></li>-->
|
<!--<li class="uk-tab-responsive uk-active uk-hidden" aria-haspopup="true" aria-expanded="false"><a>Developers</a><div class="uk-dropdown uk-dropdown-small" aria-hidden="true"><ul class="uk-nav uk-nav-dropdown"></ul><div></div></div></li>-->
|
||||||
|
@ -497,7 +483,7 @@
|
||||||
<ul class="uk-hidden@m uk-tab" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
<ul class="uk-hidden@m uk-tab" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./collaboration']">Collaboration</a></li>
|
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
||||||
<!--<li class="uk-tab-responsive uk-active uk-hidden" aria-haspopup="true" aria-expanded="false"><a>Developers</a><div class="uk-dropdown uk-dropdown-small" aria-hidden="true"><ul class="uk-nav uk-nav-dropdown"></ul><div></div></div></li>-->
|
<!--<li class="uk-tab-responsive uk-active uk-hidden" aria-haspopup="true" aria-expanded="false"><a>Developers</a><div class="uk-dropdown uk-dropdown-small" aria-hidden="true"><ul class="uk-nav uk-nav-dropdown"></ul><div></div></div></li>-->
|
||||||
|
@ -507,6 +493,36 @@
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--<ul id="team_tabbed" class="uk-switcher dataContainer">-->
|
||||||
|
|
||||||
|
<!--<!–<router-outlet></router-outlet>–>-->
|
||||||
|
|
||||||
|
<!--<!–<!–OVERVIEW tab–>–>-->
|
||||||
|
<!--<!–<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">–>-->
|
||||||
|
<!--<!–<app-continent-overview></app-continent-overview>–>-->
|
||||||
|
<!--<!–</li>–>-->
|
||||||
|
|
||||||
|
<!--<!–<!–OPEN SCIENCE tab–>–>-->
|
||||||
|
<!--<!–<li aria-hidden="true" style="animation-duration: 200ms;">–>-->
|
||||||
|
<!--<!–<app-continent-open-science></app-continent-open-science>–>-->
|
||||||
|
<!--<!–</li>–>-->
|
||||||
|
|
||||||
|
<!--<!–<li aria-hidden="true">–>-->
|
||||||
|
<!--<!–<div class="uk-grid uk-grid-medium uk-grid-width-small-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-4" data-uk-grid-margin="">–>-->
|
||||||
|
<!--<!–</div>–>-->
|
||||||
|
<!--<!–</li>–>-->
|
||||||
|
|
||||||
|
<!--<!–<li aria-hidden="true">–>-->
|
||||||
|
<!--<!–<div class="uk-grid uk-grid-medium uk-grid-width-small-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-4" data-uk-grid-margin="">–>-->
|
||||||
|
<!--<!–</div>–>-->
|
||||||
|
<!--<!–</li>–>-->
|
||||||
|
|
||||||
|
<!--<!–<li aria-hidden="true">–>-->
|
||||||
|
<!--<!–<div class="uk-grid uk-grid-medium uk-grid-width-small-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-4" data-uk-grid-margin="">–>-->
|
||||||
|
<!--<!–</div>–>-->
|
||||||
|
<!--<!–</li>–>-->
|
||||||
|
<!--</ul>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,8 +3,7 @@ import { ActivatedRoute } from '@angular/router';
|
||||||
import { DomSanitizer } from '@angular/platform-browser';
|
import { DomSanitizer } from '@angular/platform-browser';
|
||||||
import { DataService } from '../../services/data.service';
|
import { DataService } from '../../services/data.service';
|
||||||
import { DataHandlerService } from '../../services/data-handler.service';
|
import { DataHandlerService } from '../../services/data-handler.service';
|
||||||
import { CountryOverviewData, EuropeData, SelectedCountry } from '../../domain/overview-map-data';
|
import {CountryOverviewData, EuropeData, SelectedCountry} from '../../domain/overview-map-data';
|
||||||
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-continent',
|
selector: 'app-continent',
|
||||||
|
@ -18,7 +17,6 @@ export class ContinentComponent implements OnInit {
|
||||||
continentName: string;
|
continentName: string;
|
||||||
|
|
||||||
europeOverviewData: EuropeData;
|
europeOverviewData: EuropeData;
|
||||||
europeOverviewMapData: EuropeData;
|
|
||||||
|
|
||||||
mapViewActive = false;
|
mapViewActive = false;
|
||||||
selectedCountry: SelectedCountry = null;
|
selectedCountry: SelectedCountry = null;
|
||||||
|
@ -54,14 +52,6 @@ export class ContinentComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getEuropeOverviewData().subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.europeOverviewMapData = this.dataHandlerService.convertRawDataToEuropeOverviewData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
// this.createOverviewContent();
|
// this.createOverviewContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,18 +112,10 @@ export class ContinentComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Europe Map --> **/
|
/** Europe Map --> **/
|
||||||
// toggleView(show: string) {
|
toggleView(show: string) {
|
||||||
// if (show === 'map') {
|
if (show === 'map') {
|
||||||
// this.mapViewActive = true;
|
|
||||||
// } else if (show === 'columns') {
|
|
||||||
// this.mapViewActive = false;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
toggleView(ob: MatSlideToggleChange) {
|
|
||||||
if (ob.checked) {
|
|
||||||
this.mapViewActive = true;
|
this.mapViewActive = true;
|
||||||
} else {
|
} else if (show === 'columns') {
|
||||||
this.mapViewActive = false;
|
this.mapViewActive = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,20 @@ import { ContinentComponent } from './continent.component';
|
||||||
import { ContinentOverviewComponent } from './overview/continent-overview.compopnent';
|
import { ContinentOverviewComponent } from './overview/continent-overview.compopnent';
|
||||||
import { DataHandlerService } from '../../services/data-handler.service';
|
import { DataHandlerService } from '../../services/data-handler.service';
|
||||||
import { DataService } from '../../services/data.service';
|
import { DataService } from '../../services/data.service';
|
||||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
import { ContinentOpenScienceComponent } from './open-science/continent-open-science.component';
|
||||||
|
|
||||||
@NgModule ({
|
@NgModule ({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
ContinentRoutingModule,
|
ContinentRoutingModule,
|
||||||
ReusableComponentsModule,
|
ReusableComponentsModule,
|
||||||
MatSlideToggleModule
|
// ContinentOpenScienceComponent
|
||||||
|
// SourcesModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ContinentComponent,
|
ContinentComponent,
|
||||||
ContinentOverviewComponent,
|
ContinentOverviewComponent,
|
||||||
|
// ContinentOpenScienceComponent
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
DataService,
|
DataService,
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
|
import { ContinentOSPublicationsComponent } from './publications/continent-os-publications.component';
|
||||||
import { ContinentOpenScienceComponent } from './continent-open-science.component';
|
import { ContinentOpenScienceComponent } from './continent-open-science.component';
|
||||||
|
import { ContinentOSDatasetsComponent } from './datasets/continent-os-datasets.component';
|
||||||
|
import { ContinentOSSoftwareComponent } from './software/continent-os-software.component';
|
||||||
|
import { ContinentOSORPComponent } from './other-research-products/continent-os-orp.component';
|
||||||
|
|
||||||
|
|
||||||
const continentOpenScienceRoutes: Routes = [
|
const continentOpenScienceRoutes: Routes = [
|
||||||
{
|
{
|
||||||
|
@ -15,18 +20,22 @@ const continentOpenScienceRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'publications',
|
path: 'publications',
|
||||||
loadChildren: () => import('./publications/continent-os-publications.module').then(m => m.ContinentOpenSciencePublicationsModule),
|
loadChildren: () => import('./publications/continent-os-publications.module').then(m => m.ContinentOpenSciencePublicationsModule),
|
||||||
|
// component: ContinentOSPublicationsComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'datasets',
|
path: 'datasets',
|
||||||
loadChildren: () => import('./datasets/continent-os-datasets.module').then(m => m.ContinentOpenScienceDatasetsModule),
|
loadChildren: () => import('./datasets/continent-os-datasets.module').then(m => m.ContinentOpenScienceDatasetsModule),
|
||||||
|
// component: ContinentOSDatasetsComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'software',
|
path: 'software',
|
||||||
loadChildren: () => import('./software/continent-os-software.module').then(m => m.ContinentOpenScienceSoftwareModule),
|
loadChildren: () => import('./software/continent-os-software.module').then(m => m.ContinentOpenScienceSoftwareModule),
|
||||||
|
// component: ContinentOSSoftwareComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'other-research-products',
|
path: 'other-research-products',
|
||||||
loadChildren: () => import('./other-research-products/continent-os-orp.module').then(m => m.ContinentOpenScienceORPModule),
|
loadChildren: () => import('./other-research-products/continent-os-orp.module').then(m => m.ContinentOpenScienceORPModule),
|
||||||
|
// component: ContinentOSORPComponent,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#switcher-content-a-fade', animation: 'fade'}">
|
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#switcher-content-a-fade', animation: 'fade'}">
|
||||||
<li aria-expanded="true" [routerLinkActive]="['uk-active']">
|
<li aria-expanded="true" [routerLinkActive]="['uk-active']">
|
||||||
<a class="publicationsSubnav" [routerLink]="['./publications']" uk-tooltip="title: Publications; duration: 2000">
|
<a class="publicationsSubnav" [routerLink]="['./publications']" uk-tooltip="title: Publication; duration: 2000">
|
||||||
<img src="../../../../assets/img/icons/publications-icon.svg" width="15">
|
<img src="../../../../assets/img/icons/publications-icon.svg" width="15">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { ContinentOpenScienceRoutingModule } from './continent-open-science-routing.module';
|
import { ContinentOpenScienceRoutingModule } from './continent-open-science-routing.module';
|
||||||
|
import { ContinentOSPublicationsComponent } from './publications/continent-os-publications.component';
|
||||||
import { ReusableComponentsModule } from '../../../shared/reusablecomponents/reusable-components.module';
|
import { ReusableComponentsModule } from '../../../shared/reusablecomponents/reusable-components.module';
|
||||||
import { DataService } from '../../../services/data.service';
|
import { DataService } from '../../../services/data.service';
|
||||||
import { DataHandlerService } from '../../../services/data-handler.service';
|
import { DataHandlerService } from '../../../services/data-handler.service';
|
||||||
import { ContinentOpenScienceComponent } from './continent-open-science.component';
|
import { ContinentOpenScienceComponent } from './continent-open-science.component';
|
||||||
|
import { ContinentOSDatasetsComponent } from './datasets/continent-os-datasets.component';
|
||||||
|
import { ContinentOSSoftwareComponent } from './software/continent-os-software.component';
|
||||||
|
import { ContinentOSORPComponent } from './other-research-products/continent-os-orp.component';
|
||||||
|
import { ContinentOSPublicationsIndicatorsComponent } from './publications/continent-os-publications-indicators.component';
|
||||||
|
|
||||||
@NgModule ({
|
@NgModule ({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -14,6 +19,11 @@ import { ContinentOpenScienceComponent } from './continent-open-science.componen
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
ContinentOpenScienceComponent,
|
ContinentOpenScienceComponent,
|
||||||
|
// ContinentOSPublicationsComponent,
|
||||||
|
// ContinentOSPublicationsIndicatorsComponent,
|
||||||
|
// ContinentOSDatasetsComponent,
|
||||||
|
// ContinentOSSoftwareComponent,
|
||||||
|
// ContinentOSORPComponent
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
DataService,
|
DataService,
|
||||||
|
|
|
@ -1,5 +1,81 @@
|
||||||
|
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="datasetsWithPIDTimeline" width="100%" height="550" [src]="datasetsWithPIDTimeline"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
<!--MOBILE & PAD PORTRAIT-->
|
||||||
|
<div class="uk-hidden@m">
|
||||||
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
|
<label class="uk-margin-right">Show by: </label>
|
||||||
|
<select class="md-input" #selectPIDGroupBy (change)="getDatasetsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
|
<option value="country">country</option>
|
||||||
|
<option value="datasource">datasource</option>
|
||||||
|
<option value="organization">organization</option>
|
||||||
|
<option value="funder">funder</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe *ngIf="datasetsWithPIDGroupByView==='country' && datasetsWithPIDByCountryChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="datasetsWithPIDByCountryChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="datasetsWithPIDGroupByView==='datasource' && datasetsWithPIDByDatasourceChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="datasetsWithPIDByDatasourceChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="datasetsWithPIDGroupByView==='organization' && datasetsWithPIDByOrganizationChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="datasetsWithPIDByOrganizationChartURLMobile"></iframe>
|
||||||
|
<app-treemap-highchart *ngIf="datasetsWithPIDGroupByView==='funder' && datasetsWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Datasets with PID by funder'"
|
||||||
|
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
|
<div class="uk-visible@m">
|
||||||
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
|
<li class="uk-active"><a (click)="getDatasetsWithPIDGroupBy('country')">Country</a></li>
|
||||||
|
<li><a (click)="getDatasetsWithPIDGroupBy('datasource')">Datasource</a></li>
|
||||||
|
<li><a (click)="getDatasetsWithPIDGroupBy('organization')">Organization</a></li>
|
||||||
|
<li><a (click)="getDatasetsWithPIDGroupBy('funder')">Funder</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
|
<iframe *ngIf="datasetsWithPIDByCountryChartURL"
|
||||||
|
width="100%" height="350" [src]="datasetsWithPIDByCountryChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="datasetsWithPIDByDatasourceChartURL"
|
||||||
|
width="100%" height="350" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="datasetsWithPIDByOrganizationChartURL"
|
||||||
|
width="100%" height="350" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<app-treemap-highchart *ngIf="datasetsWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Datasets with PID by funder'"
|
||||||
|
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -9,14 +85,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceTimeline" width="100%" height="550" [src]="datasetsWithCCLicenceTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -25,7 +93,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectLicenceGroupBy (change)="getDatasetsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectLicenceGroupBy (change)="getDatasetsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -35,106 +103,43 @@
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithLicenceGroupByView==='country' && datasetsWithLicenceByCountryChartURLMobile"
|
<iframe *ngIf="datasetsWithLicenceGroupByView==='country' && datasetsWithLicenceByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsWithLicenceByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="datasetsWithLicenceByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="datasetsWithLicenceGroupByView==='datasource' && datasetsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="datasetsWithLicenceGroupByView==='datasource' && datasetsWithLicenceByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="datasetsWithLicenceByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="datasetsWithLicenceGroupByView==='organization' && datasetsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="datasetsWithLicenceGroupByView==='organization' && datasetsWithLicenceByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="datasetsWithLicenceByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="datasetsWithLicenceGroupByView==='funder' && datasetsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="datasetsWithLicenceGroupByView==='funder' && datasetsWithLicenceByFunderData"
|
||||||
[chartTitle]="'OA Datasets with licence by funder (top funders)'"
|
[chartTitle]="'OA Datasets with licence by funder'"
|
||||||
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithLicenceGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getDatasetsWithLicenceGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getDatasetsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getDatasetsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getDatasetsWithLicenceGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getDatasetsWithLicenceGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getDatasetsWithLicenceGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getDatasetsWithLicenceGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="datasetsWithLicenceByCountryChartURL"
|
<iframe *ngIf="datasetsWithLicenceByCountryChartURL"
|
||||||
width="100%" height="650" [src]="datasetsWithLicenceByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsWithLicenceByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="datasetsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="datasetsWithLicenceByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="datasetsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="datasetsWithLicenceByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="datasetsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="datasetsWithLicenceByFunderData"
|
||||||
[chartTitle]="'OA Datasets with licence by funder (top funders)'"
|
[chartTitle]="'OA Datasets with licence by funder'"
|
||||||
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getDatasetsWithCCLicenceGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceGroupByView==='country' && datasetsWithCCLicenceByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="datasetsWithCCLicenceByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceGroupByView==='datasource' && datasetsWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceGroupByView==='organization' && datasetsWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithCCLicenceGroupByView==='funder' && datasetsWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithCCLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithCCLicenceGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithCCLicenceGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithCCLicenceGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithCCLicenceGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithCCLicenceByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithCCLicenceByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -145,97 +150,17 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsWithPIDTimeline" width="100%" height="550" [src]="datasetsWithPIDTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectPIDGroupBy (change)="getDatasetsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithPIDGroupByView==='country' && datasetsWithPIDByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="datasetsWithPIDByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithPIDGroupByView==='datasource' && datasetsWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithPIDGroupByView==='organization' && datasetsWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithPIDGroupByView==='funder' && datasetsWithPIDByFunderData"
|
|
||||||
[chartTitle]="'OA Datasets with PID by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-pid', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithPIDGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithPIDGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithPIDGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithPIDGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-pid" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="datasetsWithPIDByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithPIDByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
||||||
|
|
||||||
<!--<h3 class="">More details for datasets</h3>-->
|
<h3 class="">More details for datasets</h3>
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
<div class="uk-margin-top uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show: </label>
|
<label class="uk-margin-right">Show: </label>
|
||||||
<select class="md-input" #selectDatasetsContent (change)="getContent('dataset', selectDatasetsContent.value)" style="display: inline-block">
|
<select class="md-input" #selectDatasetsContent (change)="getContent('dataset', selectDatasetsContent.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="affiliated">affiliated</option>
|
<option value="affiliated">affiliated</option>
|
||||||
<!--<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>-->
|
<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>
|
||||||
<option value="deposited">deposited</option>
|
<option value="deposited">deposited</option>
|
||||||
<!--<option value="deposited_peer_reviewed">deposited peer reviewed</option>-->
|
<option value="deposited_peer_reviewed">deposited peer reviewed</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<span class="md-input-bar"></span>-->
|
<!--<span class="md-input-bar"></span>-->
|
||||||
</div>
|
</div>
|
||||||
|
@ -260,11 +185,11 @@
|
||||||
|
|
||||||
<ul id="data-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
<ul id="data-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<div *ngIf="loadingDatasetsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="datasetsAbsoluteTableData" [isPercentage]="false" [countries]="datasetsAbsoluteTableData" [view]="'openScience'" [entity]="'dataset'"></app-countries-table>
|
<app-countries-table *ngIf="datasetsAbsoluteTableData" [isPercentage]="false" [countries]="datasetsAbsoluteTableData" [view]="'openScience'" [entity]="'dataset'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<div *ngIf="loadingDatasetsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="datasetsPercentageTableData" [isPercentage]="true" [countries]="datasetsPercentageTableData" [view]="'openScience'" [entity]="'dataset'"></app-countries-table>
|
<app-countries-table *ngIf="datasetsPercentageTableData" [isPercentage]="true" [countries]="datasetsPercentageTableData" [view]="'openScience'" [entity]="'dataset'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core';
|
||||||
import {
|
import {
|
||||||
datasetColor,
|
datasetColor,
|
||||||
datasetPalette,
|
datasetPalette,
|
||||||
datasetIndicatorsPalette,
|
|
||||||
gradientStartColor,
|
gradientStartColor,
|
||||||
} from '../../../../chart-palettes';
|
} from '../../../../chart-palettes';
|
||||||
import {environment} from '../../../../../environments/environment';
|
import {environment} from '../../../../../environments/environment';
|
||||||
|
@ -26,7 +25,6 @@ export class ContinentOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
indicator: string;
|
indicator: string;
|
||||||
|
|
||||||
private datasetPalette = datasetPalette;
|
private datasetPalette = datasetPalette;
|
||||||
private datasetIndicatorsPalette = datasetIndicatorsPalette;
|
|
||||||
|
|
||||||
datasetColor = datasetColor;
|
datasetColor = datasetColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
@ -34,29 +32,25 @@ export class ContinentOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
|
|
||||||
datasetsWithPIDTimeline: SafeResourceUrl;
|
datasetsWithPIDTimeline: SafeResourceUrl;
|
||||||
datasetsWithLicenceTimeline: SafeResourceUrl;
|
datasetsWithLicenceTimeline: SafeResourceUrl;
|
||||||
datasetsWithCCLicenceTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsWithPIDGroupByView = 'country';
|
datasetsWithPIDGroupByView = 'country';
|
||||||
datasetsWithPIDByCountryChartURL: SafeResourceUrl;
|
datasetsWithPIDByCountryChartURL: SafeResourceUrl;
|
||||||
datasetsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
datasetsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
||||||
datasetsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
datasetsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
||||||
datasetsWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
datasetsWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
datasetsWithPIDByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
datasetsWithPIDByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
datasetsWithLicenceGroupByView = 'country';
|
datasetsWithLicenceGroupByView = 'country';
|
||||||
datasetsWithLicenceByCountryChartURL: SafeResourceUrl;
|
datasetsWithLicenceByCountryChartURL: SafeResourceUrl;
|
||||||
datasetsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
datasetsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
||||||
datasetsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
datasetsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
||||||
datasetsWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
datasetsWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
datasetsWithLicenceByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
datasetsWithCCLicenceGroupByView = 'country';
|
datasetsWithLicenceByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
datasetsWithCCLicenceByCountryChartURL: SafeResourceUrl;
|
|
||||||
datasetsWithCCLicenceByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
datasetsWithCCLicenceByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
datasetsWithCCLicenceByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsWithPIDByFunderData: TreemapHighchartsData[];
|
datasetsWithPIDByFunderData: TreemapHighchartsData[];
|
||||||
datasetsWithLicenceByFunderData: TreemapHighchartsData[];
|
datasetsWithLicenceByFunderData: TreemapHighchartsData[];
|
||||||
datasetsWithCCLicenceByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingDatasetsAbsoluteTable: boolean = true;
|
loadingDatasetsAbsoluteTable: boolean = true;
|
||||||
loadingDatasetsPercentageTable: boolean = true;
|
loadingDatasetsPercentageTable: boolean = true;
|
||||||
|
@ -76,18 +70,32 @@ export class ContinentOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
this.indicator = params['indicator'];
|
this.indicator = params['indicator'];
|
||||||
});
|
});
|
||||||
|
|
||||||
this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.datasetsWithCCLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// // this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
this.datasetsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// // this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
this.datasetsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
//
|
||||||
|
// // this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.datasetsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.datasetsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.datasetsWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForPID('dataset').subscribe(
|
this.dataService.getFundersResultsByTypeForPID('dataset').subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
|
@ -105,21 +113,13 @@ export class ContinentOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCCLicence('dataset').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.datasetsWithCCLicenceByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getDatasetsTableData(this.datasetsTableContentSelection);
|
this.getDatasetsTableData(this.datasetsTableContentSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsTableData(contentSelection: string) {
|
getDatasetsTableData(contentSelection: string) {
|
||||||
this.loadingDatasetsAbsoluteTable = true;
|
this.loadingDatasetsAbsoluteTable = true;
|
||||||
this.loadingDatasetsPercentageTable = true;
|
this.loadingDatasetsPercentageTable = true;
|
||||||
this.dataService.getOpenScienceIndicatorsTableData('dataset', contentSelection).subscribe(
|
this.dataService.getIndicatorsTableData('dataset', contentSelection).subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.datasetsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.datasetsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
this.datasetsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.datasetsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
|
@ -142,66 +142,44 @@ export class ContinentOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
getDatasetsWithPIDGroupBy(contentSelection: string): void {
|
getDatasetsWithPIDGroupBy(contentSelection: string): void {
|
||||||
this.datasetsWithPIDGroupByView = contentSelection;
|
this.datasetsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsWithPIDByCountryChartURL) {
|
if (contentSelection === 'country' && !this.datasetsWithPIDByCountryChartURL) {
|
||||||
this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
||||||
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
||||||
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithPIDGroupByMobile(contentSelection: string): void {
|
getDatasetsWithPIDGroupByMobile(contentSelection: string): void {
|
||||||
this.datasetsWithPIDGroupByView = contentSelection;
|
this.datasetsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsWithPIDByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.datasetsWithPIDByCountryChartURLMobile) {
|
||||||
this.datasetsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURLMobile) {
|
||||||
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURLMobile) {
|
||||||
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithLicenceGroupBy(contentSelection: string): void {
|
getDatasetsWithLicenceGroupBy(contentSelection: string): void {
|
||||||
this.datasetsWithLicenceGroupByView = contentSelection;
|
this.datasetsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsWithLicenceByCountryChartURL) {
|
if (contentSelection === 'country' && !this.datasetsWithLicenceByCountryChartURL) {
|
||||||
this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
||||||
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
||||||
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithLicenceGroupByMobile(contentSelection: string): void {
|
getDatasetsWithLicenceGroupByMobile(contentSelection: string): void {
|
||||||
this.datasetsWithLicenceGroupByView = contentSelection;
|
this.datasetsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsWithLicenceByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.datasetsWithLicenceByCountryChartURLMobile) {
|
||||||
this.datasetsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURLMobile) {
|
||||||
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURLMobile) {
|
||||||
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsWithCCLicenceGroupBy(contentSelection: string): void {
|
|
||||||
this.datasetsWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsWithCCLicenceByCountryChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsWithCCLicenceGroupByMobile(contentSelection: string): void {
|
|
||||||
this.datasetsWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.datasetsWithCCLicenceByCountryChartURLMobile) {
|
|
||||||
this.datasetsWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"dataset"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ const continentOpenScienceDatasetsRoutes: Routes = [
|
||||||
children : [
|
children : [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'licence',
|
redirectTo: 'pid',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Datasets</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
<ul uk-tab class="uk-tab-large">
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
||||||
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,81 @@
|
||||||
|
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="otherWithPIDTimeline" width="100%" height="550" [src]="otherWithPIDTimeline"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
<!--MOBILE & PAD PORTRAIT-->
|
||||||
|
<div class="uk-hidden@m">
|
||||||
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
|
<label class="uk-margin-right">Show by: </label>
|
||||||
|
<select class="md-input" #selectPIDGroupBy (change)="getOtherWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
|
<option value="country">country</option>
|
||||||
|
<option value="datasource">datasource</option>
|
||||||
|
<option value="organization">organization</option>
|
||||||
|
<option value="funder">funder</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe *ngIf="otherWithPIDGroupByView==='country' && otherWithPIDByCountryChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="otherWithPIDByCountryChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="otherWithPIDGroupByView==='datasource' && otherWithPIDByDatasourceChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="otherWithPIDByDatasourceChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="otherWithPIDGroupByView==='organization' && otherWithPIDByOrganizationChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="otherWithPIDByOrganizationChartURLMobile"></iframe>
|
||||||
|
<app-treemap-highchart *ngIf="otherWithPIDGroupByView==='funder' && otherWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Other research products with PID by funder'"
|
||||||
|
[chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
|
<div class="uk-visible@m">
|
||||||
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
|
<li class="uk-active"><a (click)="getOtherWithPIDGroupBy('country')">Country</a></li>
|
||||||
|
<li><a (click)="getOtherWithPIDGroupBy('datasource')">Datasource</a></li>
|
||||||
|
<li><a (click)="getOtherWithPIDGroupBy('organization')">Organization</a></li>
|
||||||
|
<li><a (click)="getOtherWithPIDGroupBy('funder')">Funder</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
|
<iframe *ngIf="otherWithPIDByCountryChartURL"
|
||||||
|
width="100%" height="350" [src]="otherWithPIDByCountryChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="otherWithPIDByDatasourceChartURL"
|
||||||
|
width="100%" height="350" [src]="otherWithPIDByDatasourceChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="otherWithPIDByOrganizationChartURL"
|
||||||
|
width="100%" height="350" [src]="otherWithPIDByOrganizationChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<app-treemap-highchart *ngIf="otherWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Other research products with PID by funder'"
|
||||||
|
[chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -9,14 +85,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="otherWithCCLicenceTimeline" width="100%" height="550" [src]="otherWithCCLicenceTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -25,7 +93,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectLicenceGroupBy (change)="getOtherWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectLicenceGroupBy (change)="getOtherWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -35,106 +103,43 @@
|
||||||
|
|
||||||
<iframe *ngIf="otherWithLicenceGroupByView==='country' && otherWithLicenceByCountryChartURLMobile"
|
<iframe *ngIf="otherWithLicenceGroupByView==='country' && otherWithLicenceByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="otherWithLicenceByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="otherWithLicenceByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="otherWithLicenceGroupByView==='datasource' && otherWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="otherWithLicenceGroupByView==='datasource' && otherWithLicenceByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="otherWithLicenceByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="otherWithLicenceGroupByView==='organization' && otherWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="otherWithLicenceGroupByView==='organization' && otherWithLicenceByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="otherWithLicenceByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="otherWithLicenceGroupByView==='funder' && otherWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="otherWithLicenceGroupByView==='funder' && otherWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access ORPs with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Other research products with licence by funder'"
|
||||||
[chartData]="otherWithLicenceByFunderData" [color]="otherColor"></app-treemap-highchart>
|
[chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-other-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getOtherWithLicenceGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getOtherWithLicenceGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getOtherWithLicenceGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getOtherWithLicenceGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getOtherWithLicenceGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getOtherWithLicenceGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getOtherWithLicenceGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getOtherWithLicenceGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-other-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="otherWithLicenceByCountryChartURL"
|
<iframe *ngIf="otherWithLicenceByCountryChartURL"
|
||||||
width="100%" height="650" [src]="otherWithLicenceByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="otherWithLicenceByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="otherWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="otherWithLicenceByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="otherWithLicenceByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="otherWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="otherWithLicenceByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="otherWithLicenceByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="otherWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="otherWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access ORPs with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Other research products with licence by funder'"
|
||||||
[chartData]="otherWithLicenceByFunderData" [color]="otherColor" [height]="650"></app-treemap-highchart>
|
[chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getOtherWithCCLicenceGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="otherWithCCLicenceGroupByView==='country' && otherWithCCLicenceByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="otherWithCCLicenceByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="otherWithCCLicenceGroupByView==='datasource' && otherWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="otherWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="otherWithCCLicenceGroupByView==='organization' && otherWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="otherWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="otherWithCCLicenceGroupByView==='funder' && otherWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherWithCCLicenceByFunderData" [color]="otherColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-other-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getOtherWithCCLicenceGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getOtherWithCCLicenceGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getOtherWithCCLicenceGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getOtherWithCCLicenceGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-other-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="otherWithCCLicenceByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithCCLicenceByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="otherWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherWithCCLicenceByFunderData" [color]="otherColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -145,98 +150,17 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="otherWithPIDTimeline" width="100%" height="550" [src]="otherWithPIDTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectPIDGroupBy (change)="getOtherWithPIDGroupByMobile(selectPIDGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="otherWithPIDGroupByView==='country' && otherWithPIDByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="otherWithPIDByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="otherWithPIDGroupByView==='datasource' && otherWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="otherWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="otherWithPIDGroupByView==='organization' && otherWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="otherWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="otherWithPIDGroupByView==='funder' && otherWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherWithPIDByFunderData" [color]="otherColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-other-pid', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getOtherWithPIDGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getOtherWithPIDGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getOtherWithPIDGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getOtherWithPIDGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-other-pid" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="otherWithPIDByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithPIDByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="otherWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="otherWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="otherWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Access ORPs with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="otherWithPIDByFunderData" [color]="otherColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
||||||
|
|
||||||
<!--<h3 class="">More details for other research products</h3>-->
|
<h3 class="">More details for other research products</h3>
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
<div class="uk-margin-top uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show: </label>
|
<label class="uk-margin-right">Show: </label>
|
||||||
<select class="md-input" #selectOtherContent (change)="getContent('other', selectOtherContent.value)" style="display: inline-block">
|
<select class="md-input" #selectOtherContent (change)="getContent('other', selectOtherContent.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="affiliated">affiliated</option>
|
<option value="affiliated">affiliated</option>
|
||||||
<!--<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>-->
|
<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>
|
||||||
<option value="deposited">deposited</option>
|
<option value="deposited">deposited</option>
|
||||||
<!--<option value="deposited_peer_reviewed">deposited peer reviewed</option>-->
|
<option value="deposited_peer_reviewed">deposited peer reviewed</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<span class="md-input-bar"></span>-->
|
<!--<span class="md-input-bar"></span>-->
|
||||||
</div>
|
</div>
|
||||||
|
@ -261,11 +185,11 @@
|
||||||
|
|
||||||
<ul id="other-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
<ul id="other-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<div *ngIf="loadingOtherAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="otherAbsoluteTableData" [isPercentage]="false" [countries]="otherAbsoluteTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
|
<app-countries-table *ngIf="otherAbsoluteTableData" [isPercentage]="false" [countries]="otherAbsoluteTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<div *ngIf="loadingOtherPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="otherPercentageTableData" [isPercentage]="true" [countries]="otherPercentageTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
|
<app-countries-table *ngIf="otherPercentageTableData" [isPercentage]="true" [countries]="otherPercentageTableData" [view]="'openScience'" [entity]="'other'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import {Component, OnInit} from '@angular/core';
|
||||||
import {environment} from '../../../../../environments/environment';
|
import {environment} from '../../../../../environments/environment';
|
||||||
import {
|
import {
|
||||||
gradientStartColor,
|
gradientStartColor,
|
||||||
otherResearchProductsColor, otherResearchProductsPalette, otherIndicatorsPalette
|
otherResearchProductsColor, otherResearchProductsPalette,
|
||||||
} from '../../../../chart-palettes';
|
} from '../../../../chart-palettes';
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
import {DataHandlerService} from '../../../../services/data-handler.service';
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
||||||
|
@ -24,36 +24,31 @@ export class ContinentOSORPIndicatorsComponent implements OnInit {
|
||||||
indicator: string;
|
indicator: string;
|
||||||
|
|
||||||
private otherResearchProductsPalette = otherResearchProductsPalette;
|
private otherResearchProductsPalette = otherResearchProductsPalette;
|
||||||
private otherIndicatorsPalette = otherIndicatorsPalette;
|
|
||||||
|
|
||||||
otherColor = otherResearchProductsColor;
|
otherResearchProductsColor = otherResearchProductsColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
|
||||||
otherWithPIDTimeline: SafeResourceUrl;
|
|
||||||
otherWithLicenceTimeline: SafeResourceUrl;
|
otherWithLicenceTimeline: SafeResourceUrl;
|
||||||
otherWithCCLicenceTimeline: SafeResourceUrl;
|
otherWithPIDTimeline: SafeResourceUrl;
|
||||||
|
|
||||||
otherWithPIDGroupByView = 'country';
|
otherWithPIDGroupByView = 'country';
|
||||||
otherWithPIDByCountryChartURL: SafeResourceUrl;
|
otherWithPIDByCountryChartURL: SafeResourceUrl;
|
||||||
otherWithPIDByDatasourceChartURL: SafeResourceUrl;
|
otherWithPIDByDatasourceChartURL: SafeResourceUrl;
|
||||||
otherWithPIDByOrganizationChartURL: SafeResourceUrl;
|
otherWithPIDByOrganizationChartURL: SafeResourceUrl;
|
||||||
otherWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
otherWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
otherWithPIDByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
otherWithPIDByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
otherWithLicenceGroupByView = 'country';
|
otherWithLicenceGroupByView = 'country';
|
||||||
otherWithLicenceByCountryChartURL: SafeResourceUrl;
|
otherWithLicenceByCountryChartURL: SafeResourceUrl;
|
||||||
otherWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
otherWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
||||||
otherWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
otherWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
||||||
otherWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
otherWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
otherWithLicenceByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
otherWithCCLicenceGroupByView = 'country';
|
otherWithLicenceByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
otherWithCCLicenceByCountryChartURL: SafeResourceUrl;
|
|
||||||
otherWithCCLicenceByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
otherWithCCLicenceByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
otherWithCCLicenceByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
otherWithPIDByFunderData: TreemapHighchartsData[];
|
otherWithPIDByFunderData: TreemapHighchartsData[];
|
||||||
otherWithLicenceByFunderData: TreemapHighchartsData[];
|
otherWithLicenceByFunderData: TreemapHighchartsData[];
|
||||||
otherWithCCLicenceByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingOtherAbsoluteTable: boolean = true;
|
loadingOtherAbsoluteTable: boolean = true;
|
||||||
loadingOtherPercentageTable: boolean = true;
|
loadingOtherPercentageTable: boolean = true;
|
||||||
|
@ -73,18 +68,31 @@ export class ContinentOSORPIndicatorsComponent implements OnInit {
|
||||||
this.indicator = params['indicator'];
|
this.indicator = params['indicator'];
|
||||||
});
|
});
|
||||||
|
|
||||||
this.otherWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
// this.otherWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
this.otherWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.otherWithCCLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
// this.otherWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
this.otherWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
// // this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
this.otherWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
// this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
//
|
||||||
|
// // this.otherWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.otherWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
//
|
||||||
|
// // this.otherWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.otherWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.otherWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.otherWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.otherWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForPID('other').subscribe(
|
this.dataService.getFundersResultsByTypeForPID('other').subscribe(
|
||||||
|
@ -103,21 +111,13 @@ export class ContinentOSORPIndicatorsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCCLicence('other').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.otherWithCCLicenceByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getOtherTableData(this.otherTableContentSelection);
|
this.getOtherTableData(this.otherTableContentSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
getOtherTableData(contentSelection: string) {
|
getOtherTableData(contentSelection: string) {
|
||||||
this.loadingOtherAbsoluteTable = true;
|
this.loadingOtherAbsoluteTable = true;
|
||||||
this.loadingOtherPercentageTable = true;
|
this.loadingOtherPercentageTable = true;
|
||||||
this.dataService.getOpenScienceIndicatorsTableData('other', contentSelection).subscribe(
|
this.dataService.getIndicatorsTableData('other', contentSelection).subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.otherAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.otherAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
this.otherPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.otherPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
|
@ -140,66 +140,44 @@ export class ContinentOSORPIndicatorsComponent implements OnInit {
|
||||||
getOtherWithPIDGroupBy(contentSelection: string): void {
|
getOtherWithPIDGroupBy(contentSelection: string): void {
|
||||||
this.otherWithPIDGroupByView = contentSelection;
|
this.otherWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherWithPIDByCountryChartURL) {
|
if (contentSelection === 'country' && !this.otherWithPIDByCountryChartURL) {
|
||||||
this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.otherWithPIDByDatasourceChartURL) {
|
||||||
this.otherWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.otherWithPIDByOrganizationChartURL) {
|
||||||
this.otherWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getOtherWithPIDGroupByMobile(contentSelection: string): void {
|
getOtherWithPIDGroupByMobile(contentSelection: string): void {
|
||||||
this.otherWithPIDGroupByView = contentSelection;
|
this.otherWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherWithPIDByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.otherWithPIDByCountryChartURLMobile) {
|
||||||
this.otherWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.otherWithPIDByDatasourceChartURLMobile) {
|
||||||
this.otherWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.otherWithPIDByOrganizationChartURLMobile) {
|
||||||
this.otherWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithPIDByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getOtherWithLicenceGroupBy(contentSelection: string): void {
|
getOtherWithLicenceGroupBy(contentSelection: string): void {
|
||||||
this.otherWithLicenceGroupByView = contentSelection;
|
this.otherWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherWithLicenceByCountryChartURL) {
|
if (contentSelection === 'country' && !this.otherWithLicenceByCountryChartURL) {
|
||||||
this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.otherWithLicenceByDatasourceChartURL) {
|
||||||
this.otherWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.otherWithLicenceByOrganizationChartURL) {
|
||||||
this.otherWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getOtherWithLicenceGroupByMobile(contentSelection: string): void {
|
getOtherWithLicenceGroupByMobile(contentSelection: string): void {
|
||||||
this.otherWithLicenceGroupByView = contentSelection;
|
this.otherWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherWithLicenceByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.otherWithLicenceByCountryChartURLMobile) {
|
||||||
this.otherWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.otherWithLicenceByDatasourceChartURLMobile) {
|
||||||
this.otherWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.otherWithLicenceByOrganizationChartURLMobile) {
|
||||||
this.otherWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
this.otherWithLicenceByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherWithCCLicenceGroupBy(contentSelection: string): void {
|
|
||||||
this.otherWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherWithCCLicenceByCountryChartURL) {
|
|
||||||
this.otherWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.otherWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.otherWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getOtherWithCCLicenceGroupByMobile(contentSelection: string): void {
|
|
||||||
this.otherWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.otherWithCCLicenceByCountryChartURLMobile) {
|
|
||||||
this.otherWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.otherWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.otherWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.otherWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.otherWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"other"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access ORPs with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ const continentOpenScienceORPRoutes: Routes = [
|
||||||
children : [
|
children : [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'licence',
|
redirectTo: 'pid',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Other research products (ORPs)</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
<ul uk-tab class="uk-tab-large">
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
||||||
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,15 @@
|
||||||
<div *ngIf="indicator && indicator=='gold-green'" class="goldGreenIndicator">
|
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
<iframe *ngIf="publicationsWithGoldGreenTimeline" width="100%" height="550" [src]="publicationsWithGoldGreenTimeline"></iframe>
|
<iframe *ngIf="publicationsWithPIDTimeline" width="100%" height="550" [src]="publicationsWithPIDTimeline"></iframe>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
@ -19,7 +17,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectGoldGreenGroupBy (change)="getPublicationsWithGoldGreenGroupByMobile(selectGoldGreenGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectPIDGroupBy (change)="getPublicationsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -27,44 +25,45 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe *ngIf="publicationsWithGoldGreenGroupByView==='country' && publicationsWithGoldGreenByCountryChartURLMobile"
|
<iframe *ngIf="publicationsWithPIDGroupByView==='country' && publicationsWithPIDByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithGoldGreenByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="publicationsWithPIDByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithGoldGreenGroupByView==='datasource' && publicationsWithGoldGreenByDatasourceChartURL"
|
<iframe *ngIf="publicationsWithPIDGroupByView==='datasource' && publicationsWithPIDByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithGoldGreenByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="publicationsWithPIDByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithGoldGreenGroupByView==='organization' && publicationsWithGoldGreenByOrganizationChartURL"
|
<iframe *ngIf="publicationsWithPIDGroupByView==='organization' && publicationsWithPIDByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithGoldGreenByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="publicationsWithPIDByOrganizationChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithGoldGreenGroupByView==='funder' && publicationsWithGoldGreenByFunderChartURL"
|
<app-treemap-highchart *ngIf="publicationsWithPIDGroupByView==='funder' && publicationsWithPIDByFunderData"
|
||||||
width="100%" height="550" [src]="publicationsWithGoldGreenByFunderChartURL"></iframe>
|
[chartTitle]="'OA Publications with PID by funder'"
|
||||||
|
[chartData]="publicationsWithPIDByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-gold-green', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-pid', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getPublicationsWithGoldGreenGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getPublicationsWithPIDGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getPublicationsWithGoldGreenGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getPublicationsWithPIDGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getPublicationsWithGoldGreenGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getPublicationsWithPIDGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getPublicationsWithGoldGreenGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getPublicationsWithPIDGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-gold-green" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications-pid" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="publicationsWithGoldGreenByCountryChartURL"
|
<iframe *ngIf="publicationsWithPIDByCountryChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithGoldGreenByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithPIDByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithGoldGreenByDatasourceChartURL"
|
<iframe *ngIf="publicationsWithPIDByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithGoldGreenByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithPIDByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithGoldGreenByOrganizationChartURL"
|
<iframe *ngIf="publicationsWithPIDByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithGoldGreenByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithPIDByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithGoldGreenByFunderChartURL"
|
<app-treemap-highchart *ngIf="publicationsWithPIDByFunderData"
|
||||||
width="100%" height="650" [src]="publicationsWithGoldGreenByFunderChartURL" [height]="650"></iframe>
|
[chartTitle]="'OA Publications with PID by funder'"
|
||||||
|
[chartData]="publicationsWithPIDByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -72,91 +71,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='abstract'" class="abstractIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="publicationsWithAbstractTimeline" width="100%" height="550" [src]="publicationsWithAbstractTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectAbstractGroupBy (change)="getPublicationsWithAbstractGroupByMobile(selectAbstractGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="publicationsWithAbstractGroupByView==='country' && publicationsWithAbstractByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="publicationsWithAbstractByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="publicationsWithAbstractGroupByView==='datasource' && publicationsWithAbstractByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsWithAbstractByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="publicationsWithAbstractGroupByView==='organization' && publicationsWithAbstractByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="publicationsWithAbstractByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="publicationsWithAbstractGroupByView==='funder' && publicationsWithAbstractByFunderData"
|
|
||||||
[chartTitle]="'Open Access publications with abstract'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsWithAbstractByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-abstract', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getPublicationsWithAbstractGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getPublicationsWithAbstractGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getPublicationsWithAbstractGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getPublicationsWithAbstractGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-abstract" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="publicationsWithAbstractByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsWithAbstractByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsWithAbstractByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsWithAbstractByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="publicationsWithAbstractByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="publicationsWithAbstractByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="publicationsWithAbstractByFunderData"
|
|
||||||
[chartTitle]="'Open Access publications with abstract'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="publicationsWithAbstractByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -166,14 +86,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="publicationsWithCCLicenceTimeline" width="100%" height="550" [src]="publicationsWithCCLicenceTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -182,7 +94,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectLicenceGroupBy (change)="getPublicationsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectLicenceGroupBy (change)="getPublicationsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -192,19 +104,19 @@
|
||||||
|
|
||||||
<iframe *ngIf="publicationsWithLicenceGroupByView==='country' && publicationsWithLicenceByCountryChartURLMobile"
|
<iframe *ngIf="publicationsWithLicenceGroupByView==='country' && publicationsWithLicenceByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithLicenceByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="publicationsWithLicenceByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithLicenceGroupByView==='datasource' && publicationsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="publicationsWithLicenceGroupByView==='datasource' && publicationsWithLicenceByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="publicationsWithLicenceByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithLicenceGroupByView==='organization' && publicationsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="publicationsWithLicenceGroupByView==='organization' && publicationsWithLicenceByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="publicationsWithLicenceByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="publicationsWithLicenceGroupByView==='funder' && publicationsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="publicationsWithLicenceGroupByView==='funder' && publicationsWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access publications with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Publications with licence by funder'"
|
||||||
[chartData]="publicationsWithLicenceByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
[chartData]="publicationsWithLicenceByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-licence', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getPublicationsWithLicenceGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getPublicationsWithLicenceGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getPublicationsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getPublicationsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
||||||
|
@ -215,20 +127,20 @@
|
||||||
<ul id="switcher-content-a-fade-publications-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications-licence" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="publicationsWithLicenceByCountryChartURL"
|
<iframe *ngIf="publicationsWithLicenceByCountryChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithLicenceByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithLicenceByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="publicationsWithLicenceByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithLicenceByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="publicationsWithLicenceByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsWithLicenceByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="publicationsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="publicationsWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access publications with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Publications with licence by funder'"
|
||||||
[chartData]="publicationsWithLicenceByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
[chartData]="publicationsWithLicenceByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -237,6 +149,21 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div *ngIf="indicator && indicator=='gold-green'">
|
||||||
|
<div class="goldIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="goldPublicationsTimeline" width="100%" height="550" [src]="goldPublicationsTimeline"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -245,7 +172,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getPublicationsWithCCLicenceGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectGoldGroupBy (change)="getGoldPublicationsGroupByMobile(selectGoldGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -253,45 +180,45 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe *ngIf="publicationsWithCCLicenceGroupByView==='country' && publicationsWithCCLicenceByCountryChartURLMobile"
|
<iframe *ngIf="goldPublicationsGroupByView==='country' && goldPublicationsByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithCCLicenceByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="goldPublicationsByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithCCLicenceGroupByView==='datasource' && publicationsWithCCLicenceByDatasourceChartURL"
|
<iframe *ngIf="goldPublicationsGroupByView==='datasource' && goldPublicationsByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithCCLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="goldPublicationsByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithCCLicenceGroupByView==='organization' && publicationsWithCCLicenceByOrganizationChartURL"
|
<iframe *ngIf="goldPublicationsGroupByView==='organization' && goldPublicationsByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithCCLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="goldPublicationsByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="publicationsWithCCLicenceGroupByView==='funder' && publicationsWithCCLicenceByFunderData"
|
<app-treemap-highchart *ngIf="goldPublicationsGroupByView==='funder' && goldPublicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'Gold OA publications by funder'"
|
||||||
[chartData]="publicationsWithCCLicenceByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
[chartData]="goldPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-cc-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-gold', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getPublicationsWithCCLicenceGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getGoldPublicationsGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getPublicationsWithCCLicenceGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getGoldPublicationsGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getPublicationsWithCCLicenceGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getGoldPublicationsGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getPublicationsWithCCLicenceGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getGoldPublicationsGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-cc-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications-gold" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="publicationsWithCCLicenceByCountryChartURL"
|
<iframe *ngIf="goldPublicationsByCountryChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithCCLicenceByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="goldPublicationsByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithCCLicenceByDatasourceChartURL"
|
<iframe *ngIf="goldPublicationsByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithCCLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="goldPublicationsByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithCCLicenceByOrganizationChartURL"
|
<iframe *ngIf="goldPublicationsByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithCCLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="goldPublicationsByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="publicationsWithCCLicenceByFunderData"
|
<app-treemap-highchart *ngIf="goldPublicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'Gold OA publications by funder'"
|
||||||
[chartData]="publicationsWithCCLicenceByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
[chartData]="goldPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -301,22 +228,19 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="greenIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
<div class="uk-grid-margin">
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
<iframe *ngIf="publicationsWithPIDTimeline" width="100%" height="550" [src]="publicationsWithPIDTimeline"></iframe>
|
<iframe *ngIf="greenPublicationsTimeline" width="100%" height="550" [src]="greenPublicationsTimeline"></iframe>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
@ -324,7 +248,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectPIDGroupBy (change)="getPublicationsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectGreenGroupBy (change)="getGreenPublicationsGroupByMobile(selectGreenGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -332,45 +256,45 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe *ngIf="publicationsWithPIDGroupByView==='country' && publicationsWithPIDByCountryChartURLMobile"
|
<iframe *ngIf="greenPublicationsGroupByView==='country' && greenPublicationsByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithPIDByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="greenPublicationsByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithPIDGroupByView==='datasource' && publicationsWithPIDByDatasourceChartURL"
|
<iframe *ngIf="greenPublicationsGroupByView==='datasource' && greenPublicationsByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithPIDByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="greenPublicationsByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="publicationsWithPIDGroupByView==='organization' && publicationsWithPIDByOrganizationChartURL"
|
<iframe *ngIf="greenPublicationsGroupByView==='organization' && greenPublicationsByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsWithPIDByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="greenPublicationsByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="publicationsWithPIDGroupByView==='funder' && publicationsWithPIDByFunderData"
|
<app-treemap-highchart *ngIf="greenPublicationsGroupByView==='funder' && greenPublicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications with PID'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'Green OA publications by funder'"
|
||||||
[chartData]="publicationsWithPIDByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
[chartData]="greenPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-pid', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications-green', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getPublicationsWithPIDGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getGreenPublicationsGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getPublicationsWithPIDGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getGreenPublicationsGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getPublicationsWithPIDGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getGreenPublicationsGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getPublicationsWithPIDGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getGreenPublicationsGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-publications-pid" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications-green" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="publicationsWithPIDByCountryChartURL"
|
<iframe *ngIf="greenPublicationsByCountryChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithPIDByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="greenPublicationsByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithPIDByDatasourceChartURL"
|
<iframe *ngIf="greenPublicationsByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithPIDByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="greenPublicationsByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsWithPIDByOrganizationChartURL"
|
<iframe *ngIf="greenPublicationsByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="publicationsWithPIDByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="greenPublicationsByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="publicationsWithPIDByFunderData"
|
<app-treemap-highchart *ngIf="greenPublicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications with PID'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'Green OA publications by funder'"
|
||||||
[chartData]="publicationsWithPIDByFunderData" [color]="publicationColor" [height]="650"></app-treemap-highchart>
|
[chartData]="greenPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -378,29 +302,41 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="greenVsGoldIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="greenVsGoldPublicationsChartURL" width="100%" height="550" [src]="greenVsGoldPublicationsChartURL"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
||||||
|
|
||||||
<!--<h3 class="">More details for publications</h3>-->
|
<h3 class="">More details for publications</h3>
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
<div class="uk-margin-top uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show: </label>
|
<label class="uk-margin-right">Show: </label>
|
||||||
<select class="md-input" #selectPublicationsContent (change)="getContent('publication', selectPublicationsContent.value)" style="display: inline-block">
|
<select class="md-input" #selectPublicationsContent (change)="getContent('publication', selectPublicationsContent.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="affiliated_peer_reviewed">affiliated</option>
|
<option value="affiliated">affiliated</option>
|
||||||
<option value="affiliated">affiliated (incl. non-peer reviewed publications)</option>
|
<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>
|
||||||
<option value="deposited_peer_reviewed">deposited</option>
|
<option value="deposited">deposited</option>
|
||||||
<option value="deposited">deposited (incl. non-peer reviewed publications)</option>
|
<option value="deposited_peer_reviewed">deposited peer reviewed</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<span class="md-input-bar"></span>-->
|
<!--<span class="md-input-bar"></span>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid">
|
<div class="uk-grid uk-child-width-1-2@l uk-child-width-1-2@m">
|
||||||
<div class="absoluteTable uk-width-3-4@l uk-width-3-4@m">
|
<div class="absoluteTable">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
||||||
import {
|
import {
|
||||||
gradientStartColor,
|
gradientStartColor,
|
||||||
publicationColor,
|
publicationColor,
|
||||||
publicationPalette, publicationIndicatorsPalette, goldGreenIndicatorsPalette
|
publicationPalette,
|
||||||
} from '../../../../chart-palettes';
|
} from '../../../../chart-palettes';
|
||||||
import {environment} from '../../../../../environments/environment';
|
import {environment} from '../../../../../environments/environment';
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
import {CountryTableData} from '../../../../domain/overview-map-data';
|
||||||
|
@ -25,58 +25,58 @@ export class ContinentOSPublicationsIndicatorsComponent implements OnInit {
|
||||||
indicator: string;
|
indicator: string;
|
||||||
|
|
||||||
private publicationPalette = publicationPalette;
|
private publicationPalette = publicationPalette;
|
||||||
private publicationIndicatorsPalette = publicationIndicatorsPalette;
|
|
||||||
private goldGreenIndicatorsPalette = goldGreenIndicatorsPalette;
|
|
||||||
|
|
||||||
publicationColor = publicationColor;
|
publicationColor = publicationColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
|
||||||
|
|
||||||
publicationsWithPIDTimeline: SafeResourceUrl;
|
publicationsWithPIDTimeline: SafeResourceUrl;
|
||||||
publicationsWithLicenceTimeline: SafeResourceUrl;
|
publicationsWithLicenceTimeline: SafeResourceUrl;
|
||||||
publicationsWithCCLicenceTimeline: SafeResourceUrl;
|
goldPublicationsTimeline: SafeResourceUrl;
|
||||||
publicationsWithGoldGreenTimeline: SafeResourceUrl;
|
greenPublicationsTimeline: SafeResourceUrl;
|
||||||
publicationsWithAbstractTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsWithPIDGroupByView = 'country';
|
publicationsWithPIDGroupByView = 'country';
|
||||||
publicationsWithPIDByCountryChartURL: SafeResourceUrl;
|
publicationsWithPIDByCountryChartURL: SafeResourceUrl;
|
||||||
publicationsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
publicationsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
||||||
publicationsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
publicationsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
||||||
publicationsWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
publicationsWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
publicationsWithPIDByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
publicationsWithPIDByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
publicationsWithLicenceGroupByView = 'country';
|
publicationsWithLicenceGroupByView = 'country';
|
||||||
publicationsWithLicenceByCountryChartURL: SafeResourceUrl;
|
publicationsWithLicenceByCountryChartURL: SafeResourceUrl;
|
||||||
publicationsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
publicationsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
||||||
publicationsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
publicationsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
||||||
publicationsWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
publicationsWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
publicationsWithLicenceByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
publicationsWithLicenceByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
publicationsWithCCLicenceGroupByView = 'country';
|
goldPublicationsGroupByView = 'country';
|
||||||
publicationsWithCCLicenceByCountryChartURL: SafeResourceUrl;
|
goldPublicationsByCountryChartURL: SafeResourceUrl;
|
||||||
publicationsWithCCLicenceByDatasourceChartURL: SafeResourceUrl;
|
goldPublicationsByDatasourceChartURL: SafeResourceUrl;
|
||||||
publicationsWithCCLicenceByOrganizationChartURL: SafeResourceUrl;
|
goldPublicationsByOrganizationChartURL: SafeResourceUrl;
|
||||||
publicationsWithCCLicenceByCountryChartURLMobile: SafeResourceUrl;
|
goldPublicationsByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
goldPublicationsByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
goldPublicationsByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
publicationsWithGoldGreenGroupByView = 'country';
|
greenPublicationsGroupByView = 'country';
|
||||||
publicationsWithGoldGreenByCountryChartURL: SafeResourceUrl;
|
greenPublicationsByCountryChartURL: SafeResourceUrl;
|
||||||
publicationsWithGoldGreenByDatasourceChartURL: SafeResourceUrl;
|
greenPublicationsByDatasourceChartURL: SafeResourceUrl;
|
||||||
publicationsWithGoldGreenByOrganizationChartURL: SafeResourceUrl;
|
greenPublicationsByOrganizationChartURL: SafeResourceUrl;
|
||||||
publicationsWithGoldGreenByFunderChartURL: SafeResourceUrl;
|
greenPublicationsByCountryChartURLMobile: SafeResourceUrl;
|
||||||
publicationsWithGoldGreenByCountryChartURLMobile: SafeResourceUrl;
|
greenPublicationsByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
greenPublicationsByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
publicationsWithAbstractGroupByView = 'country';
|
|
||||||
publicationsWithAbstractByCountryChartURL: SafeResourceUrl;
|
|
||||||
publicationsWithAbstractByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
publicationsWithAbstractByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
publicationsWithAbstractByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
publicationsWithPIDByFunderData: TreemapHighchartsData[];
|
publicationsWithPIDByFunderData: TreemapHighchartsData[];
|
||||||
publicationsWithLicenceByFunderData: TreemapHighchartsData[];
|
publicationsWithLicenceByFunderData: TreemapHighchartsData[];
|
||||||
publicationsWithCCLicenceByFunderData: TreemapHighchartsData[];
|
goldPublicationsByFunderData: TreemapHighchartsData[];
|
||||||
publicationsWithAbstractByFunderData: TreemapHighchartsData[];
|
greenPublicationsByFunderData: TreemapHighchartsData[];
|
||||||
|
|
||||||
|
greenVsGoldPublicationsChartURL: SafeResourceUrl;
|
||||||
|
|
||||||
loadingPublicationsAbsoluteTable: boolean = true;
|
loadingPublicationsAbsoluteTable: boolean = true;
|
||||||
loadingPublicationsPercentageTable: boolean = true;
|
loadingPublicationsPercentageTable: boolean = true;
|
||||||
publicationsTableContentSelection: string = 'affiliated_peer_reviewed';
|
publicationsTableContentSelection: string = 'affiliated';
|
||||||
publicationsAbsoluteTableData: CountryTableData[];
|
publicationsAbsoluteTableData: CountryTableData[];
|
||||||
publicationsPercentageTableData: CountryTableData[];
|
publicationsPercentageTableData: CountryTableData[];
|
||||||
|
|
||||||
|
@ -92,28 +92,57 @@ export class ContinentOSPublicationsIndicatorsComponent implements OnInit {
|
||||||
this.indicator = params['indicator'];
|
this.indicator = params['indicator'];
|
||||||
});
|
});
|
||||||
|
|
||||||
this.publicationsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.publications.pid_timeline.peer_reviewed.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.publications.pid_timeline.peer_reviewed.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
// this.publicationsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
this.publicationsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.publications.licence_timeline.peer_reviewed.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.publications.licence_timeline.peer_reviewed.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.publicationsWithCCLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence_timeline.peer_reviewed.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence_timeline.peer_reviewed.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
// this.publicationsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
this.publicationsWithGoldGreenTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"column","query":{"name":"new.oso.publications.green_gold_timeline.peer_reviewed.affiliated","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"column","query":{"name":"new.oso.publications.green_gold_timeline.peer_reviewed.affiliated","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"column","query":{"name":"new.oso.publications.green_gold_timeline.peer_reviewed.affiliated","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"column","query":{"name":"new.oso.publications.green_gold_timeline.peer_reviewed.affiliated","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.publicationsWithAbstractTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"column","query":{"name":"new.oso.publications.abstract_timeline.peer_reviewed.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"column","query":{"name":"new.oso.publications.abstract_timeline.peer_reviewed.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
// this.goldPublicationsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.gold_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold OA Publications","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
this.goldPublicationsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.gold_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold OA Publications","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// this.greenPublicationsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.green_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green OA Publications","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
this.greenPublicationsTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.green_timeline.affiliated","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green OA Publications","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.goldPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.goldPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.greenPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.greenPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.publicationsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.publicationsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.goldPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.goldPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.greenPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.greenPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
//
|
||||||
|
// // this.publicationsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.publicationsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.goldPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.goldPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.greenPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.greenPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.publicationsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.publicationsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.goldPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.goldPublicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.greenPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.greenPublicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
|
||||||
this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
// this.greenVsGoldPublicationsChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.greenvsgold","parameters":["publication","publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green vs Gold","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
this.publicationsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.greenVsGoldPublicationsChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.greenvsgold","parameters":["publication","publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green vs Gold","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsWithGoldGreenByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsWithGoldGreenByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.publicationsWithAbstractByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"column","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"column","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.publicationsWithAbstractByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForPID('publication').subscribe(
|
this.dataService.getFundersResultsByTypeForPID('publication').subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
|
@ -131,17 +160,17 @@ export class ContinentOSPublicationsIndicatorsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCCLicence('publication').subscribe(
|
this.dataService.getFundersResultsByTypeForGold('publication').subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.publicationsWithCCLicenceByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
this.goldPublicationsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
||||||
}, error => {
|
}, error => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForAbstract().subscribe(
|
this.dataService.getFundersResultsByTypeForGreen('publication').subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.publicationsWithAbstractByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
this.greenPublicationsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
||||||
}, error => {
|
}, error => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
@ -154,7 +183,7 @@ export class ContinentOSPublicationsIndicatorsComponent implements OnInit {
|
||||||
|
|
||||||
this.loadingPublicationsAbsoluteTable = true;
|
this.loadingPublicationsAbsoluteTable = true;
|
||||||
this.loadingPublicationsPercentageTable = true;
|
this.loadingPublicationsPercentageTable = true;
|
||||||
this.dataService.getOpenScienceIndicatorsTableData('publication', contentSelection).subscribe(
|
this.dataService.getIndicatorsTableData('publication', contentSelection).subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.publicationsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.publicationsAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
this.publicationsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.publicationsPercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
|
@ -176,115 +205,88 @@ export class ContinentOSPublicationsIndicatorsComponent implements OnInit {
|
||||||
getPublicationsWithPIDGroupBy(contentSelection: string): void {
|
getPublicationsWithPIDGroupBy(contentSelection: string): void {
|
||||||
this.publicationsWithPIDGroupByView = contentSelection;
|
this.publicationsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithPIDByCountryChartURL) {
|
if (contentSelection === 'country' && !this.publicationsWithPIDByCountryChartURL) {
|
||||||
this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.publicationsWithPIDByDatasourceChartURL) {
|
||||||
this.publicationsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.publicationsWithPIDByOrganizationChartURL) {
|
||||||
this.publicationsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithPIDGroupByMobile(contentSelection: string): void {
|
getPublicationsWithPIDGroupByMobile(contentSelection: string): void {
|
||||||
this.publicationsWithPIDGroupByView = contentSelection;
|
this.publicationsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithPIDByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.publicationsWithPIDByCountryChartURLMobile) {
|
||||||
this.publicationsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.publicationsWithPIDByDatasourceChartURLMobile) {
|
||||||
this.publicationsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.publicationsWithPIDByOrganizationChartURLMobile) {
|
||||||
this.publicationsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.publications.pid.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithPIDByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithLicenceGroupBy(contentSelection: string): void {
|
getPublicationsWithLicenceGroupBy(contentSelection: string): void {
|
||||||
this.publicationsWithLicenceGroupByView = contentSelection;
|
this.publicationsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithLicenceByCountryChartURL) {
|
if (contentSelection === 'country' && !this.publicationsWithLicenceByCountryChartURL) {
|
||||||
this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.publicationsWithLicenceByDatasourceChartURL) {
|
||||||
this.publicationsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.publicationsWithLicenceByOrganizationChartURL) {
|
||||||
this.publicationsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithLicenceGroupByMobile(contentSelection: string): void {
|
getPublicationsWithLicenceGroupByMobile(contentSelection: string): void {
|
||||||
this.publicationsWithLicenceGroupByView = contentSelection;
|
this.publicationsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithLicenceByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.publicationsWithLicenceByCountryChartURLMobile) {
|
||||||
this.publicationsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.publicationsWithLicenceByDatasourceChartURLMobile) {
|
||||||
this.publicationsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.publicationsWithLicenceByOrganizationChartURLMobile) {
|
||||||
this.publicationsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.publications.licence.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsWithLicenceByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithCCLicenceGroupBy(contentSelection: string): void {
|
getGoldPublicationsGroupBy(contentSelection: string): void {
|
||||||
this.publicationsWithCCLicenceGroupByView = contentSelection;
|
this.goldPublicationsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithCCLicenceByCountryChartURL) {
|
if (contentSelection === 'country' && !this.goldPublicationsByCountryChartURL) {
|
||||||
this.publicationsWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithCCLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.goldPublicationsByDatasourceChartURL) {
|
||||||
this.publicationsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithCCLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.goldPublicationsByOrganizationChartURL) {
|
||||||
this.publicationsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithCCLicenceGroupByMobile(contentSelection: string): void {
|
getGoldPublicationsGroupByMobile(contentSelection: string): void {
|
||||||
this.publicationsWithCCLicenceGroupByView = contentSelection;
|
this.goldPublicationsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithCCLicenceByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.goldPublicationsByCountryChartURLMobile) {
|
||||||
this.publicationsWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.gold.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithCCLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.goldPublicationsByDatasourceChartURLMobile) {
|
||||||
this.publicationsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithCCLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.goldPublicationsByOrganizationChartURLMobile) {
|
||||||
this.publicationsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.publications.cc_licence.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.goldPublicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.gold.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithGoldGreenGroupBy(contentSelection: string): void {
|
getGreenPublicationsGroupBy(contentSelection: string): void {
|
||||||
this.publicationsWithGoldGreenGroupByView = contentSelection;
|
this.greenPublicationsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithGoldGreenByCountryChartURL) {
|
if (contentSelection === 'country' && !this.greenPublicationsByCountryChartURL) {
|
||||||
this.publicationsWithGoldGreenByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"column","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry.all","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithGoldGreenByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.greenPublicationsByDatasourceChartURL) {
|
||||||
this.publicationsWithGoldGreenByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithGoldGreenByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.greenPublicationsByOrganizationChartURL) {
|
||||||
this.publicationsWithGoldGreenByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'funder' && !this.publicationsWithGoldGreenByFunderChartURL) {
|
|
||||||
this.publicationsWithGoldGreenByFunderChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by funder (top funders)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithGoldGreenGroupByMobile(contentSelection: string): void {
|
getGreenPublicationsGroupByMobile(contentSelection: string): void {
|
||||||
this.publicationsWithGoldGreenGroupByView = contentSelection;
|
this.greenPublicationsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsWithGoldGreenByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.greenPublicationsByCountryChartURLMobile) {
|
||||||
this.publicationsWithGoldGreenByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bycountry","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.green.affiliated.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithGoldGreenByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.greenPublicationsByDatasourceChartURLMobile) {
|
||||||
this.publicationsWithGoldGreenByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.bydatasource","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithGoldGreenByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.greenPublicationsByOrganizationChartURLMobile) {
|
||||||
this.publicationsWithGoldGreenByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byorganization","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
this.greenPublicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.green.affiliated.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Green Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'funder' && !this.publicationsWithGoldGreenByFunderChartURL) {
|
|
||||||
this.publicationsWithGoldGreenByFunderChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Gold OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[0,1],"profile":"${this.profileName}"}},{"name":"both Gold & Green OA","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[1,1],"profile":"${this.profileName}"}},{"name":"Green OA only","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[1,0],"profile":"${this.profileName}"}},{"name":"neither","type":"bar","query":{"name":"new.oso.publications.green_gold.peer_reviewed.affiliated.byfunder","parameters":[0,0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Gold vs Green Open Access publications","align":"left","margin":50},"subtitle":{"text":"by funder (top funders)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.goldGreenIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsWithAbstractGroupBy(contentSelection: string): void {
|
|
||||||
this.publicationsWithAbstractGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsWithAbstractByCountryChartURL) {
|
|
||||||
this.publicationsWithAbstractByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"column","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry.all","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"column","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry.all","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithAbstractByDatasourceChartURL) {
|
|
||||||
this.publicationsWithAbstractByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithAbstractByOrganizationChartURL) {
|
|
||||||
this.publicationsWithAbstractByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getPublicationsWithAbstractGroupByMobile(contentSelection: string): void {
|
|
||||||
this.publicationsWithAbstractGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.publicationsWithAbstractByCountryChartURLMobile) {
|
|
||||||
this.publicationsWithAbstractByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bycountry","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsWithAbstractByDatasourceChartURL) {
|
|
||||||
this.publicationsWithAbstractByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bydatasource","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.bydatasource","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsWithAbstractByOrganizationChartURL) {
|
|
||||||
this.publicationsWithAbstractByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.byorganization","parameters":[1],"profile":"${this.profileName}"}},{"name":"without abstract","type":"bar","query":{"name":"new.oso.publications.abstract.peer_reviewed.affiliated.byorganization","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications with abstract","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ const continentOpenSciencePublicationsRoutes: Routes = [
|
||||||
children : [
|
children : [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'gold-green',
|
redirectTo: 'pid',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,14 +1,9 @@
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Publications</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
<ul uk-tab class="uk-tab-large">
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./gold-green']">Gold/Green</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./abstract']">Abstract</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
||||||
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
||||||
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./gold-green']">Gold/Green</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,81 @@
|
||||||
|
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="softwareWithPIDTimeline" width="100%" height="550" [src]="softwareWithPIDTimeline"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
<!--MOBILE & PAD PORTRAIT-->
|
||||||
|
<div class="uk-hidden@m">
|
||||||
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
|
<label class="uk-margin-right">Show by: </label>
|
||||||
|
<select class="md-input" #selectPIDGroupBy (change)="getSoftwareWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
|
<option value="country">country</option>
|
||||||
|
<option value="datasource">datasource</option>
|
||||||
|
<option value="organization">organization</option>
|
||||||
|
<option value="funder">funder</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe *ngIf="softwareWithPIDGroupByView==='country' && softwareWithPIDByCountryChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="softwareWithPIDByCountryChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="softwareWithPIDGroupByView==='datasource' && softwareWithPIDByDatasourceChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="softwareWithPIDByDatasourceChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="softwareWithPIDGroupByView==='organization' && softwareWithPIDByOrganizationChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="softwareWithPIDByOrganizationChartURLMobile"></iframe>
|
||||||
|
<app-treemap-highchart *ngIf="softwareWithPIDGroupByView==='funder' && softwareWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OS Software with PID by funder'"
|
||||||
|
[chartData]="softwareWithPIDByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
|
<div class="uk-visible@m">
|
||||||
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
|
<li class="uk-active"><a (click)="getSoftwareWithPIDGroupBy('country')">Country</a></li>
|
||||||
|
<li><a (click)="getSoftwareWithPIDGroupBy('datasource')">Datasource</a></li>
|
||||||
|
<li><a (click)="getSoftwareWithPIDGroupBy('organization')">Organization</a></li>
|
||||||
|
<li><a (click)="getSoftwareWithPIDGroupBy('funder')">Funder</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
|
<iframe *ngIf="softwareWithPIDByCountryChartURL"
|
||||||
|
width="100%" height="350" [src]="softwareWithPIDByCountryChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="softwareWithPIDByDatasourceChartURL"
|
||||||
|
width="100%" height="350" [src]="softwareWithPIDByDatasourceChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="softwareWithPIDByOrganizationChartURL"
|
||||||
|
width="100%" height="350" [src]="softwareWithPIDByOrganizationChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<app-treemap-highchart *ngIf="softwareWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OS Software with PID by funder'"
|
||||||
|
[chartData]="softwareWithPIDByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -9,14 +85,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceTimeline" width="100%" height="550" [src]="softwareWithCCLicenceTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -25,7 +93,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectLicenceGroupBy (change)="getSoftwareWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectLicenceGroupBy (change)="getSoftwareWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -35,106 +103,43 @@
|
||||||
|
|
||||||
<iframe *ngIf="softwareWithLicenceGroupByView==='country' && softwareWithLicenceByCountryChartURLMobile"
|
<iframe *ngIf="softwareWithLicenceGroupByView==='country' && softwareWithLicenceByCountryChartURLMobile"
|
||||||
width="100%" height="550" [src]="softwareWithLicenceByCountryChartURLMobile"></iframe>
|
width="100%" height="550" [src]="softwareWithLicenceByCountryChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="softwareWithLicenceGroupByView==='datasource' && softwareWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="softwareWithLicenceGroupByView==='datasource' && softwareWithLicenceByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="softwareWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="softwareWithLicenceByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="softwareWithLicenceGroupByView==='organization' && softwareWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="softwareWithLicenceGroupByView==='organization' && softwareWithLicenceByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="softwareWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="softwareWithLicenceByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="softwareWithLicenceGroupByView==='funder' && softwareWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="softwareWithLicenceGroupByView==='funder' && softwareWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Source software with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OS Software with licence by funder'"
|
||||||
[chartData]="softwareWithLicenceByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
[chartData]="softwareWithLicenceByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getSoftwareWithLicenceGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getSoftwareWithLicenceGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getSoftwareWithLicenceGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getSoftwareWithLicenceGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getSoftwareWithLicenceGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getSoftwareWithLicenceGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getSoftwareWithLicenceGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getSoftwareWithLicenceGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-software-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="softwareWithLicenceByCountryChartURL"
|
<iframe *ngIf="softwareWithLicenceByCountryChartURL"
|
||||||
width="100%" height="650" [src]="softwareWithLicenceByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="softwareWithLicenceByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="softwareWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="softwareWithLicenceByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="softwareWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="softwareWithLicenceByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="softwareWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="softwareWithLicenceByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="softwareWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="softwareWithLicenceByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="softwareWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="softwareWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Source software with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OS Software with licence by funder'"
|
||||||
[chartData]="softwareWithLicenceByFunderData" [color]="softwareColor" [height]="650"></app-treemap-highchart>
|
[chartData]="softwareWithLicenceByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getSoftwareWithCCLicenceGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceGroupByView==='country' && softwareWithCCLicenceByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="softwareWithCCLicenceByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceGroupByView==='datasource' && softwareWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceGroupByView==='organization' && softwareWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="softwareWithCCLicenceGroupByView==='funder' && softwareWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Source software with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareWithCCLicenceByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getSoftwareWithCCLicenceGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithCCLicenceGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithCCLicenceGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithCCLicenceGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-software-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithCCLicenceByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="softwareWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Source software with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareWithCCLicenceByFunderData" [color]="softwareColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -145,97 +150,17 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="softwareWithPIDTimeline" width="100%" height="550" [src]="softwareWithPIDTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectPIDGroupBy (change)="getSoftwareWithPIDGroupByMobile(selectPIDGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="country">country</option>
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="softwareWithPIDGroupByView==='country' && softwareWithPIDByCountryChartURLMobile"
|
|
||||||
width="100%" height="550" [src]="softwareWithPIDByCountryChartURLMobile"></iframe>
|
|
||||||
<iframe *ngIf="softwareWithPIDGroupByView==='datasource' && softwareWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="softwareWithPIDGroupByView==='organization' && softwareWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="softwareWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="softwareWithPIDGroupByView==='funder' && softwareWithPIDByFunderData"
|
|
||||||
[chartTitle]="'OS Software with PID by funder (top funders)'"
|
|
||||||
[chartData]="softwareWithPIDByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software-pid', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getSoftwareWithPIDGroupBy('country')">Country</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithPIDGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithPIDGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getSoftwareWithPIDGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-software-pid" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
|
||||||
<iframe *ngIf="softwareWithPIDByCountryChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithPIDByCountryChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="softwareWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="softwareWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="softwareWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Source software with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="softwareWithPIDByFunderData" [color]="softwareColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
<div *ngIf="indicator && indicator=='more-details'" class="indicatorsTable uk-visible@m uk-margin-large-top">
|
||||||
|
|
||||||
<!--<h3 class="">More details for software</h3>-->
|
<h3 class="">More details for software</h3>
|
||||||
|
|
||||||
<div class="uk-margin-top uk-margin-bottom">
|
<div class="uk-margin-top uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show: </label>
|
<label class="uk-margin-right">Show: </label>
|
||||||
<select class="md-input" #selectSoftwareContent (change)="getContent('software', selectSoftwareContent.value)" style="display: inline-block">
|
<select class="md-input" #selectSoftwareContent (change)="getContent('software', selectSoftwareContent.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="affiliated">affiliated</option>
|
<option value="affiliated">affiliated</option>
|
||||||
<!--<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>-->
|
<option value="affiliated_peer_reviewed">affiliated peer reviewed</option>
|
||||||
<option value="deposited">deposited</option>
|
<option value="deposited">deposited</option>
|
||||||
<!--<option value="deposited_peer_reviewed">deposited peer reviewed</option>-->
|
<option value="deposited_peer_reviewed">deposited peer reviewed</option>
|
||||||
</select>
|
</select>
|
||||||
<!--<span class="md-input-bar"></span>-->
|
<!--<span class="md-input-bar"></span>-->
|
||||||
</div>
|
</div>
|
||||||
|
@ -260,11 +185,11 @@
|
||||||
|
|
||||||
<ul id="software-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
<ul id="software-indicators-content-a-fade" class="uk-switcher uk-margin" >
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<div *ngIf="loadingSoftwareAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsAbsoluteTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="softwareAbsoluteTableData" [isPercentage]="false" [countries]="softwareAbsoluteTableData" [view]="'openScience'" [entity]="'software'"></app-countries-table>
|
<app-countries-table *ngIf="softwareAbsoluteTableData" [isPercentage]="false" [countries]="softwareAbsoluteTableData" [view]="'openScience'" [entity]="'software'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<div *ngIf="loadingSoftwarePercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
<div *ngIf="loadingPublicationsPercentageTable" class="whiteFilm"><i class="fa fa-spinner fa-spin fa-2x loader" aria-hidden="true"></i></div>
|
||||||
<app-countries-table *ngIf="softwarePercentageTableData" [isPercentage]="true" [countries]="softwarePercentageTableData" [view]="'openScience'" [entity]="'software'"></app-countries-table>
|
<app-countries-table *ngIf="softwarePercentageTableData" [isPercentage]="true" [countries]="softwarePercentageTableData" [view]="'openScience'" [entity]="'software'"></app-countries-table>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
import {
|
import {
|
||||||
gradientStartColor, softwareColor, softwarePalette, softwareIndicatorsPalette
|
gradientStartColor, softwareColor, softwarePalette
|
||||||
} from '../../../../chart-palettes';
|
} from '../../../../chart-palettes';
|
||||||
import {environment} from '../../../../../environments/environment';
|
import {environment} from '../../../../../environments/environment';
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
import {CountryTableData} from '../../../../domain/overview-map-data';
|
||||||
|
@ -23,36 +23,31 @@ export class ContinentOSSoftwareIndicatorsComponent implements OnInit {
|
||||||
indicator: string;
|
indicator: string;
|
||||||
|
|
||||||
private softwarePalette = softwarePalette;
|
private softwarePalette = softwarePalette;
|
||||||
private softwareIndicatorsPalette = softwareIndicatorsPalette;
|
|
||||||
|
|
||||||
softwareColor = softwareColor;
|
softwareColor = softwareColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
|
||||||
softwareWithPIDTimeline: SafeResourceUrl;
|
softwareWithPIDTimeline: SafeResourceUrl;
|
||||||
softwareWithLicenceTimeline: SafeResourceUrl;
|
softwareWithLicenceTimeline: SafeResourceUrl;
|
||||||
softwareWithCCLicenceTimeline: SafeResourceUrl;
|
|
||||||
|
|
||||||
softwareWithPIDGroupByView = 'country';
|
softwareWithPIDGroupByView = 'country';
|
||||||
softwareWithPIDByCountryChartURL: SafeResourceUrl;
|
softwareWithPIDByCountryChartURL: SafeResourceUrl;
|
||||||
softwareWithPIDByDatasourceChartURL: SafeResourceUrl;
|
softwareWithPIDByDatasourceChartURL: SafeResourceUrl;
|
||||||
softwareWithPIDByOrganizationChartURL: SafeResourceUrl;
|
softwareWithPIDByOrganizationChartURL: SafeResourceUrl;
|
||||||
softwareWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
softwareWithPIDByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
softwareWithPIDByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
softwareWithPIDByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
softwareWithLicenceGroupByView = 'country';
|
softwareWithLicenceGroupByView = 'country';
|
||||||
softwareWithLicenceByCountryChartURL: SafeResourceUrl;
|
softwareWithLicenceByCountryChartURL: SafeResourceUrl;
|
||||||
softwareWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
softwareWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
||||||
softwareWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
softwareWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
||||||
softwareWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
softwareWithLicenceByCountryChartURLMobile: SafeResourceUrl;
|
||||||
|
softwareWithLicenceByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
softwareWithCCLicenceGroupByView = 'country';
|
softwareWithLicenceByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
softwareWithCCLicenceByCountryChartURL: SafeResourceUrl;
|
|
||||||
softwareWithCCLicenceByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
softwareWithCCLicenceByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
softwareWithCCLicenceByCountryChartURLMobile: SafeResourceUrl;
|
|
||||||
|
|
||||||
softwareWithPIDByFunderData: TreemapHighchartsData[];
|
softwareWithPIDByFunderData: TreemapHighchartsData[];
|
||||||
softwareWithLicenceByFunderData: TreemapHighchartsData[];
|
softwareWithLicenceByFunderData: TreemapHighchartsData[];
|
||||||
softwareWithCCLicenceByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
loadingSoftwareAbsoluteTable: boolean = true;
|
loadingSoftwareAbsoluteTable: boolean = true;
|
||||||
loadingSoftwarePercentageTable: boolean = true;
|
loadingSoftwarePercentageTable: boolean = true;
|
||||||
|
@ -72,18 +67,31 @@ export class ContinentOSSoftwareIndicatorsComponent implements OnInit {
|
||||||
this.indicator = params['indicator'];
|
this.indicator = params['indicator'];
|
||||||
});
|
});
|
||||||
|
|
||||||
this.softwareWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// this.softwareWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
this.softwareWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.softwareWithCCLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// this.softwareWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
this.softwareWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// // this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
this.softwareWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// // this.softwareWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
this.softwareWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
// this.softwareWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.softwareWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
//
|
||||||
|
// // this.softwareWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.softwareWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.softwareWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.softwareWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.softwareWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForPID('software').subscribe(
|
this.dataService.getFundersResultsByTypeForPID('software').subscribe(
|
||||||
|
@ -102,21 +110,13 @@ export class ContinentOSSoftwareIndicatorsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForCCLicence('software').subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.softwareWithCCLicenceByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
this.getSoftwareTableData(this.softwareTableContentSelection);
|
this.getSoftwareTableData(this.softwareTableContentSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareTableData(contentSelection: string) {
|
getSoftwareTableData(contentSelection: string) {
|
||||||
this.loadingSoftwareAbsoluteTable = true;
|
this.loadingSoftwareAbsoluteTable = true;
|
||||||
this.loadingSoftwarePercentageTable = true;
|
this.loadingSoftwarePercentageTable = true;
|
||||||
this.dataService.getOpenScienceIndicatorsTableData('software', contentSelection).subscribe(
|
this.dataService.getIndicatorsTableData('software', contentSelection).subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.softwareAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.softwareAbsoluteTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
this.softwarePercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
this.softwarePercentageTableData = this.dataHandlerService.convertRawDataToIndicatorsTableData(rawData);
|
||||||
|
@ -139,66 +139,44 @@ export class ContinentOSSoftwareIndicatorsComponent implements OnInit {
|
||||||
getSoftwareWithPIDGroupBy(contentSelection: string): void {
|
getSoftwareWithPIDGroupBy(contentSelection: string): void {
|
||||||
this.softwareWithPIDGroupByView = contentSelection;
|
this.softwareWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareWithPIDByCountryChartURL) {
|
if (contentSelection === 'country' && !this.softwareWithPIDByCountryChartURL) {
|
||||||
this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.softwareWithPIDByDatasourceChartURL) {
|
||||||
this.softwareWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.softwareWithPIDByOrganizationChartURL) {
|
||||||
this.softwareWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareWithPIDGroupByMobile(contentSelection: string): void {
|
getSoftwareWithPIDGroupByMobile(contentSelection: string): void {
|
||||||
this.softwareWithPIDGroupByView = contentSelection;
|
this.softwareWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareWithPIDByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.softwareWithPIDByCountryChartURLMobile) {
|
||||||
this.softwareWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.pid.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithPIDByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.softwareWithPIDByDatasourceChartURLMobile) {
|
||||||
this.softwareWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.softwareWithPIDByOrganizationChartURLMobile) {
|
||||||
this.softwareWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithPIDByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareWithLicenceGroupBy(contentSelection: string): void {
|
getSoftwareWithLicenceGroupBy(contentSelection: string): void {
|
||||||
this.softwareWithLicenceGroupByView = contentSelection;
|
this.softwareWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareWithLicenceByCountryChartURL) {
|
if (contentSelection === 'country' && !this.softwareWithLicenceByCountryChartURL) {
|
||||||
this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.softwareWithLicenceByDatasourceChartURL) {
|
||||||
this.softwareWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.softwareWithLicenceByOrganizationChartURL) {
|
||||||
this.softwareWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareWithLicenceGroupByMobile(contentSelection: string): void {
|
getSoftwareWithLicenceGroupByMobile(contentSelection: string): void {
|
||||||
this.softwareWithLicenceGroupByView = contentSelection;
|
this.softwareWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareWithLicenceByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.softwareWithLicenceByCountryChartURLMobile) {
|
||||||
this.softwareWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.licence.affiliated.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithLicenceByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.softwareWithLicenceByDatasourceChartURLMobile) {
|
||||||
this.softwareWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.softwareWithLicenceByOrganizationChartURLMobile) {
|
||||||
this.softwareWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
this.softwareWithLicenceByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OS Software with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareWithCCLicenceGroupBy(contentSelection: string): void {
|
|
||||||
this.softwareWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareWithCCLicenceByCountryChartURL) {
|
|
||||||
this.softwareWithCCLicenceByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry.all","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.softwareWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.softwareWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getSoftwareWithCCLicenceGroupByMobile(contentSelection: string): void {
|
|
||||||
this.softwareWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'country' && !this.softwareWithCCLicenceByCountryChartURLMobile) {
|
|
||||||
this.softwareWithCCLicenceByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bycountry","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.softwareWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.softwareWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.softwareWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[1,"software"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization","parameters":[0,"software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwareIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ const continentOpenScienceSoftwareRoutes: Routes = [
|
||||||
children : [
|
children : [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'licence',
|
redirectTo: 'pid',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Software</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
<ul uk-tab class="uk-tab-large">
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./pid']">PID</a></li>
|
||||||
|
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./licence']">Licence</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
<li [routerLinkActive]="['uk-active']" class="uk-visible@m"><a [routerLink]="['./more-details']">More Details</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,6 @@
|
||||||
<div class="uk-margin tabContent">
|
<div class="uk-margin tabContent">
|
||||||
|
|
||||||
<div class="uk-grid uk-child-width-1-2@l uk-child-width-1-2@m uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-1">
|
||||||
|
|
||||||
<div>
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe width="100%" height="550" [src]="peerReviewedPublicationsOverTimeChartURL"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -32,7 +24,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectPublicationsGroupBy (change)="getPublicationsGroupByMobile(selectPublicationsGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectPublicationsGroupBy (change)="getPublicationsGroupByMobile(selectPublicationsGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -47,7 +39,7 @@
|
||||||
<iframe *ngIf="publicationGroupByView==='organization' && publicationsByOrganizationChartURLMobile"
|
<iframe *ngIf="publicationGroupByView==='organization' && publicationsByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="publicationsByOrganizationChartURLMobile"></iframe>
|
width="100%" height="550" [src]="publicationsByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="publicationGroupByView==='funder' && publicationsByFunderData"
|
<app-treemap-highchart *ngIf="publicationGroupByView==='funder' && publicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Publications by funder'"
|
||||||
[chartData]="publicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
[chartData]="publicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,7 +47,7 @@
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getPublicationsGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getPublicationsGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getPublicationsGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getPublicationsGroupBy('datasource')">Datasource</a></li>
|
||||||
|
@ -66,20 +58,20 @@
|
||||||
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="publicationsByCountryChartURL"
|
<iframe *ngIf="publicationsByCountryChartURL"
|
||||||
width="100%" height="400" [src]="publicationsByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsByDatasourceChartURL"
|
<iframe *ngIf="publicationsByDatasourceChartURL"
|
||||||
width="100%" height="400" [src]="publicationsByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="publicationsByOrganizationChartURL"
|
<iframe *ngIf="publicationsByOrganizationChartURL"
|
||||||
width="100%" height="400" [src]="publicationsByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="publicationsByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="publicationsByFunderData"
|
<app-treemap-highchart *ngIf="publicationsByFunderData"
|
||||||
[chartTitle]="'Open Access publications'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Publications by funder'"
|
||||||
[chartData]="publicationsByFunderData" [color]="publicationColor" [height]="400"></app-treemap-highchart>
|
[chartData]="publicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -102,7 +94,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectDatasetsGroupBy (change)="getDatasetsGroupByMobile(selectDatasetsGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectDatasetsGroupBy (change)="getDatasetsGroupByMobile(selectDatasetsGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -117,7 +109,7 @@
|
||||||
<iframe *ngIf="datasetsGroupByView==='organization' && datasetsByOrganizationChartURLMobile"
|
<iframe *ngIf="datasetsGroupByView==='organization' && datasetsByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsByOrganizationChartURLMobile"></iframe>
|
width="100%" height="550" [src]="datasetsByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="datasetsGroupByView==='funder' && datasetsByFunderData"
|
<app-treemap-highchart *ngIf="datasetsGroupByView==='funder' && datasetsByFunderData"
|
||||||
[chartTitle]="'Open Access datasets'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Datasets by funder'"
|
||||||
[chartData]="datasetsByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
[chartData]="datasetsByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,7 +117,7 @@
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getDatasetsGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getDatasetsGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getDatasetsGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getDatasetsGroupBy('datasource')">Datasource</a></li>
|
||||||
|
@ -136,20 +128,20 @@
|
||||||
<ul id="switcher-content-a-fade-datasets" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-datasets" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="datasetsByCountryChartURL"
|
<iframe *ngIf="datasetsByCountryChartURL"
|
||||||
width="100%" height="400" [src]="datasetsByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="datasetsByDatasourceChartURL"
|
<iframe *ngIf="datasetsByDatasourceChartURL"
|
||||||
width="100%" height="400" [src]="datasetsByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="datasetsByOrganizationChartURL"
|
<iframe *ngIf="datasetsByOrganizationChartURL"
|
||||||
width="100%" height="400" [src]="datasetsByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="datasetsByFunderData"
|
<app-treemap-highchart *ngIf="datasetsByFunderData"
|
||||||
[chartTitle]="'Open Access datasets'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Datasets by funder'"
|
||||||
[chartData]="datasetsByFunderData" [color]="datasetColor" [height]="400"></app-treemap-highchart>
|
[chartData]="datasetsByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -161,7 +153,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--OS Software-->
|
<!--OA Software-->
|
||||||
<div class="uk-grid uk-child-width-1-1">
|
<div class="uk-grid uk-child-width-1-1">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -172,7 +164,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectSoftwareGroupBy (change)="getSoftwareGroupByMobile(selectSoftwareGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectSoftwareGroupBy (change)="getSoftwareGroupByMobile(selectSoftwareGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -187,7 +179,7 @@
|
||||||
<iframe *ngIf="softwareGroupByView==='organization' && softwareByOrganizationChartURLMobile"
|
<iframe *ngIf="softwareGroupByView==='organization' && softwareByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="softwareByOrganizationChartURLMobile"></iframe>
|
width="100%" height="550" [src]="softwareByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="softwareGroupByView==='funder' && softwareByFunderData"
|
<app-treemap-highchart *ngIf="softwareGroupByView==='funder' && softwareByFunderData"
|
||||||
[chartTitle]="'Open Source software'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Software by funder'"
|
||||||
[chartData]="softwareByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
[chartData]="softwareByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -195,7 +187,7 @@
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-software', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-software', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getSoftwareGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getSoftwareGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getSoftwareGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getSoftwareGroupBy('datasource')">Datasource</a></li>
|
||||||
|
@ -206,20 +198,20 @@
|
||||||
<ul id="switcher-content-a-fade-software" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-software" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="softwareByCountryChartURL"
|
<iframe *ngIf="softwareByCountryChartURL"
|
||||||
width="100%" height="400" [src]="softwareByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="softwareByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="softwareByDatasourceChartURL"
|
<iframe *ngIf="softwareByDatasourceChartURL"
|
||||||
width="100%" height="400" [src]="softwareByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="softwareByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="softwareByOrganizationChartURL"
|
<iframe *ngIf="softwareByOrganizationChartURL"
|
||||||
width="100%" height="400" [src]="softwareByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="softwareByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="softwareByFunderData"
|
<app-treemap-highchart *ngIf="softwareByFunderData"
|
||||||
[chartTitle]="'Open Source software'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Software by funder'"
|
||||||
[chartData]="softwareByFunderData" [color]="softwareColor" [height]="400"></app-treemap-highchart>
|
[chartData]="softwareByFunderData" [color]="softwareColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -242,7 +234,7 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectORPGroupBy (change)="getORPGroupByMobile(selectORPGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectORPGroupBy (change)="getORPGroupByMobile(selectORPGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="country">country</option>
|
<option value="country">country</option>
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
|
@ -257,7 +249,7 @@
|
||||||
<iframe *ngIf="orpGroupByView==='organization' && otherByOrganizationChartURLMobile"
|
<iframe *ngIf="orpGroupByView==='organization' && otherByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="otherByOrganizationChartURLMobile"></iframe>
|
width="100%" height="550" [src]="otherByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="orpGroupByView==='funder' && otherByFunderData"
|
<app-treemap-highchart *ngIf="orpGroupByView==='funder' && otherByFunderData"
|
||||||
[chartTitle]="'Open Access other research products'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Other research products by funder'"
|
||||||
[chartData]="otherByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
[chartData]="otherByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -265,7 +257,7 @@
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-orp', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-orp', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getORPGroupBy('country')">Country</a></li>
|
<li class="uk-active"><a (click)="getORPGroupBy('country')">Country</a></li>
|
||||||
<li><a (click)="getORPGroupBy('datasource')">Datasource</a></li>
|
<li><a (click)="getORPGroupBy('datasource')">Datasource</a></li>
|
||||||
|
@ -276,20 +268,20 @@
|
||||||
<ul id="switcher-content-a-fade-orp" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-orp" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;">
|
||||||
<iframe *ngIf="otherByCountryChartURL"
|
<iframe *ngIf="otherByCountryChartURL"
|
||||||
width="100%" height="400" [src]="otherByCountryChartURL"></iframe>
|
width="100%" height="350" [src]="otherByCountryChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="otherByDatasourceChartURL"
|
<iframe *ngIf="otherByDatasourceChartURL"
|
||||||
width="100%" height="400" [src]="otherByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="otherByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="otherByOrganizationChartURL"
|
<iframe *ngIf="otherByOrganizationChartURL"
|
||||||
width="100%" height="400" [src]="otherByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="otherByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="otherByFunderData"
|
<app-treemap-highchart *ngIf="otherByFunderData"
|
||||||
[chartTitle]="'Open Access other research products'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Other research products by funder'"
|
||||||
[chartData]="otherByFunderData" [color]="otherResearchProductsColor" [height]="400"></app-treemap-highchart>
|
[chartData]="otherByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -301,4 +293,149 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="uk-grid uk-child-width-1-3@m uk-child-width-1-3@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="publicationsByCountryChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="publicationsByDatasourceChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="publicationsByOrganizationChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="datasetsByCountryChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="datasetsByDatasourceChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="datasetsByOrganizationChartURLMobile"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="softwareByCountryChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="softwareByDatasourceChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="softwareByOrganizationChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="otherByCountryChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="otherByDatasourceChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<iframe width="100%" height="550" [src]="otherByOrganizationChartURL"></iframe>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<app-treemap-highchart *ngIf="publicationsByFunderData" [chartTitle]="'OA Publications by funder'"-->
|
||||||
|
<!--[chartData]="publicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<app-treemap-highchart *ngIf="datasetsByFunderData" [chartTitle]="'OA Datasets by funder'"-->
|
||||||
|
<!--[chartData]="datasetsByFunderData" [color]="datasetColor"></app-treemap-highchart>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<app-treemap-highchart *ngIf="softwareByFunderData" [chartTitle]="'OS Software by funder'"-->
|
||||||
|
<!--[chartData]="softwareByFunderData" [color]="softwareColor"></app-treemap-highchart>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="uk-grid-margin">-->
|
||||||
|
<!--<div class="md-card chartCard">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<app-treemap-highchart *ngIf="otherByFunderData" [chartTitle]="'OA Other research products by funder'"-->
|
||||||
|
<!--[chartData]="otherByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--<app-countries-table [isPercentage]="false" [type]="'overview'" [countries]="overviewData.countries"></app-countries-table>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
import { datasetPalette, otherResearchProductsPalette, publicationColor, publicationPalette, publicationIndicatorsPalette,
|
import { datasetPalette, otherResearchProductsPalette, publicationColor, publicationPalette,
|
||||||
softwarePalette, datasetColor, softwareColor, otherResearchProductsColor, gradientStartColor } from '../../../chart-palettes';
|
softwarePalette, datasetColor, softwareColor, otherResearchProductsColor, gradientStartColor } from '../../../chart-palettes';
|
||||||
import {environment} from '../../../../environments/environment';
|
import {environment} from '../../../../environments/environment';
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
||||||
|
@ -19,7 +19,6 @@ export class ContinentOverviewComponent implements OnInit {
|
||||||
private profileName = environment.profileName;
|
private profileName = environment.profileName;
|
||||||
|
|
||||||
private publicationPalette = publicationPalette;
|
private publicationPalette = publicationPalette;
|
||||||
private publicationIndicatorsPalette = publicationIndicatorsPalette;
|
|
||||||
private datasetPalette = datasetPalette;
|
private datasetPalette = datasetPalette;
|
||||||
private softwarePalette = softwarePalette;
|
private softwarePalette = softwarePalette;
|
||||||
private otherResearchProductsPalette = otherResearchProductsPalette;
|
private otherResearchProductsPalette = otherResearchProductsPalette;
|
||||||
|
@ -30,7 +29,7 @@ export class ContinentOverviewComponent implements OnInit {
|
||||||
otherResearchProductsColor = otherResearchProductsColor;
|
otherResearchProductsColor = otherResearchProductsColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
|
||||||
peerReviewedPublicationsOverTimeChartURL: SafeResourceUrl;
|
|
||||||
publicationsByTypeChartURL: SafeResourceUrl;
|
publicationsByTypeChartURL: SafeResourceUrl;
|
||||||
|
|
||||||
|
|
||||||
|
@ -81,12 +80,38 @@ export class ContinentOverviewComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
||||||
this.publicationsByTypeChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.bytype","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by type","align":"left","margin":50},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
// this.publicationsByTypeChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Publications","type":"bar","query":{"select":[{"field":"publication","aggregate":"count"},{"field":"publication.classification","aggregate":null}],"filters":[{"groupFilters":[{"field":"publication.organization.country.continent","type":"=","values":["Europe"]}],"op":"AND"},{"groupFilters":[{"field":"publication.classification","type":"!=","values":["0041"]},{"field":"publication.classification","type":"!=","values":["0043"]},{"field":"publication.classification","type":"!=","values":["0044"]},{"field":"publication.classification","type":"!=","values":["Unknown"]}],"op":"AND"}],"entity":"publication","profile":"${this.profileName}","limit":"30"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications by type","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
this.peerReviewedPublicationsOverTimeChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"peer-reviewed","type":"column","query":{"name":"new.oso.publications.oa_timeline.peer_reviewed.affiliated","parameters":[1],"profile":"${this.profileName}"}},{"name":"non-peer-reviewed","type":"column","query":{"name":"new.oso.publications.oa_timeline.peer_reviewed.affiliated","parameters":[0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by peer-review, over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"text":"All publication indicators refer to peer-reviewed publications, unless explicitly stated otherwise.","enabled":true},"colors":[\"${this.publicationIndicatorsPalette.join('","')}\"]}}`));
|
this.publicationsByTypeChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Publications","type":"bar","query":{"select":[{"field":"publication","aggregate":"count"},{"field":"publication.classification","aggregate":null}],"filters":[{"groupFilters":[{"field":"publication.organization.country.continent","type":"=","values":["Europe"]}],"op":"AND"},{"groupFilters":[{"field":"publication.classification","type":"!=","values":["0041"]},{"field":"publication.classification","type":"!=","values":["0043"]},{"field":"publication.classification","type":"!=","values":["0044"]},{"field":"publication.classification","type":"!=","values":["Unknown"]}],"op":"AND"}],"entity":"publication","profile":"${this.profileName}","limit":"30"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Publications by type","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
// this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
// this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.publicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.publicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
||||||
|
// this.publicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.dataService.getFundersResultsByPublications().subscribe(
|
// // this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true}}}`));
|
||||||
|
// // this.softwareByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.softwareByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
||||||
|
// this.softwareByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.otherByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.otherByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
||||||
|
// this.otherByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.dataService.getFundersResultsByType('publication').subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
this.publicationsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
this.publicationsByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
||||||
}, error => {
|
}, error => {
|
||||||
|
@ -118,107 +143,104 @@ export class ContinentOverviewComponent implements OnInit {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.publicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"new.oso.publications.peer_reviewed.bycountry.all","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"column","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.bycountry","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
// this.publicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"column","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"#745b93"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
this.datasetsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"column","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
// this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.datasetsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true}}}`));
|
||||||
this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.softwareByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true}}}`));
|
||||||
|
|
||||||
this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"column","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.softwareByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.otherByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
|
||||||
this.otherByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsGroupBy(contentSelection: string): void {
|
getPublicationsGroupBy(contentSelection: string): void {
|
||||||
this.publicationGroupByView = contentSelection;
|
this.publicationGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsByCountryChartURL) {
|
if (contentSelection === 'country' && !this.publicationsByCountryChartURL) {
|
||||||
this.publicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"new.oso.publications.peer_reviewed.bycountry.all","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"column","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.publicationsByDatasourceChartURL) {
|
||||||
this.publicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"new.oso.publications.peer_reviewed.bydatasource","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"oso.results.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.publicationsByOrganizationChartURL) {
|
||||||
this.publicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"new.oso.publication.peer_reviewed.byorganization","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"oso.results.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getPublicationsGroupByMobile(contentSelection: string): void {
|
getPublicationsGroupByMobile(contentSelection: string): void {
|
||||||
this.publicationGroupByView = contentSelection;
|
this.publicationGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.publicationsByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.publicationsByCountryChartURLMobile) {
|
||||||
this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.bycountry","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.publicationsByDatasourceChartURLMobile) {
|
} else if (contentSelection === 'datasource' && !this.publicationsByDatasourceChartURLMobile) {
|
||||||
this.publicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"new.oso.publications.peer_reviewed.bydatasource","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.publicationsByOrganizationChartURLMobile) {
|
} else if (contentSelection === 'organization' && !this.publicationsByOrganizationChartURLMobile) {
|
||||||
this.publicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"new.oso.publication.peer_reviewed.byorganization","profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access publications","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.publicationPalette.join('","')}\"]}}`));
|
this.publicationsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.byorganization","parameters":["publication"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Publications","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.publicationColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsGroupBy(contentSelection: string): void {
|
getDatasetsGroupBy(contentSelection: string): void {
|
||||||
this.datasetsGroupByView = contentSelection;
|
this.datasetsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsByCountryChartURL) {
|
if (contentSelection === 'country' && !this.datasetsByCountryChartURL) {
|
||||||
this.datasetsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"column","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.datasetsByDatasourceChartURL) {
|
||||||
this.datasetsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"column","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"column","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsByOrganizationChartURL) {
|
||||||
this.datasetsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"column","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"column","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsGroupByMobile(contentSelection: string): void {
|
getDatasetsGroupByMobile(contentSelection: string): void {
|
||||||
this.datasetsGroupByView = contentSelection;
|
this.datasetsGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.datasetsByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.datasetsByCountryChartURLMobile) {
|
||||||
this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"Data","type":"bar","query":{"name":"oso.results.bycountry","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.datasetsByDatasourceChartURLMobile) {
|
} else if (contentSelection === 'datasource' && !this.datasetsByDatasourceChartURLMobile) {
|
||||||
this.datasetsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsByOrganizationChartURLMobile) {
|
} else if (contentSelection === 'organization' && !this.datasetsByOrganizationChartURLMobile) {
|
||||||
this.datasetsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
this.datasetsByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"datasets","type":"bar","query":{"name":"oso.results.byorganization","parameters":["dataset"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareGroupBy(contentSelection: string): void {
|
getSoftwareGroupBy(contentSelection: string): void {
|
||||||
this.softwareGroupByView = contentSelection;
|
this.softwareGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareByCountryChartURL) {
|
if (contentSelection === 'country' && !this.softwareByCountryChartURL) {
|
||||||
this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.softwareByDatasourceChartURL) {
|
||||||
this.softwareByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.softwareByOrganizationChartURL) {
|
||||||
this.softwareByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"column","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getSoftwareGroupByMobile(contentSelection: string): void {
|
getSoftwareGroupByMobile(contentSelection: string): void {
|
||||||
this.softwareGroupByView = contentSelection;
|
this.softwareGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.softwareByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.softwareByCountryChartURLMobile) {
|
||||||
this.softwareByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bycountry","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":true}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.softwareByDatasourceChartURLMobile) {
|
} else if (contentSelection === 'datasource' && !this.softwareByDatasourceChartURLMobile) {
|
||||||
this.softwareByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.softwareByOrganizationChartURLMobile) {
|
} else if (contentSelection === 'organization' && !this.softwareByOrganizationChartURLMobile) {
|
||||||
this.softwareByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Source software","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.softwarePalette.join('","')}\"]}}`));
|
this.softwareByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"software","type":"bar","query":{"name":"oso.results.byorganization","parameters":["software"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Software","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.softwareColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getORPGroupBy(contentSelection: string): void {
|
getORPGroupBy(contentSelection: string): void {
|
||||||
this.orpGroupByView = contentSelection;
|
this.orpGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherByCountryChartURL) {
|
if (contentSelection === 'country' && !this.otherByCountryChartURL) {
|
||||||
this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"column","query":{"name":"new.oso.results.bycountry.all","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByCountryChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"column","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherByDatasourceChartURL) {
|
} else if (contentSelection === 'datasource' && !this.otherByDatasourceChartURL) {
|
||||||
this.otherByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"column","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"column","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.otherByOrganizationChartURL) {
|
||||||
this.otherByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"column","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"column","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getORPGroupByMobile(contentSelection: string): void {
|
getORPGroupByMobile(contentSelection: string): void {
|
||||||
this.orpGroupByView = contentSelection;
|
this.orpGroupByView = contentSelection;
|
||||||
if (contentSelection === 'country' && !this.otherByCountryChartURLMobile) {
|
if (contentSelection === 'country' && !this.otherByCountryChartURLMobile) {
|
||||||
this.otherByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByCountryChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bycountry","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by country","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'datasource' && !this.otherByDatasourceChartURLMobile) {
|
} else if (contentSelection === 'datasource' && !this.otherByDatasourceChartURLMobile) {
|
||||||
this.otherByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.bydatasource","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.otherByOrganizationChartURLMobile) {
|
} else if (contentSelection === 'organization' && !this.otherByOrganizationChartURLMobile) {
|
||||||
this.otherByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other research products","type":"bar","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access other research products","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.otherResearchProductsPalette.join('","')}\"]}}`));
|
this.otherByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"other","type":"bar","query":{"name":"oso.results.byorganization","parameters":["other"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Other research products","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.otherResearchProductsColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CountryCollaborationComponent } from './country-collaboration.component';
|
|
||||||
|
|
||||||
|
|
||||||
const countryCollaborationRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: CountryCollaborationComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'publications',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'publications',
|
|
||||||
loadChildren: () => import('./publications/country-collaboration-publications.module').then(m => m.CountryCollaborationPublicationsModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'datasets',
|
|
||||||
loadChildren: () => import('./datasets/country-collaboration-datasets.module').then(m => m.CountryCollaborationDatasetsModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'software',
|
|
||||||
loadChildren: () => import('./software/country-collaboration-software.module').then(m => m.CountryCollaborationSoftwareModule),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'other-research-products',
|
|
||||||
loadChildren: () => import('./other-research-products/country-collaboration-orp.module').then(m => m.CountryCollaborationORPModule),
|
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(countryCollaborationRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationRoutingModule {}
|
|
|
@ -1,31 +0,0 @@
|
||||||
<div class="uk-margin tabContent">
|
|
||||||
|
|
||||||
|
|
||||||
<ul class="uk-subnav uk-subnav-pill dataView uk-flex uk-flex-center" data-uk-switcher="{connect:'#switcher-content-a-fade', animation: 'fade'}">
|
|
||||||
<li aria-expanded="true" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="publicationsSubnav" [routerLink]="['./publications']" uk-tooltip="title: Publication; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/publications-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="datasetsSubnav" [routerLink]="['./datasets']" uk-tooltip="title: Datasets; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/datasets-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="softwareSubnav" [routerLink]="['./software']" uk-tooltip="title: Software; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/software-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li aria-expanded="false" [routerLinkActive]="['uk-active']">
|
|
||||||
<a class="otherSubnav" [routerLink]="['./other-research-products']" uk-tooltip="title: Other research products; duration: 2000">
|
|
||||||
<img src="../../../../assets/img/icons/other-icon.svg" width="15">
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<hr class="uk-visible@m">
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,9 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration',
|
|
||||||
templateUrl: './country-collaboration.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationComponent {}
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../services/data-handler.service';
|
|
||||||
import { CountryCollaborationComponent } from './country-collaboration.component';
|
|
||||||
import { CountryCollaborationRoutingModule } from './country-collaboration-routing.module';
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
CountryCollaborationRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
CountryCollaborationComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationModule {}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
Co-funded indicators coming soon...
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='co-authored'" class="coAuthoredIndicator">
|
|
||||||
Co-authored indicators coming soon...
|
|
||||||
</div>
|
|
|
@ -1,39 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
datasetColor,
|
|
||||||
datasetPalette, datasetIndicatorsPalette, goldGreenIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-datasets-indicators',
|
|
||||||
templateUrl: './country-collaboration-datasets-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationDatasetsIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CountryCollaborationDatasetsIndicatorsComponent } from './country-collaboration-datasets-indicators.component';
|
|
||||||
import { CountryCollaborationDatasetsComponent } from './country-collaboration-datasets.component';
|
|
||||||
|
|
||||||
const countryCollaborationDatasetsRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: CountryCollaborationDatasetsComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: CountryCollaborationDatasetsIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(countryCollaborationDatasetsRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationDatasetsRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Datasets</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-authored']">Co-authored</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-datasets',
|
|
||||||
templateUrl: './country-collaboration-datasets.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationDatasetsComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { CountryCollaborationDatasetsRoutingModule } from './country-collaboration-datasets-routing.module';
|
|
||||||
import { CountryCollaborationDatasetsComponent } from './country-collaboration-datasets.component';
|
|
||||||
import { CountryCollaborationDatasetsIndicatorsComponent } from './country-collaboration-datasets-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
CountryCollaborationDatasetsRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
CountryCollaborationDatasetsComponent,
|
|
||||||
CountryCollaborationDatasetsIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationDatasetsModule {}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
Co-funded indicators coming soon...
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='co-authored'" class="coAuthoredIndicator">
|
|
||||||
Co-authored indicators coming soon...
|
|
||||||
</div>
|
|
|
@ -1,39 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
otherResearchProductsColor,
|
|
||||||
otherResearchProductsPalette, otherIndicatorsPalette, goldGreenIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-orp-indicators',
|
|
||||||
templateUrl: './country-collaboration-orp-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationORPIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CountryCollaborationORPComponent } from './country-collaboration-orp.component';
|
|
||||||
import { CountryCollaborationORPIndicatorsComponent } from './country-collaboration-orp-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
const countryCollaborationORPRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: CountryCollaborationORPComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: CountryCollaborationORPIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(countryCollaborationORPRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationORPRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Other research products (ORPs)</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-authored']">Co-authored</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-orp',
|
|
||||||
templateUrl: './country-collaboration-orp.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationORPComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { CountryCollaborationORPRoutingModule } from './country-collaboration-orp-routing.module';
|
|
||||||
import { CountryCollaborationORPComponent } from './country-collaboration-orp.component';
|
|
||||||
import { CountryCollaborationORPIndicatorsComponent } from './country-collaboration-orp-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
CountryCollaborationORPRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
CountryCollaborationORPComponent,
|
|
||||||
CountryCollaborationORPIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationORPModule {}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
Co-funded indicators coming soon...
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='co-authored'" class="coAuthoredIndicator">
|
|
||||||
Co-authored indicators coming soon...
|
|
||||||
</div>
|
|
|
@ -1,39 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
publicationColor,
|
|
||||||
publicationPalette, publicationIndicatorsPalette, goldGreenIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-publications-indicators',
|
|
||||||
templateUrl: './country-collaboration-publications-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationPublicationsIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CountryCollaborationPublicationsComponent } from './country-collaboration-publications.component';
|
|
||||||
import { CountryCollaborationPublicationsIndicatorsComponent } from './country-collaboration-publications-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
const countryCollaborationPublicationsRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: CountryCollaborationPublicationsComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: CountryCollaborationPublicationsIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(countryCollaborationPublicationsRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationPublicationsRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Publications</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-authored']">Co-authored</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-publications',
|
|
||||||
templateUrl: './country-collaboration-publications.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationPublicationsComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { CountryCollaborationPublicationsRoutingModule } from './country-collaboration-publications-routing.module';
|
|
||||||
import { CountryCollaborationPublicationsComponent } from './country-collaboration-publications.component';
|
|
||||||
import { CountryCollaborationPublicationsIndicatorsComponent } from './country-collaboration-publications-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
CountryCollaborationPublicationsRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
CountryCollaborationPublicationsComponent,
|
|
||||||
CountryCollaborationPublicationsIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationPublicationsModule {}
|
|
|
@ -1,7 +0,0 @@
|
||||||
<div *ngIf="indicator && indicator=='co-funded'" class="coFundedIndicator">
|
|
||||||
Co-funded indicators coming soon...
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='co-authored'" class="coAuthoredIndicator">
|
|
||||||
Co-authored indicators coming soon...
|
|
||||||
</div>
|
|
|
@ -1,39 +0,0 @@
|
||||||
import { Component, OnInit } from '@angular/core';
|
|
||||||
import {
|
|
||||||
gradientStartColor,
|
|
||||||
softwareColor,
|
|
||||||
softwarePalette, softwareIndicatorsPalette, goldGreenIndicatorsPalette
|
|
||||||
} from '../../../../chart-palettes';
|
|
||||||
import {environment} from '../../../../../environments/environment';
|
|
||||||
import {CountryTableData} from '../../../../domain/overview-map-data';
|
|
||||||
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
|
||||||
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
|
||||||
import {DataHandlerService} from '../../../../services/data-handler.service';
|
|
||||||
import {DataService} from '../../../../services/data.service';
|
|
||||||
import {ActivatedRoute} from '@angular/router';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-software-indicators',
|
|
||||||
templateUrl: './country-collaboration-software-indicators.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationSoftwareIndicatorsComponent implements OnInit {
|
|
||||||
|
|
||||||
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
|
||||||
private profileName = environment.profileName;
|
|
||||||
|
|
||||||
indicator: string;
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
|
||||||
private dataHandlerService: DataHandlerService,
|
|
||||||
private route: ActivatedRoute,
|
|
||||||
private sanitizer: DomSanitizer) { }
|
|
||||||
|
|
||||||
ngOnInit(): void {
|
|
||||||
|
|
||||||
this.route.params.subscribe(params => {
|
|
||||||
|
|
||||||
this.indicator = params['indicator'];
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CountryCollaborationSoftwareComponent } from './country-collaboration-software.component';
|
|
||||||
import { CountryCollaborationSoftwareIndicatorsComponent } from './country-collaboration-software-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
const countryCollaborationSoftwareRoutes: Routes = [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
component: CountryCollaborationSoftwareComponent,
|
|
||||||
children : [
|
|
||||||
{
|
|
||||||
path: '',
|
|
||||||
redirectTo: 'co-funded',
|
|
||||||
pathMatch: 'full',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: ':indicator',
|
|
||||||
component: CountryCollaborationSoftwareIndicatorsComponent,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [RouterModule.forChild(countryCollaborationSoftwareRoutes)],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationSoftwareRoutingModule {}
|
|
|
@ -1,14 +0,0 @@
|
||||||
<div>
|
|
||||||
|
|
||||||
<div class="uk-margin-large-top uk-margin-medium-bottom">
|
|
||||||
<h3>Software</h3>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul uk-tab class="uk-tab-large">
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-funded']">Co-funded</a></li>
|
|
||||||
<li [routerLinkActive]="['uk-active']"><a [routerLink]="['./co-authored']">Co-authored</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<router-outlet></router-outlet>
|
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { Component } from '@angular/core';
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-country-collaboration-software',
|
|
||||||
templateUrl: './country-collaboration-software.component.html',
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationSoftwareComponent {}
|
|
|
@ -1,27 +0,0 @@
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { ReusableComponentsModule } from '../../../../shared/reusablecomponents/reusable-components.module';
|
|
||||||
import { DataService } from '../../../../services/data.service';
|
|
||||||
import { DataHandlerService } from '../../../../services/data-handler.service';
|
|
||||||
import { CountryCollaborationSoftwareRoutingModule } from './country-collaboration-software-routing.module';
|
|
||||||
import { CountryCollaborationSoftwareComponent } from './country-collaboration-software.component';
|
|
||||||
import { CountryCollaborationSoftwareIndicatorsComponent } from './country-collaboration-software-indicators.component';
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule ({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
CountryCollaborationSoftwareRoutingModule,
|
|
||||||
ReusableComponentsModule,
|
|
||||||
],
|
|
||||||
declarations: [
|
|
||||||
CountryCollaborationSoftwareComponent,
|
|
||||||
CountryCollaborationSoftwareIndicatorsComponent,
|
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
DataService,
|
|
||||||
DataHandlerService
|
|
||||||
],
|
|
||||||
})
|
|
||||||
|
|
||||||
export class CountryCollaborationSoftwareModule {}
|
|
|
@ -20,10 +20,6 @@ const countryRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'open-science',
|
path: 'open-science',
|
||||||
loadChildren: () => import('./open-science/country-open-science.module').then(m => m.CountryOpenScienceModule),
|
loadChildren: () => import('./open-science/country-open-science.module').then(m => m.CountryOpenScienceModule),
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'collaboration',
|
|
||||||
loadChildren: () => import('./collaboration/country-collaboration.module').then(m => m.CountryCollaborationModule),
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,10 +76,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<span class=""><i>Open Access publications affiliated to an organization in the country</i></span>
|
<span class=""><i>OA publications affiliated to an organization in the country</i></span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData?.publicationsAffiliated?.percentage" class="uk-margin-top">
|
<div *ngIf="countryPageOverviewData?.publicationsAffiliated?.percentage" class="uk-margin-top">
|
||||||
<span class="number">{{countryPageOverviewData.publicationsAffiliated.percentage | number :'1.0-1'}}%</span> share open access
|
<span class="number">{{countryPageOverviewData.publicationsAffiliated.percentage | number :'1.0-1'}}%</span> OA
|
||||||
<div class="progress uk-margin-small-top">
|
<div class="progress uk-margin-small-top">
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.publicationsAffiliated.percentage+'%'}" class="progress-bar progress-bar-publications animate-progress-bar"></div>
|
<div [ngStyle]="{'width': countryPageOverviewData.publicationsAffiliated.percentage+'%'}" class="progress-bar progress-bar-publications animate-progress-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,10 +98,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<span class=""><i>Open Access publications in the country's institutional repositories</i></span>
|
<span class=""><i>OA publications from institutional repositories</i></span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData?.publicationsDeposited?.percentage" class="uk-margin-top">
|
<div *ngIf="countryPageOverviewData?.publicationsDeposited?.percentage" class="uk-margin-top">
|
||||||
<span class="number">{{countryPageOverviewData.publicationsDeposited.percentage | number :'1.0-1'}}%</span> share open access
|
<span class="number">{{countryPageOverviewData.publicationsDeposited.percentage | number :'1.0-1'}}%</span> OA
|
||||||
<div class="progress uk-margin-small-top">
|
<div class="progress uk-margin-small-top">
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.publicationsDeposited.percentage+'%'}" class="progress-bar progress-bar-publications animate-progress-bar"></div>
|
<div [ngStyle]="{'width': countryPageOverviewData.publicationsDeposited.percentage+'%'}" class="progress-bar progress-bar-publications animate-progress-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -126,10 +126,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<span class=""><i>Open Access datasets affiliated to an organization in the country</i></span>
|
<span class=""><i>OA datasets affiliated to an organization in the country</i></span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData?.datasetsAffiliated?.percentage" class="uk-margin-top">
|
<div *ngIf="countryPageOverviewData?.datasetsAffiliated?.percentage" class="uk-margin-top">
|
||||||
<span class="number">{{countryPageOverviewData.datasetsAffiliated.percentage | number :'1.0-1'}}%</span> share open access
|
<span class="number">{{countryPageOverviewData.datasetsAffiliated.percentage | number :'1.0-1'}}%</span> OA
|
||||||
<div class="progress uk-margin-small-top">
|
<div class="progress uk-margin-small-top">
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.datasetsAffiliated.percentage+'%'}" class="progress-bar progress-bar-datasets animate-progress-bar"></div>
|
<div [ngStyle]="{'width': countryPageOverviewData.datasetsAffiliated.percentage+'%'}" class="progress-bar progress-bar-datasets animate-progress-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -148,10 +148,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<span class=""><i>Open Access datasets in the country's repositories</i></span>
|
<span class=""><i>OA datasets from institutional repositories</i></span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData?.datasetsDeposited?.percentage" class="uk-margin-top">
|
<div *ngIf="countryPageOverviewData?.datasetsDeposited?.percentage" class="uk-margin-top">
|
||||||
<span class="number">{{countryPageOverviewData.datasetsDeposited.percentage | number :'1.0-1'}}%</span> share open access
|
<span class="number">{{countryPageOverviewData.datasetsDeposited.percentage | number :'1.0-1'}}%</span> OA
|
||||||
<div class="progress uk-margin-small-top">
|
<div class="progress uk-margin-small-top">
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.datasetsDeposited.percentage+'%'}" class="progress-bar progress-bar-datasets animate-progress-bar"></div>
|
<div [ngStyle]="{'width': countryPageOverviewData.datasetsDeposited.percentage+'%'}" class="progress-bar progress-bar-datasets animate-progress-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -160,6 +160,33 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="">
|
||||||
|
<div class="md-card" style="height: 47%">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<div class="uk-margin-top">
|
||||||
|
<div class="uk-float-right uk-margin-small-right">
|
||||||
|
<img src="../../../assets/img/icons/journals-icon.svg" width="43" height="40">
|
||||||
|
</div>
|
||||||
|
<h3 class="uk-margin-remove">
|
||||||
|
<span *ngIf="!countryPageOverviewData || !countryPageOverviewData.journals || !countryPageOverviewData.journals.total" class="number">--</span>
|
||||||
|
<span *ngIf="countryPageOverviewData?.journals?.total" class="number">{{countryPageOverviewData.journals.total | number}}</span>
|
||||||
|
<!--<span *ngIf="overviewData.overview.journals?.oa" class="number">{{overviewData.overview.journals.oa | number}}</span>-->
|
||||||
|
<!--<span *ngIf="!overviewData.overview.journals || !overviewData.overview.journals.oa" class="number">--</span>-->
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div class="uk-margin-top">
|
||||||
|
<span class=""><i>OA journals</i> from DOAJ</span>
|
||||||
|
</div>
|
||||||
|
<div *ngIf="countryPageOverviewData?.journals?.percentage" class="uk-margin-top">
|
||||||
|
<span class="number">{{countryPageOverviewData.journals.percentage | number :'1.0-1'}}%</span> Validated
|
||||||
|
<div class="progress uk-margin-small-top">
|
||||||
|
<div [ngStyle]="{'width': countryPageOverviewData.journals.percentage+'%'}" class="progress-bar progress-bar-journals animate-progress-bar"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="">
|
<div class="">
|
||||||
|
|
||||||
<div class="md-card" style="height: 47%">
|
<div class="md-card" style="height: 47%">
|
||||||
|
@ -174,10 +201,10 @@
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<span class=""><i>repositories</i> in openDOAR & re3data</span>
|
<span class=""><i>repositories</i> from openDOAR & re3data</span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData?.repositories?.percentage" class="uk-margin-top">
|
<div *ngIf="countryPageOverviewData?.repositories?.percentage" class="uk-margin-top">
|
||||||
<span class="number">{{countryPageOverviewData.repositories.percentage | number :'1.0-1'}}%</span> validated
|
<span class="number">{{countryPageOverviewData.repositories.percentage | number :'1.0-1'}}%</span> Validated
|
||||||
<div class="progress uk-margin-small-top">
|
<div class="progress uk-margin-small-top">
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.repositories.percentage+'%'}" class="progress-bar progress-bar-repositories animate-progress-bar"></div>
|
<div [ngStyle]="{'width': countryPageOverviewData.repositories.percentage+'%'}" class="progress-bar progress-bar-repositories animate-progress-bar"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -185,33 +212,31 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
<!--<div class="md-card">-->
|
||||||
|
<!--<div class="md-card-content">-->
|
||||||
|
<!--<div class="uk-margin-top">-->
|
||||||
|
<!--<div class="uk-float-right uk-margin-small-right">-->
|
||||||
|
<!--<img src="../../../assets/img/icons/journals-icon.svg" width="43" height="40">-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--<h3 class="uk-margin-remove">-->
|
||||||
|
<!--<span *ngIf="!countryPageOverviewData || !countryPageOverviewData.journals || !countryPageOverviewData.journals.total" class="number">--</span>-->
|
||||||
|
<!--<span *ngIf="countryPageOverviewData?.journals?.total" class="number">{{countryPageOverviewData.journals.total | number}}</span>-->
|
||||||
|
<!--<!–<span *ngIf="overviewData.overview.journals?.oa" class="number">{{overviewData.overview.journals.oa | number}}</span>–>-->
|
||||||
|
<!--<!–<span *ngIf="!overviewData.overview.journals || !overviewData.overview.journals.oa" class="number">--</span>–>-->
|
||||||
|
<!--</h3>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--<div class="uk-margin-top">-->
|
||||||
|
<!--<span class=""><i>OA journals</i> from DOAJ</span>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--<div *ngIf="countryPageOverviewData?.journals?.percentage" class="uk-margin-top">-->
|
||||||
|
<!--<span class="number">{{countryPageOverviewData.journals.percentage | number :'1.0-1'}}%</span> Validated-->
|
||||||
|
<!--<div class="progress uk-margin-small-top">-->
|
||||||
|
<!--<div [ngStyle]="{'width': countryPageOverviewData.journals.percentage+'%'}" class="progress-bar progress-bar-journals animate-progress-bar"></div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
<div class="">
|
|
||||||
<div class="md-card" style="height: 47%">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<div class="uk-margin-top">
|
|
||||||
<div class="uk-float-right uk-margin-small-right">
|
|
||||||
<img src="../../../assets/img/icons/journals-icon.svg" width="43" height="40">
|
|
||||||
</div>
|
|
||||||
<h3 class="uk-margin-remove">
|
|
||||||
<span *ngIf="!countryPageOverviewData || !countryPageOverviewData.journals || !countryPageOverviewData.journals.total" class="number">--</span>
|
|
||||||
<span *ngIf="countryPageOverviewData?.journals?.total" class="number">{{countryPageOverviewData.journals.total | number}}</span>
|
|
||||||
<!--<span *ngIf="overviewData.overview.journals?.oa" class="number">{{overviewData.overview.journals.oa | number}}</span>-->
|
|
||||||
<!--<span *ngIf="!overviewData.overview.journals || !overviewData.overview.journals.oa" class="number">--</span>-->
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
<div class="uk-margin-top">
|
|
||||||
<span class=""><i>Open Access journals</i> in DOAJ</span>
|
|
||||||
</div>
|
|
||||||
<div *ngIf="countryPageOverviewData?.journals?.percentage" class="uk-margin-top">
|
|
||||||
<span class="number">{{countryPageOverviewData.journals.percentage | number :'1.0-1'}}%</span> validated
|
|
||||||
<div class="progress uk-margin-small-top">
|
|
||||||
<div [ngStyle]="{'width': countryPageOverviewData.journals.percentage+'%'}" class="progress-bar progress-bar-journals animate-progress-bar"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -271,7 +296,7 @@
|
||||||
<div class="uk-width-2-5">
|
<div class="uk-width-2-5">
|
||||||
<div *ngIf="countryPageOverviewData.publicationsDeposited?.oa" class="number big">{{countryPageOverviewData.publicationsDeposited.oa | number}}</div>
|
<div *ngIf="countryPageOverviewData.publicationsDeposited?.oa" class="number big">{{countryPageOverviewData.publicationsDeposited.oa | number}}</div>
|
||||||
<div *ngIf="!countryPageOverviewData.publicationsDeposited || !countryPageOverviewData.publicationsDeposited.oa" class="number big">--</div>
|
<div *ngIf="!countryPageOverviewData.publicationsDeposited || !countryPageOverviewData.publicationsDeposited.oa" class="number big">--</div>
|
||||||
<div class="uk-margin-small-top">OA PUBLICATIONS IN INSTITUTIONAL REPOSITORIES</div>
|
<div class="uk-margin-small-top">OA PUBLICATIONS FROM INSTITUTIONAL REPOSITORIES</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData.publicationsDeposited?.percentage" class="uk-width-2-5">
|
<div *ngIf="countryPageOverviewData.publicationsDeposited?.percentage" class="uk-width-2-5">
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
|
@ -307,7 +332,7 @@
|
||||||
<div class="uk-width-2-5">
|
<div class="uk-width-2-5">
|
||||||
<div *ngIf="countryPageOverviewData.datasetsDeposited?.oa" class="number big">{{countryPageOverviewData.datasetsDeposited.oa | number}}</div>
|
<div *ngIf="countryPageOverviewData.datasetsDeposited?.oa" class="number big">{{countryPageOverviewData.datasetsDeposited.oa | number}}</div>
|
||||||
<div *ngIf="!countryPageOverviewData.datasetsDeposited || !countryPageOverviewData.datasetsDeposited.oa" class="number big">--</div>
|
<div *ngIf="!countryPageOverviewData.datasetsDeposited || !countryPageOverviewData.datasetsDeposited.oa" class="number big">--</div>
|
||||||
<div class="uk-margin-small-top">OA DATASETS IN REPOSITORIES</div>
|
<div class="uk-margin-small-top">OA DATASETS FROM INSTITUTIONAL REPOSITORIES</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="countryPageOverviewData.datasetsDeposited?.percentage" class="uk-width-2-5">
|
<div *ngIf="countryPageOverviewData.datasetsDeposited?.percentage" class="uk-width-2-5">
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
|
@ -387,7 +412,7 @@
|
||||||
|
|
||||||
<div class="md-card-toolbar">
|
<div class="md-card-toolbar">
|
||||||
<h3 class="uk-text-center uk-margin-small-top">
|
<h3 class="uk-text-center uk-margin-small-top">
|
||||||
Research Overview
|
Research overview
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -396,10 +421,9 @@
|
||||||
|
|
||||||
<div class="indicator uk-margin-small-top">
|
<div class="indicator uk-margin-small-top">
|
||||||
<ng-container *ngIf="countryPageOverviewData?.rndExpenditure">
|
<ng-container *ngIf="countryPageOverviewData?.rndExpenditure">
|
||||||
<span class="number primary" *ngIf="countryPageOverviewData?.rndExpenditure?.expenditure">{{countryPageOverviewData.rndExpenditure.expenditure}}%</span>
|
<span class="number primary">{{countryPageOverviewData.rndExpenditure.expenditure}}%</span>
|
||||||
<span class="number primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.rndExpenditure || !countryPageOverviewData.rndExpenditure.expenditure">--</span>
|
|
||||||
<span>
|
<span>
|
||||||
<span><i> of GDP for </i></span>
|
<span><i> of gdp for </i></span>
|
||||||
<span class="number primary">{{countryPageOverviewData.rndExpenditure.year}}</span>
|
<span class="number primary">{{countryPageOverviewData.rndExpenditure.year}}</span>
|
||||||
<div><i> R&D expenditure</i></div>
|
<div><i> R&D expenditure</i></div>
|
||||||
</span>
|
</span>
|
||||||
|
@ -415,7 +439,7 @@
|
||||||
<div class="indicator">
|
<div class="indicator">
|
||||||
<span class="number primary" *ngIf="countryPageOverviewData?.funders">{{countryPageOverviewData.funders}}</span>
|
<span class="number primary" *ngIf="countryPageOverviewData?.funders">{{countryPageOverviewData.funders}}</span>
|
||||||
<span class="number primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.funders">--</span>
|
<span class="number primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.funders">--</span>
|
||||||
<span><i>funders</i></span>
|
<span><i>funding sources</i></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="greyBoldDivider uk-margin-medium-top uk-margin-medium-bottom">
|
<hr class="greyBoldDivider uk-margin-medium-top uk-margin-medium-bottom">
|
||||||
|
@ -429,9 +453,9 @@
|
||||||
<hr class="greyBoldDivider uk-margin-medium-top uk-margin-medium-bottom">
|
<hr class="greyBoldDivider uk-margin-medium-top uk-margin-medium-bottom">
|
||||||
|
|
||||||
<div class="indicator">
|
<div class="indicator">
|
||||||
<span class="number primary" *ngIf="countryPageOverviewData?.ec_fundedProjects">{{countryPageOverviewData.ec_fundedProjects}}</span>
|
<span class="number primary" *ngIf="countryPageOverviewData?.ec_fundedOrganizations">{{countryPageOverviewData.ec_fundedOrganizations}}</span>
|
||||||
<span class="number primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.ec_fundedProjects">--</span>
|
<span class="number primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.ec_fundedOrganizations">--</span>
|
||||||
<span><i>projects funded by the European Commission since 2013</i></span>
|
<span><i>organizations funded by the European commission since 2013</i></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -463,7 +487,7 @@
|
||||||
<ng-container *ngIf="countryPageOverviewData?.rndExpenditure">
|
<ng-container *ngIf="countryPageOverviewData?.rndExpenditure">
|
||||||
<span class="number big primary">{{countryPageOverviewData.rndExpenditure.expenditure}}%</span>
|
<span class="number big primary">{{countryPageOverviewData.rndExpenditure.expenditure}}%</span>
|
||||||
<span>
|
<span>
|
||||||
<span class="uk-margin-small-right uk-margin-small-left"> OF GDP FOR </span>
|
<span class="uk-margin-small-right uk-margin-small-left"> OF DGP FOR </span>
|
||||||
<span class="number big primary">{{countryPageOverviewData.rndExpenditure.year}}</span>
|
<span class="number big primary">{{countryPageOverviewData.rndExpenditure.year}}</span>
|
||||||
<div class="uk-margin-small-top"> R&D EXPENDITURE</div>
|
<div class="uk-margin-small-top"> R&D EXPENDITURE</div>
|
||||||
</span>
|
</span>
|
||||||
|
@ -477,7 +501,7 @@
|
||||||
<div class="uk-margin-medium-top">
|
<div class="uk-margin-medium-top">
|
||||||
<div class="number big primary" *ngIf="countryPageOverviewData?.funders">{{countryPageOverviewData.funders}}</div>
|
<div class="number big primary" *ngIf="countryPageOverviewData?.funders">{{countryPageOverviewData.funders}}</div>
|
||||||
<div class="number big primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.funders">--</div>
|
<div class="number big primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.funders">--</div>
|
||||||
<div class="uk-margin-small-top">FUNDERS</div>
|
<div class="uk-margin-small-top">FUNDING SOURCES</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-margin-medium-top">
|
<div class="uk-margin-medium-top">
|
||||||
|
@ -487,9 +511,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" uk-margin-medium-top">
|
<div class=" uk-margin-medium-top">
|
||||||
<div class="number big primary" *ngIf="countryPageOverviewData?.ec_fundedProjects">{{countryPageOverviewData.ec_fundedProjects}}</div>
|
<div class="number big primary" *ngIf="countryPageOverviewData?.ec_fundedOrganizations">{{countryPageOverviewData.ec_fundedOrganizations}}</div>
|
||||||
<div class="number big primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.ec_fundedProjects">--</div>
|
<div class="number big primary" *ngIf="!countryPageOverviewData || !countryPageOverviewData.ec_fundedOrganizations">--</div>
|
||||||
<div class="uk-margin-small-top">PROJECTS FUNDED BY THE EUROPEAN COMMISSION SINCE 2013</div>
|
<div class="uk-margin-small-top">ORGANIZATIONS FUNDED BY THE EUROPEAN COMMISSION SINCE 2013</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -514,7 +538,6 @@
|
||||||
<ul class="uk-visible@m uk-tab uk-tab-large uk-flex-center" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
<ul class="uk-visible@m uk-tab uk-tab-large uk-flex-center" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
||||||
<!--<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./collaboration']">Collaboration</a></li>-->
|
|
||||||
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
||||||
|
@ -525,7 +548,6 @@
|
||||||
<ul class="uk-hidden@m uk-tab" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
<ul class="uk-hidden@m uk-tab" data-uk-tab="{connect:'#team_tabbed',animation: 'slide-bottom'}">
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="true"><a [routerLink]="['./overview']">Overview</a></li>
|
||||||
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./open-science']">Open Science</a></li>
|
||||||
<!--<li [routerLinkActive]="['uk-active']" aria-expanded="false"><a [routerLink]="['./collaboration']">Collaboration</a></li>-->
|
|
||||||
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
<li class="uk-disabled" aria-expanded="false"><a href="#" data-uk-tooltip="{title: Stay tuned..; pos: top-left}">Collaboration</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Impact</a></li>
|
||||||
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
<li class="uk-disabled" aria-expanded="false" data-uk-tooltip="Stay tuned.."><a href="#">Innovation</a></li>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
import { RouterModule, Routes } from '@angular/router';
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CountryOpenScienceComponent } from './country-open-science.component';
|
import { CountryOpenScienceComponent } from './country-open-science.component';
|
||||||
|
import { CountryOSPublicationsComponent } from './publications/country-os-publications.component';
|
||||||
|
import { CountryOSDatasetsComponent } from './datasets/country-os-datasets.component';
|
||||||
|
import { CountryOSSoftwareComponent } from './software/country-os-software.component';
|
||||||
|
import { CountryOSORPComponent } from './other-research-products/country-os-orp.component';
|
||||||
|
|
||||||
|
|
||||||
const continentOpenScienceRoutes: Routes = [
|
const continentOpenScienceRoutes: Routes = [
|
||||||
|
@ -16,18 +20,22 @@ const continentOpenScienceRoutes: Routes = [
|
||||||
{
|
{
|
||||||
path: 'publications',
|
path: 'publications',
|
||||||
loadChildren: () => import('./publications/country-os-publications.module').then(m => m.CountryOpenSciencePublicationsModule),
|
loadChildren: () => import('./publications/country-os-publications.module').then(m => m.CountryOpenSciencePublicationsModule),
|
||||||
|
// component: CountryOSPublicationsComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'datasets',
|
path: 'datasets',
|
||||||
loadChildren: () => import('./datasets/country-os-datasets.module').then(m => m.CountryOpenScienceDatasetsModule),
|
loadChildren: () => import('./datasets/country-os-datasets.module').then(m => m.CountryOpenScienceDatasetsModule),
|
||||||
|
// component: CountryOSDatasetsComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'software',
|
path: 'software',
|
||||||
loadChildren: () => import('./software/country-os-software.module').then(m => m.CountryOpenScienceSoftwareModule),
|
loadChildren: () => import('./software/country-os-software.module').then(m => m.CountryOpenScienceSoftwareModule),
|
||||||
|
// component: CountryOSSoftwareComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'other-research-products',
|
path: 'other-research-products',
|
||||||
loadChildren: () => import('./other-research-products/country-os-orp.module').then(m => m.CountryOpenScienceORPModule),
|
loadChildren: () => import('./other-research-products/country-os-orp.module').then(m => m.CountryOpenScienceORPModule),
|
||||||
|
// component: CountryOSORPComponent,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,6 +5,10 @@ import { DataService } from '../../../services/data.service';
|
||||||
import { DataHandlerService } from '../../../services/data-handler.service';
|
import { DataHandlerService } from '../../../services/data-handler.service';
|
||||||
import { CountryOpenScienceRoutingModule } from './country-open-science-routing.module';
|
import { CountryOpenScienceRoutingModule } from './country-open-science-routing.module';
|
||||||
import { CountryOpenScienceComponent } from './country-open-science.component';
|
import { CountryOpenScienceComponent } from './country-open-science.component';
|
||||||
|
import { CountryOSPublicationsComponent } from './publications/country-os-publications.component';
|
||||||
|
import { CountryOSDatasetsComponent } from './datasets/country-os-datasets.component';
|
||||||
|
import { CountryOSSoftwareComponent } from './software/country-os-software.component';
|
||||||
|
import { CountryOSORPComponent } from './other-research-products/country-os-orp.component';
|
||||||
|
|
||||||
@NgModule ({
|
@NgModule ({
|
||||||
imports: [
|
imports: [
|
||||||
|
@ -13,7 +17,11 @@ import { CountryOpenScienceComponent } from './country-open-science.component';
|
||||||
ReusableComponentsModule,
|
ReusableComponentsModule,
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
CountryOpenScienceComponent
|
CountryOpenScienceComponent,
|
||||||
|
// CountryOSPublicationsComponent,
|
||||||
|
// CountryOSDatasetsComponent,
|
||||||
|
// CountryOSSoftwareComponent,
|
||||||
|
// CountryOSORPComponent
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
DataService,
|
DataService,
|
||||||
|
|
|
@ -1,5 +1,73 @@
|
||||||
|
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
||||||
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
<iframe *ngIf="datasetsWithPIDTimeline" width="100%" height="550" [src]="datasetsWithPIDTimeline"></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="uk-grid-margin">
|
||||||
|
<div class="md-card chartCard">
|
||||||
|
<div class="md-card-content">
|
||||||
|
|
||||||
|
<!--MOBILE & PAD PORTRAIT-->
|
||||||
|
<div class="uk-hidden@m">
|
||||||
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
|
<label class="uk-margin-right">Show by: </label>
|
||||||
|
<select class="md-input" #selectPIDGroupBy (change)="getDatasetsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
|
<option value="datasource">datasource</option>
|
||||||
|
<option value="organization">organization</option>
|
||||||
|
<option value="funder">funder</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<iframe *ngIf="datasetsWithPIDGroupByView==='datasource' && datasetsWithPIDByDatasourceChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="datasetsWithPIDByDatasourceChartURLMobile"></iframe>
|
||||||
|
<iframe *ngIf="datasetsWithPIDGroupByView==='organization' && datasetsWithPIDByOrganizationChartURLMobile"
|
||||||
|
width="100%" height="550" [src]="datasetsWithPIDByOrganizationChartURLMobile"></iframe>
|
||||||
|
<app-treemap-highchart *ngIf="datasetsWithPIDGroupByView==='funder' && datasetsWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Datasets with PID by funder'"
|
||||||
|
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
|
<div class="uk-visible@m">
|
||||||
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
|
<li class="uk-active"><a (click)="getDatasetsWithPIDGroupBy('datasource')">Datasource</a></li>
|
||||||
|
<li><a (click)="getDatasetsWithPIDGroupBy('organization')">Organization</a></li>
|
||||||
|
<li><a (click)="getDatasetsWithPIDGroupBy('funder')">Funder</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
|
<li aria-hidden="false" style="animation-duration: 200ms;" class="uk-active">
|
||||||
|
<iframe *ngIf="datasetsWithPIDByDatasourceChartURL"
|
||||||
|
width="100%" height="350" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<iframe *ngIf="datasetsWithPIDByOrganizationChartURL"
|
||||||
|
width="100%" height="350" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
||||||
|
</li>
|
||||||
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
|
<app-treemap-highchart *ngIf="datasetsWithPIDByFunderData"
|
||||||
|
[chartTitle]="'OA Datasets with PID by funder'"
|
||||||
|
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
<div *ngIf="indicator && indicator=='licence'" class="licenceIndicator">
|
||||||
<div class="uk-grid uk-grid-match uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-2@l uk-child-width-1-1@s">
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
|
@ -9,14 +77,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceTimeline" width="100%" height="550" [src]="datasetsWithCCLicenceTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
<div class="uk-grid-margin">
|
||||||
<div class="md-card chartCard">
|
<div class="md-card chartCard">
|
||||||
<div class="md-card-content">
|
<div class="md-card-content">
|
||||||
|
@ -25,100 +85,45 @@
|
||||||
<div class="uk-hidden@m">
|
<div class="uk-hidden@m">
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
||||||
<label class="uk-margin-right">Show by: </label>
|
<label class="uk-margin-right">Show by: </label>
|
||||||
<select class="md-input" #selectLicenceGroupBy (change)="getDatasetsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="display: inline-block">
|
<select class="md-input" #selectLicenceGroupBy (change)="getDatasetsWithLicenceGroupByMobile(selectLicenceGroupBy.value)" style="width: 230px; display: inline-block">
|
||||||
<option value="datasource">datasource</option>
|
<option value="datasource">datasource</option>
|
||||||
<option value="organization">organization</option>
|
<option value="organization">organization</option>
|
||||||
<option value="funder">funder</option>
|
<option value="funder">funder</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithLicenceGroupByView==='datasource' && datasetsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="datasetsWithLicenceGroupByView==='datasource' && datasetsWithLicenceByDatasourceChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="550" [src]="datasetsWithLicenceByDatasourceChartURLMobile"></iframe>
|
||||||
<iframe *ngIf="datasetsWithLicenceGroupByView==='organization' && datasetsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="datasetsWithLicenceGroupByView==='organization' && datasetsWithLicenceByOrganizationChartURLMobile"
|
||||||
width="100%" height="550" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="550" [src]="datasetsWithLicenceByOrganizationChartURLMobile"></iframe>
|
||||||
<app-treemap-highchart *ngIf="datasetsWithLicenceGroupByView==='funder' && datasetsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="datasetsWithLicenceGroupByView==='funder' && datasetsWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access datasets with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Datasets with licence by funder'"
|
||||||
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
<!--LAPTOP & PAD LANDSCAPE-->
|
||||||
<div class="uk-visible@m">
|
<div class="uk-visible@m">
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
<ul class="uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-licence', animation: 'fade'}">
|
data-uk-switcher="{connect:'#switcher-content-a-fade-publications', animation: 'fade'}">
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
<li class="uk-active"><a (click)="getDatasetsWithLicenceGroupBy('datasource')">Datasource</a></li>
|
||||||
<li><a (click)="getDatasetsWithLicenceGroupBy('organization')">Organization</a></li>
|
<li><a (click)="getDatasetsWithLicenceGroupBy('organization')">Organization</a></li>
|
||||||
<li><a (click)="getDatasetsWithLicenceGroupBy('funder')">Funder</a></li>
|
<li><a (click)="getDatasetsWithLicenceGroupBy('funder')">Funder</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-licence" class="uk-switcher uk-margin">
|
<ul id="switcher-content-a-fade-publications" class="uk-switcher uk-margin">
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="false" style="animation-duration: 200ms;" class="uk-active">
|
||||||
<iframe *ngIf="datasetsWithLicenceByDatasourceChartURL"
|
<iframe *ngIf="datasetsWithLicenceByDatasourceChartURL"
|
||||||
width="100%" height="650" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsWithLicenceByDatasourceChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<iframe *ngIf="datasetsWithLicenceByOrganizationChartURL"
|
<iframe *ngIf="datasetsWithLicenceByOrganizationChartURL"
|
||||||
width="100%" height="650" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
width="100%" height="350" [src]="datasetsWithLicenceByOrganizationChartURL"></iframe>
|
||||||
</li>
|
</li>
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
||||||
<app-treemap-highchart *ngIf="datasetsWithLicenceByFunderData"
|
<app-treemap-highchart *ngIf="datasetsWithLicenceByFunderData"
|
||||||
[chartTitle]="'Open Access datasets with licence'" [chartSubtitle]="'by funder (top funders)'"
|
[chartTitle]="'OA Datasets with licence by funder'"
|
||||||
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
[chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid-margin">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectCCLicenceGroupBy (change)="getDatasetsWithCCLicenceGroupByMobile(selectCCLicenceGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceGroupByView==='datasource' && datasetsWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceGroupByView==='organization' && datasetsWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithCCLicenceGroupByView==='funder' && datasetsWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithCCLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-cc-licence', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithCCLicenceGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithCCLicenceGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithCCLicenceGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-cc-licence" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithCCLicenceByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithCCLicenceByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithCCLicenceByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithCCLicenceByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with CC licence'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithCCLicenceByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -129,74 +134,3 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="indicator && indicator=='pid'" class="pidIndicator">
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
<iframe *ngIf="datasetsWithPIDTimeline" width="100%" height="550" [src]="datasetsWithPIDTimeline"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-grid uk-grid-margin">
|
|
||||||
<div class="uk-width-3-4@l uk-width-1-1@m uk-width-1-1@s">
|
|
||||||
<div class="md-card chartCard">
|
|
||||||
<div class="md-card-content">
|
|
||||||
|
|
||||||
<!--MOBILE & PAD PORTRAIT-->
|
|
||||||
<div class="uk-hidden@m">
|
|
||||||
<div class="uk-flex uk-flex-right uk-flex-middle uk-margin-bottom">
|
|
||||||
<label class="uk-margin-right">Show by: </label>
|
|
||||||
<select class="md-input" #selectPIDGroupBy (change)="getDatasetsWithPIDGroupByMobile(selectPIDGroupBy.value)" style="display: inline-block">
|
|
||||||
<option value="datasource">datasource</option>
|
|
||||||
<option value="organization">organization</option>
|
|
||||||
<option value="funder">funder</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<iframe *ngIf="datasetsWithPIDGroupByView==='datasource' && datasetsWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
<iframe *ngIf="datasetsWithPIDGroupByView==='organization' && datasetsWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="550" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithPIDGroupByView==='funder' && datasetsWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--LAPTOP & PAD LANDSCAPE-->
|
|
||||||
<div class="uk-visible@m">
|
|
||||||
<ul class="group-by-cdof uk-subnav uk-subnav-pill uk-flex uk-flex-right uk-flex-middle uk-margin-bottom" uk-margin
|
|
||||||
data-uk-switcher="{connect:'#switcher-content-a-fade-datasets-pid', animation: 'fade'}">
|
|
||||||
<li class="uk-active"><a (click)="getDatasetsWithPIDGroupBy('datasource')">Datasource</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithPIDGroupBy('organization')">Organization</a></li>
|
|
||||||
<li><a (click)="getDatasetsWithPIDGroupBy('funder')">Funder</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="switcher-content-a-fade-datasets-pid" class="uk-switcher uk-margin">
|
|
||||||
<li aria-hidden="false" class="uk-active" aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithPIDByDatasourceChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithPIDByDatasourceChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<iframe *ngIf="datasetsWithPIDByOrganizationChartURL"
|
|
||||||
width="100%" height="650" [src]="datasetsWithPIDByOrganizationChartURL"></iframe>
|
|
||||||
</li>
|
|
||||||
<li aria-hidden="true" style="animation-duration: 200ms;" class="">
|
|
||||||
<app-treemap-highchart *ngIf="datasetsWithPIDByFunderData"
|
|
||||||
[chartTitle]="'Open Access datasets with PID'" [chartSubtitle]="'by funder (top funders)'"
|
|
||||||
[chartData]="datasetsWithPIDByFunderData" [color]="datasetColor" [height]="650"></app-treemap-highchart>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
import {
|
import {
|
||||||
datasetColor,
|
datasetColor,
|
||||||
datasetPalette, datasetIndicatorsPalette,
|
datasetPalette,
|
||||||
gradientStartColor
|
gradientStartColor,
|
||||||
|
resultsPalette
|
||||||
} from '../../../../chart-palettes';
|
} from '../../../../chart-palettes';
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import { environment } from '../../../../../environments/environment';
|
import { environment } from '../../../../../environments/environment';
|
||||||
|
@ -24,32 +25,30 @@ export class CountryOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
indicator: string;
|
indicator: string;
|
||||||
|
|
||||||
private datasetPalette = datasetPalette;
|
private datasetPalette = datasetPalette;
|
||||||
private datasetIndicatorsPalette = datasetIndicatorsPalette;
|
private resultsPalette = resultsPalette;
|
||||||
|
|
||||||
datasetColor = datasetColor;
|
datasetColor = datasetColor;
|
||||||
gradientStartColor = gradientStartColor;
|
gradientStartColor = gradientStartColor;
|
||||||
|
|
||||||
countryCode: string;
|
countryCode: string;
|
||||||
|
|
||||||
datasetsWithLicenceTimeline: SafeResourceUrl;
|
|
||||||
datasetsWithCCLicenceTimeline: SafeResourceUrl;
|
|
||||||
datasetsWithPIDTimeline: SafeResourceUrl;
|
datasetsWithPIDTimeline: SafeResourceUrl;
|
||||||
|
datasetsWithLicenceTimeline: SafeResourceUrl;
|
||||||
|
|
||||||
datasetsWithPIDGroupByView = 'datasource';
|
datasetsWithPIDGroupByView = 'datasource';
|
||||||
datasetsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
datasetsWithPIDByDatasourceChartURL: SafeResourceUrl;
|
||||||
datasetsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
datasetsWithPIDByOrganizationChartURL: SafeResourceUrl;
|
||||||
|
datasetsWithPIDByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
|
datasetsWithPIDByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
|
|
||||||
datasetsWithLicenceGroupByView = 'datasource';
|
datasetsWithLicenceGroupByView = 'datasource';
|
||||||
datasetsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
datasetsWithLicenceByDatasourceChartURL: SafeResourceUrl;
|
||||||
datasetsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
datasetsWithLicenceByOrganizationChartURL: SafeResourceUrl;
|
||||||
|
datasetsWithLicenceByDatasourceChartURLMobile: SafeResourceUrl;
|
||||||
datasetsWithCCLicenceGroupByView = 'datasource';
|
datasetsWithLicenceByOrganizationChartURLMobile: SafeResourceUrl;
|
||||||
datasetsWithCCLicenceByDatasourceChartURL: SafeResourceUrl;
|
|
||||||
datasetsWithCCLicenceByOrganizationChartURL: SafeResourceUrl;
|
|
||||||
|
|
||||||
datasetsWithPIDByFunderData: TreemapHighchartsData[];
|
datasetsWithPIDByFunderData: TreemapHighchartsData[];
|
||||||
datasetsWithLicenceByFunderData: TreemapHighchartsData[];
|
datasetsWithLicenceByFunderData: TreemapHighchartsData[];
|
||||||
datasetsWithCCLicenceByFunderData: TreemapHighchartsData[];
|
|
||||||
|
|
||||||
constructor(private dataService: DataService,
|
constructor(private dataService: DataService,
|
||||||
private dataHandlerService: DataHandlerService,
|
private dataHandlerService: DataHandlerService,
|
||||||
|
@ -67,13 +66,26 @@ export class CountryOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
|
|
||||||
this.countryCode = params['countryCode'];
|
this.countryCode = params['countryCode'];
|
||||||
|
|
||||||
this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",1],"profile":"${this.profileName}"}},{"name":"without PID","type":"column","query":{"name":"new.oso.results.pid_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",1],"profile":"${this.profileName}"}},{"name":"without licence","type":"column","query":{"name":"new.oso.results.licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.pid_timeline.affiliated.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
this.datasetsWithCCLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",1],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"column","query":{"name":"new.oso.results.cc_licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}",0],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"over time","align":"left","margin":50},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
// this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
this.datasetsWithLicenceTimeline = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"OA publications","type":"column","query":{"name":"oso.results.licence_timeline.affiliated.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
// // this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
// // this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetPalette.join('","')}\"]}}`));
|
||||||
|
// this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
|
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.datasetsWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
this.datasetsWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
|
|
||||||
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
this.datasetsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForIndicatorForCountry('dataset', 'pid', this.countryCode).subscribe(
|
this.dataService.getFundersResultsByTypeForIndicatorForCountry('dataset', 'pid', this.countryCode).subscribe(
|
||||||
rawData => {
|
rawData => {
|
||||||
|
@ -90,68 +102,42 @@ export class CountryOSDatasetsIndicatorsComponent implements OnInit {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.dataService.getFundersResultsByTypeForIndicatorForCountry('dataset', 'cc_licence', this.countryCode).subscribe(
|
|
||||||
rawData => {
|
|
||||||
this.datasetsWithCCLicenceByFunderData = this.dataHandlerService.convertRawDataToTreemapHighchartsData(rawData);
|
|
||||||
}, error => {
|
|
||||||
console.log(error);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithPIDGroupBy(contentSelection: string): void {
|
getDatasetsWithPIDGroupBy(contentSelection: string): void {
|
||||||
this.datasetsWithPIDGroupByView = contentSelection;
|
this.datasetsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
||||||
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
||||||
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithPIDGroupByMobile(contentSelection: string): void {
|
getDatasetsWithPIDGroupByMobile(contentSelection: string): void {
|
||||||
this.datasetsWithPIDGroupByView = contentSelection;
|
this.datasetsWithPIDGroupByView = contentSelection;
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURL) {
|
if (contentSelection === 'datasource' && !this.datasetsWithPIDByDatasourceChartURLMobile) {
|
||||||
this.datasetsWithPIDByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithPIDByOrganizationChartURLMobile) {
|
||||||
this.datasetsWithPIDByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without PID","type":"bar","query":{"name":"new.oso.results.pid.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithPIDByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.pid.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with PID","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithLicenceGroupBy(contentSelection: string): void {
|
getDatasetsWithLicenceGroupBy(contentSelection: string): void {
|
||||||
this.datasetsWithLicenceGroupByView = contentSelection;
|
this.datasetsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
||||||
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
||||||
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getDatasetsWithLicenceGroupByMobile(contentSelection: string): void {
|
getDatasetsWithLicenceGroupByMobile(contentSelection: string): void {
|
||||||
this.datasetsWithLicenceGroupByView = contentSelection;
|
this.datasetsWithLicenceGroupByView = contentSelection;
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURL) {
|
if (contentSelection === 'datasource' && !this.datasetsWithLicenceByDatasourceChartURLMobile) {
|
||||||
this.datasetsWithLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByDatasourceChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.bydatasource.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by datasource","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURL) {
|
} else if (contentSelection === 'organization' && !this.datasetsWithLicenceByOrganizationChartURLMobile) {
|
||||||
this.datasetsWithLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without licence","type":"bar","query":{"name":"new.oso.results.licence.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
this.datasetsWithLicenceByOrganizationChartURLMobile = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"publications","type":"bar","query":{"name":"oso.results.licence.affiliated.byorganization.country","parameters":["dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"OA Datasets with licence","align":"left","margin":50},"subtitle":{"text":"by organization","align":"left"},"yAxis":{"title":{"text":""}},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"color":{"linearGradient":{"x1":0,"y1":0,"x2":0,"y2":1},"stops":[[0,"${this.datasetColor}"],[1,"${this.gradientStartColor}"]]}}},"legend":{"enabled":false},"credits":{"href":null,"enabled":false}}}`));
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsWithCCLicenceGroupBy(contentSelection: string): void {
|
|
||||||
this.datasetsWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
getDatasetsWithCCLicenceGroupByMobile(contentSelection: string): void {
|
|
||||||
this.datasetsWithCCLicenceGroupByView = contentSelection;
|
|
||||||
if (contentSelection === 'datasource' && !this.datasetsWithCCLicenceByDatasourceChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByDatasourceChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.bydatasource.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by datasource (top datasources)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
} else if (contentSelection === 'organization' && !this.datasetsWithCCLicenceByOrganizationChartURL) {
|
|
||||||
this.datasetsWithCCLicenceByOrganizationChartURL = this.sanitizer.bypassSecurityTrustResourceUrl(this.chartsURL + encodeURIComponent(`{"library":"HighCharts","chartDescription":{"queries":[{"name":"with CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization.country","parameters":[1,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}},{"name":"without CC licence","type":"bar","query":{"name":"new.oso.results.cc_licence.affiliated.byorganization.country","parameters":[0,"dataset","${this.countryCode}"],"profile":"${this.profileName}"}}],"chart":{"backgroundColor":"#FFFFFFFF","borderColor":"#335cadff","borderRadius":0,"borderWidth":0,"plotBorderColor":"#ccccccff","plotBorderWidth":0},"title":{"text":"Open Access datasets with CC licence","align":"left","margin":50},"subtitle":{"text":"by organization (top organizations)","align":"left"},"yAxis":{"title":{"text":""},"reversedStacks":false},"xAxis":{"title":{"text":""}},"lang":{"noData":"No Data available for the Query"},"exporting":{"enabled":true},"plotOptions":{"series":{"dataLabels":{"enabled":false},"stacking":"normal"}},"legend":{"enabled":true},"credits":{"href":null,"enabled":false},"colors":[\"${this.datasetIndicatorsPalette.join('","')}\"]}}`));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ const countryOpenScienceDatasetsRoutes: Routes = [
|
||||||
children : [
|
children : [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
redirectTo: 'licence',
|
redirectTo: 'pid',
|
||||||
pathMatch: 'full',
|
pathMatch: 'full',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue