{"id":18733469,"url":"https://github.com/queryverse/vegadatasets.jl","last_synced_at":"2025-04-12T18:31:43.768Z","repository":{"id":30108723,"uuid":"123645937","full_name":"queryverse/VegaDatasets.jl","owner":"queryverse","description":"Julia package for loading the standard Vega data sets","archived":false,"fork":false,"pushed_at":"2022-12-11T00:36:24.000Z","size":7263,"stargazers_count":20,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T12:51:13.043Z","etag":null,"topics":["julia","queryverse"],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/queryverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-03T00:43:59.000Z","updated_at":"2024-01-12T01:11:30.000Z","dependencies_parsed_at":"2022-08-07T15:00:59.692Z","dependency_job_id":null,"html_url":"https://github.com/queryverse/VegaDatasets.jl","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queryverse%2FVegaDatasets.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queryverse%2FVegaDatasets.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queryverse%2FVegaDatasets.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/queryverse%2FVegaDatasets.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/queryverse","download_url":"https://codeload.github.com/queryverse/VegaDatasets.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248613501,"owners_count":21133523,"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":["julia","queryverse"],"created_at":"2024-11-07T15:09:52.349Z","updated_at":"2025-04-12T18:31:39.606Z","avatar_url":"https://github.com/queryverse.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VegaDatasets\n\n[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![Build Status](https://travis-ci.org/queryverse/VegaDatasets.jl.svg?branch=master)](https://travis-ci.org/queryverse/VegaDatasets.jl)\n[![Build status](https://ci.appveyor.com/api/projects/status/ad1mcex5tjbe160r/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/vegadatasets-jl/branch/master)\n[![codecov](https://codecov.io/gh/queryverse/VegaDatasets.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/queryverse/VegaDatasets.jl)\n\n\n## Overview\n\nThis package provides an easy way to load the datasets in [vega-datasets](https://github.com/vega/vega-datasets) from julia.\n\n## Installation\n\nYou can install this package from the julia REPL with the following command:\n\n````julia\nPkg.add(\"VegaDatasets\")\n````\n\n## Getting started\n\nThe package only exports one function that takes the name of a dataset and returns a ``VegaDataset`` with that data:\n\n````julia\nusing VegaDatasets\n\nvg = dataset(\"iris\")\n````\n\n``VegaDataset`` implements the [iterable tables](https://github.com/queryverse/IterableTables.jl) interface, so it can be passed to any sink that accepts iterable tables.\n\nFor example, to convert a dataset into a ``DataFrame``, you can write:\n\n````julia\nusing VegaDatasets, DataFrames\n\ndf = DataFrame(dataset(\"iris\"))\n````\n\nYou can pipe a ``VegaDataset`` directly into a [VegaLite.jl](https://github.com/fredo-dedup/VegaLite.jl) plot:\n\n````julia\nusing VegaLite, VegaDatasets\n\ndataset(\"iris\") |\u003e @vlplot(:point, x=:sepalLength, y=:petalWidth)\n````\n\n### Non-tabular datasets\n\nThe following datasets are not tabular in nature:\n\n* earthquakes\n* graticule\n* londonBoroughs\n* londonTubeLines\n* miserables\n* us_10m\n* world_110m\n\nIn those cases an object is returned that can be lowered to JSON, or one can access the `.path` property for such an object to get a path to the location of the dataset.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueryverse%2Fvegadatasets.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueryverse%2Fvegadatasets.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueryverse%2Fvegadatasets.jl/lists"}