Revision 58922
Added by Stefania Martziou almost 4 years ago
data.service.ts | ||
---|---|---|
88 | 88 |
return this.httpClient.get<RawData>(this.apiURL + fundersResultsByTypeQuery, headerOptions); |
89 | 89 |
} |
90 | 90 |
|
91 |
public getFundersResultsByTypeForPID(type: string): Observable<RawData> { |
|
92 |
const fundersResultsByTypeForPIDQuery = '%7B%22series%22%3A%5B%7B%22query%22%3A%7B%22name%22%3A%22new.oso.results.pid.affiliated.byfunder%22%2C%20%22parameters%22%3A%5B%22' + type + '%22%5D%7D%7D%5D%2C%22verbose%22%3Atrue%7D'; |
|
93 |
return this.httpClient.get<RawData>(this.apiURL + fundersResultsByTypeForPIDQuery, headerOptions); |
|
94 |
} |
|
91 | 95 |
|
96 |
public getFundersResultsByTypeForLicence(type: string): Observable<RawData> { |
|
97 |
const fundersResultsByTypeForLicenceQuery = '%7B%22series%22%3A%5B%7B%22query%22%3A%7B%22name%22%3A%22new.oso.results.licence.affiliated.byfunder%22%2C%20%22parameters%22%3A%5B%22' + type + '%22%5D%7D%7D%5D%2C%22verbose%22%3Atrue%7D'; |
|
98 |
return this.httpClient.get<RawData>(this.apiURL + fundersResultsByTypeForLicenceQuery, headerOptions); |
|
99 |
} |
|
92 | 100 |
|
101 |
public getFundersResultsByTypeForGold(type: string): Observable<RawData> { |
|
102 |
const fundersResultsByTypeForGoldQuery = '%7B%22series%22%3A%5B%7B%22query%22%3A%7B%22name%22%3A%22new.oso.results.gold.affiliated.byfunder%22%2C%20%22parameters%22%3A%5B%22' + type + '%22%5D%7D%7D%5D%2C%22verbose%22%3Atrue%7D'; |
|
103 |
return this.httpClient.get<RawData>(this.apiURL + fundersResultsByTypeForGoldQuery, headerOptions); |
|
104 |
} |
|
93 | 105 |
|
106 |
public getFundersResultsByTypeForGreen(type: string): Observable<RawData> { |
|
107 |
const fundersResultsByTypeForGeenQuery = '%7B%22series%22%3A%5B%7B%22query%22%3A%7B%22name%22%3A%22new.oso.results.green.affiliated.byfunder%22%2C%20%22parameters%22%3A%5B%22' + type + '%22%5D%7D%7D%5D%2C%22verbose%22%3Atrue%7D'; |
|
108 |
return this.httpClient.get<RawData>(this.apiURL + fundersResultsByTypeForGeenQuery, headerOptions); |
|
109 |
} |
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
94 | 114 |
public getOverviewData(): Observable<OverviewData> { |
95 | 115 |
return this.httpClient.get<OverviewData>(this._jsonURl, headerOptions); |
96 | 116 |
} |
Also available in: Unified diff
Finished the charts for the open science tab of the europe page