queryverse / VegaDatasets.jl

Julia package for loading the standard Vega data sets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geographic Maps VegaLite example missing datasets

jrising opened this issue · comments

There's a problem with the us-10m dataset and unemployment.tsv appears to not be available:

julia> us10m = dataset("us-10m").path
ERROR: KeyError: key 1 not found
Stacktrace:
 [1] getindex(::Dict{String,Any}, ::Int64) at ./dict.jl:474
 [2] dataset(::String) at /home/risingj/.julia/v0.6/VegaDatasets/src/VegaDatasets.jl:13

julia> unemployment = dataset("unemployment.tsv").path
ERROR: Unknown dataset.
Stacktrace:
 [1] dataset(::String) at /home/risingj/.julia/v0.6/VegaDatasets/src/VegaDatasets.jl:35

What version do you have? That code works on my system...

This was due to an old version of VegaDatasets. It's now resolved.