WLJS LogoWLJS Notebook

CountryData

CountryData["tag", property] gives the value of the specified property for the country, country-like entity, or group of countries specified by "tag".

CountryData["tag", {property, ..., dates}] gives time series for certain economic and other properties.

Examples

Get country population:

CountryData["France", "Population"]

Get country capital:

CountryData["Germany", "Capital"]
(* Entity["City", {"Berlin", "Berlin", "Germany"}] *)

List all countries:

CountryData[]

Please visit the official Wolfram Language Reference for more details.

On this page