@iiasa/ixmp4-ts 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/backend.js +2 -25
- package/dist/cjs/core/iamc/data.js +73 -9
- package/dist/cjs/core/meta.js +21 -3
- package/dist/cjs/core/platform.js +2 -2
- package/dist/cjs/core/run.js +1 -1
- package/dist/cjs/data/base.js +96 -46
- package/dist/cjs/data/docs.js +1 -4
- package/dist/cjs/data/iamc/datapoint.js +15 -22
- package/dist/cjs/data/iamc/timeseries.js +12 -9
- package/dist/cjs/data/iamc/variable.js +5 -6
- package/dist/cjs/data/meta.js +4 -8
- package/dist/cjs/data/model.js +5 -6
- package/dist/cjs/data/region.js +5 -6
- package/dist/cjs/data/run.js +5 -9
- package/dist/cjs/data/scenario.js +6 -7
- package/dist/cjs/data/unit.js +5 -6
- package/dist/esm/backend.js +1 -1
- package/dist/esm/core/iamc/data.js +61 -8
- package/dist/esm/core/meta.js +9 -3
- package/dist/esm/core/platform.js +2 -2
- package/dist/esm/core/run.js +2 -2
- package/dist/esm/data/base.js +69 -45
- package/dist/esm/data/docs.js +1 -4
- package/dist/esm/data/iamc/datapoint.js +11 -11
- package/dist/esm/data/iamc/timeseries.js +12 -9
- package/dist/esm/data/iamc/variable.js +5 -6
- package/dist/esm/data/meta.js +4 -8
- package/dist/esm/data/model.js +5 -6
- package/dist/esm/data/region.js +5 -6
- package/dist/esm/data/run.js +5 -9
- package/dist/esm/data/scenario.js +6 -7
- package/dist/esm/data/unit.js +5 -6
- package/dist/types/core/iamc/data.d.ts +28 -4
- package/dist/types/core/iamc/variable.d.ts +1 -1
- package/dist/types/core/meta.d.ts +5 -3
- package/dist/types/core/platform.d.ts +2 -2
- package/dist/types/core/run.d.ts +2 -2
- package/dist/types/data/base.d.ts +28 -6
- package/dist/types/data/docs.d.ts +0 -2
- package/dist/types/data/iamc/datapoint.d.ts +6 -7
- package/dist/types/data/iamc/timeseries.d.ts +9 -5
- package/dist/types/data/iamc/variable.d.ts +2 -3
- package/dist/types/data/meta.d.ts +2 -5
- package/dist/types/data/model.d.ts +2 -3
- package/dist/types/data/region.d.ts +2 -3
- package/dist/types/data/run.d.ts +2 -5
- package/dist/types/data/scenario.d.ts +2 -3
- package/dist/types/data/unit.d.ts +2 -3
- package/dist/types/index.d.ts +1 -2
- package/node_modules/danfojs/package.json +0 -1
- package/package.json +11 -3
- package/dist/cjs/core/iamc/repository.js +0 -73
- package/dist/esm/core/iamc/repository.js +0 -51
- package/dist/types/core/iamc/repository.d.ts +0 -30
@@ -1,30 +0,0 @@
|
|
1
|
-
import * as dfd from 'danfojs';
|
2
|
-
import { Backend } from '../../backend';
|
3
|
-
import { BaseFacade } from '../base';
|
4
|
-
import { VariableRepository } from './variable';
|
5
|
-
import { IamcDataFilter } from './data';
|
6
|
-
/**
|
7
|
-
* Represents a repository for IAMC (Integrated Assessment Modeling Consortium) data.
|
8
|
-
* Provides methods for tabulating IAMC data.
|
9
|
-
*/
|
10
|
-
declare class IamcRepository extends BaseFacade {
|
11
|
-
/**
|
12
|
-
* Repository for managing IAMC variables.
|
13
|
-
*/
|
14
|
-
variables: VariableRepository;
|
15
|
-
/**
|
16
|
-
* Constructs a new instance of the IamcRepository class.
|
17
|
-
* @param backend The backend instance used for data retrieval.
|
18
|
-
*/
|
19
|
-
constructor(backend: Backend);
|
20
|
-
/**
|
21
|
-
* Tabulates IAMC data with optional filtering.
|
22
|
-
* @param filter Optional. Filter for retrieving IAMC data.
|
23
|
-
* @param filter.joinRuns Optional. Whether to join runs or not, defaults to true.
|
24
|
-
* @returns A Promise that resolves to a dfd.DataFrame containing the tabulated data.
|
25
|
-
*/
|
26
|
-
tabulate({ joinRuns, ...filter }?: {
|
27
|
-
joinRuns?: boolean;
|
28
|
-
} & IamcDataFilter): Promise<dfd.DataFrame>;
|
29
|
-
}
|
30
|
-
export { IamcRepository };
|