24.137.0 • Published 1 year ago

@js-dot/data v24.137.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@js-dot/data

NameVersionDownloads
@js-dot/data npm.ionpm.io

Simple Data Restructuring

Submodules

  • @js-dot/data/frame
  • @js-dot/data/csv
  • @js-dot/data/ini

Cheatsheet

//@formatter:off

toRelate

Before

Group Items:

[
    { "primary": 1 },
    { "primary": 2 }
]

Related Items:

[
    { "parent": 1  },
    { "parent": 2  }
]

After

[
    {
        "primary"     : 1,
        "items": [
            { "parent": 1 }
        ]
    },
    {
        "primary"     : 2,
        "items": [
            { "parent": 2 }
        ]
    }
]

frameToXYSeriesSet

Before

[
  ["date", "foo", "bar"],
  [     1,     2,     3],
  [     2,    20,    30]
]

After

{
    "foo": {
        "x": [1,  2],
        "y": [2, 20]
    },
    "bar": {
        "x": [1,  3],
        "y": [2, 30]
    }
}

//@formatter:on

24.137.0

1 year ago

24.127.0

1 year ago

24.127.3

1 year ago

24.114.0

1 year ago

24.58.0

1 year ago

24.50.0

1 year ago

24.17.0

1 year ago

24.10.0

1 year ago

23.187.0

2 years ago

23.181.41

2 years ago

23.181.42

2 years ago

23.181.40

2 years ago

23.181.25

2 years ago

23.181.24

2 years ago

23.53.0

2 years ago

23.34.0

2 years ago

23.48.0

2 years ago

23.48.1

2 years ago

23.3.1

3 years ago

22.314.0

3 years ago

23.10.0

2 years ago

22.311.0

3 years ago

22.319.1

3 years ago

22.306.0

3 years ago

22.216.0

3 years ago

22.202.0

3 years ago

22.200.3

3 years ago

22.200.2

3 years ago

22.200.1

3 years ago

22.200.0

3 years ago

22.186.0

3 years ago