@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.
Files changed (54) hide show
  1. package/dist/cjs/backend.js +2 -25
  2. package/dist/cjs/core/iamc/data.js +73 -9
  3. package/dist/cjs/core/meta.js +21 -3
  4. package/dist/cjs/core/platform.js +2 -2
  5. package/dist/cjs/core/run.js +1 -1
  6. package/dist/cjs/data/base.js +96 -46
  7. package/dist/cjs/data/docs.js +1 -4
  8. package/dist/cjs/data/iamc/datapoint.js +15 -22
  9. package/dist/cjs/data/iamc/timeseries.js +12 -9
  10. package/dist/cjs/data/iamc/variable.js +5 -6
  11. package/dist/cjs/data/meta.js +4 -8
  12. package/dist/cjs/data/model.js +5 -6
  13. package/dist/cjs/data/region.js +5 -6
  14. package/dist/cjs/data/run.js +5 -9
  15. package/dist/cjs/data/scenario.js +6 -7
  16. package/dist/cjs/data/unit.js +5 -6
  17. package/dist/esm/backend.js +1 -1
  18. package/dist/esm/core/iamc/data.js +61 -8
  19. package/dist/esm/core/meta.js +9 -3
  20. package/dist/esm/core/platform.js +2 -2
  21. package/dist/esm/core/run.js +2 -2
  22. package/dist/esm/data/base.js +69 -45
  23. package/dist/esm/data/docs.js +1 -4
  24. package/dist/esm/data/iamc/datapoint.js +11 -11
  25. package/dist/esm/data/iamc/timeseries.js +12 -9
  26. package/dist/esm/data/iamc/variable.js +5 -6
  27. package/dist/esm/data/meta.js +4 -8
  28. package/dist/esm/data/model.js +5 -6
  29. package/dist/esm/data/region.js +5 -6
  30. package/dist/esm/data/run.js +5 -9
  31. package/dist/esm/data/scenario.js +6 -7
  32. package/dist/esm/data/unit.js +5 -6
  33. package/dist/types/core/iamc/data.d.ts +28 -4
  34. package/dist/types/core/iamc/variable.d.ts +1 -1
  35. package/dist/types/core/meta.d.ts +5 -3
  36. package/dist/types/core/platform.d.ts +2 -2
  37. package/dist/types/core/run.d.ts +2 -2
  38. package/dist/types/data/base.d.ts +28 -6
  39. package/dist/types/data/docs.d.ts +0 -2
  40. package/dist/types/data/iamc/datapoint.d.ts +6 -7
  41. package/dist/types/data/iamc/timeseries.d.ts +9 -5
  42. package/dist/types/data/iamc/variable.d.ts +2 -3
  43. package/dist/types/data/meta.d.ts +2 -5
  44. package/dist/types/data/model.d.ts +2 -3
  45. package/dist/types/data/region.d.ts +2 -3
  46. package/dist/types/data/run.d.ts +2 -5
  47. package/dist/types/data/scenario.d.ts +2 -3
  48. package/dist/types/data/unit.d.ts +2 -3
  49. package/dist/types/index.d.ts +1 -2
  50. package/node_modules/danfojs/package.json +0 -1
  51. package/package.json +11 -3
  52. package/dist/cjs/core/iamc/repository.js +0 -73
  53. package/dist/esm/core/iamc/repository.js +0 -51
  54. 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 };