Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map to data set with Country coloumn #104

Open
Ganni93 opened this issue Dec 3, 2019 · 1 comment
Open

Map to data set with Country coloumn #104

Ganni93 opened this issue Dec 3, 2019 · 1 comment

Comments

@Ganni93
Copy link

Ganni93 commented Dec 3, 2019

Hi, I have i data set which includes a coloumn called Country and naturally consists of a list of countries. I would like to join (assuming via 'lookup' and 'key' properties in vega lite with this data set so that I can plot my data onto the world-110m according to the country.

I could see from other examples (different maps) that this can be done via 'Id' or'Name_1' field however I cannot seem to get it anything to work for world-110m.

Could you kindly confirm what field I should use to join this 'world-110m' with the 'Country' field in my data set?
Thanks

@cjbraun
Copy link

cjbraun commented Jan 25, 2021

The id field represents the ISO 3116-1 numeric country codes. If you just have the name of countries you will have to figure out how to map those to the country codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants