Link to 2024 data #6
@@ -1,9 +1,9 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import Papa, { ParseRemoteConfig, ParseResult } from 'papaparse';
|
import Papa, { ParseRemoteConfig, ParseResult } from 'papaparse';
|
||||||
import { ReplaySubject } from 'rxjs';
|
import { ReplaySubject } from 'rxjs';
|
||||||
import { KeyValue } from '../models/key-value';
|
|
||||||
import { Csv } from '../enums/csv';
|
import { Csv } from '../enums/csv';
|
||||||
import { Milestone } from '../enums/milestone';
|
import { Milestone } from '../enums/milestone';
|
||||||
|
import { KeyValue } from '../models/key-value';
|
||||||
|
|
||||||
@Injectable({ providedIn: 'root' })
|
@Injectable({ providedIn: 'root' })
|
||||||
export class DataService {
|
export class DataService {
|
||||||
@@ -22,7 +22,7 @@ export class DataService {
|
|||||||
readonly Schools$ = this.schools.asObservable();
|
readonly Schools$ = this.schools.asObservable();
|
||||||
readonly Schools = () => this._schools;
|
readonly Schools = () => this._schools;
|
||||||
|
|
||||||
private _years = Array(2023 - 2015 + 1)
|
private _years = Array(2024 - 2015 + 1)
|
||||||
.fill(0)
|
.fill(0)
|
||||||
.map((_, index) => 2015 + index);
|
.map((_, index) => 2015 + index);
|
||||||
private years = new ReplaySubject<KeyValue[]>(1);
|
private years = new ReplaySubject<KeyValue[]>(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user