URL actions

URL actions are useful when you wish to connect users to external and auxiliary data, whether it's from a public interest website or to a related dashboard. In the next example, you will create a URL action that allows users to view the World Bank's website for each country.

The URL action that you will build will append the name of each country as a variable to the root URL for the World Bank's well-organized websites.

The root URL is http://www.worldbank.org/en/country, and in order to get to a specific country, such as South Africa, you need to add the country name so that it looks like http://www.worldbank.org/en/country/southafrica.

There is one issue—there are no spaces in the country names in the URL and yet, there are spaces in ...

Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.