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

Improved Error Handling for Map Viz #41796

Open
ixipixi opened this issue Apr 24, 2024 · 0 comments
Open

Improved Error Handling for Map Viz #41796

ixipixi opened this issue Apr 24, 2024 · 0 comments

Comments

@ixipixi
Copy link
Contributor

ixipixi commented Apr 24, 2024

Is your feature request related to a problem? Please describe.
Given a list of countries plotted on a map, sometimes a country will not show up on the map because the code has a leading or trailing whitespace in it. We could also consider the case where there is a 2 digit code that doesn't correspond to a country code.

Describe the solution you'd like
I could think of a few options for handling this:

  • Implementing string cleaning on "country" semantic types (doesn't handle accurately formatted but invalid codes)
  • Indicate on the map viz settings that there are some invalid values in the data set (valuable even if it doesn't indicate which ones)
  • Introduce a custom expression that would allow users to validate country codes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants