"Country" (interpreter type)

Natural-language name of a country.

DetailsDetails

  • "Country" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "Country" requires connectivity to the Wolfram Cloud.

Allowed FormsAllowed Forms

  • Any natural-language name of a country.
  • Canadacountry names
    DJIcountry codes
    .deinternet country codes

Restriction SpecificationsRestriction Specifications

  • Restricted["Country",{{choice1, }}]one among choices
    Restricted["Country",entityclass]one among the countries in entityclass
    Restricted["Country",reg]a country in the region reg, given as an Entity

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Interpret countries:

In[1]:=
Click for copyable input
Out[1]=

Restrict to countries in a class:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

What country codes are hidden in the last 300 characters of Shakespeare's Hamlet?

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=