open-science-observatory-ui/src/app/domain/overview-map-data.ts

82 lines
1.8 KiB
TypeScript
Raw Normal View History

import {Indicator} from './overview-data';
export class OverviewMapData {
publications: CountryMapData[];
datasets: CountryMapData[];
repositories: CountryMapData[];
journals: CountryMapData[];
policies: CountryMapData[];
}
export class CountryMapData {
code: string;
name: string;
value: number;
}
export class JoinedMapData {
countryName: string;
countryCode: string;
affiliated: number;
deposited: number;
doar_re3data: number;
doaj: number;
simple: number;
}
export class SelectedCountry {
name: string;
code: string;
}
export class CountryOverviewData {
name: string = null;
code: string = null;
publicationsAffiliated: number = null;
publicationsDeposited: number = null;
datasetsAffiliated: number = null;
datasetsDeposited: number = null;
repositories: number = null;
journals: number = null;
policies: number = null;
}
export class EuropeData {
publications: Indicator;
datasets: Indicator;
software: Indicator;
other: Indicator;
repositories: Indicator;
journals: Indicator;
policies: Indicator;
}
export class CountryTableData {
name: string = null;
code: string = null;
publications: number = null;
datasets: number = null;
software: number = null;
other: number = null;
repositories: number = null;
journals: number = null;
policies: number = null;
}
export class CountryPageOverviewData {
name: string = null;
code: string = null;
publicationsAffiliated: Indicator;
publicationsDeposited: Indicator ;
datasetsAffiliated: Indicator;
datasetsDeposited: Indicator;
software: Indicator;
other: Indicator;
repositories: Indicator;
journals: Indicator;
policies: number = null;
funders: number = null;
fundingOrganizations: number = null;
ec_fundedOrganizations: number = null;
}