{"id":13518687,"url":"https://github.com/mode/swiveljs","last_synced_at":"2026-01-11T05:52:13.068Z","repository":{"id":24599493,"uuid":"28007979","full_name":"mode/swiveljs","owner":"mode","description":"We pivot so you don't have to","archived":false,"fork":false,"pushed_at":"2017-04-19T00:23:16.000Z","size":5064,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":69,"default_branch":"master","last_synced_at":"2024-11-02T00:32:39.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-14T21:04:37.000Z","updated_at":"2018-12-11T21:51:19.000Z","dependencies_parsed_at":"2022-08-23T00:51:09.545Z","dependency_job_id":null,"html_url":"https://github.com/mode/swiveljs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mode%2Fswiveljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mode%2Fswiveljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mode%2Fswiveljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mode%2Fswiveljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mode","download_url":"https://codeload.github.com/mode/swiveljs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246453742,"owners_count":20780000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:47.755Z","updated_at":"2026-01-11T05:52:13.028Z","avatar_url":"https://github.com/mode.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"![status](https://travis-ci.org/mode/swiveljs.svg?branch=master)\n[![Coverage Status](https://coveralls.io/repos/mode/swiveljs/badge.svg?branch=master)](https://coveralls.io/r/mode/swiveljs?branch=master)\n\n```\n{\n  fields: [\n    {type: 'group',   name: 'season'},\n    {type: 'pivot',   name: 'team'},\n    {type: 'sum',     name: 'yards', as: 'Total Yards'},\n    {type: 'average', name: 'age', as: 'Total Yards'}\n  ]\n}\n\nswivel(dataset.content)\n  .group('quarter')\n  .pivot('season')\n  .sum('yards')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmode%2Fswiveljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmode%2Fswiveljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmode%2Fswiveljs/lists"}