twitter.place.country

note icon

NoteTwitter location data is available only if a Twitter user chooses to activate it. For each individual Tweet, they can choose whether or not to include location data and which location they want to specify, regardless of their real location. For example, a user in New York City could select Edinburgh, Scotland as the purported origin of a Tweet. If they choose not to include location data, all the twitter.place.* targets are unpopulated for that Tweet.

The country from which a Tweet was sent.

See also twitter.place.country_code.

Examples

  1. Filter for Tweets for which the user-supplied location information is in the US:

    twitter.place.country == "United States"

  2. Filter for Tweets for which the user-supplied location information is in the UK:

    twitter.place.country == "United Kingdom"

Notes

Here are some sample countries that you can filter against:

Algeria Argentina Armenia
Australia Austria Azerbaijan
Bahamas Belarus Belgien
Belgium Bosnia and Herzegovina Brasil
Canada Chile Colombia
Costa Rica Curacao Denmark
Dominican Republic Ecuador Egypt
El Salvador Estonia Finland
France Georgia Germany
Greece Guadeloupe Guatemala
Honduras Hong Kong Hungary
India Indonesia Ireland
Italia Italy Jamaica
Japan Korea, Republic Of Kosovo
Lao People's Democratic Republic Latvia Luxembourg
Macedonia, the Former Yugoslav Republic Of Malaysia Martinique
Mexico Monaco Morocco
Norway Pakistan Panama
Peru Philippines Poland
Portugal Russia Saudi Arabia
Serbia South Africa Spain
Sri Lanka Suomi Sweden
Switzerland Taiwan, Republic of China Thailand
The Netherlands Trinidad and Tobago Tunisia
Turkey Ukraine United Arab Emirates
United Kingdom United States Uruguay
Venezuela, Bolivarian Republic Of

Resource information

Target service: Twitter

Target object: Twitter: Place

Type: string

Array: No

Always exists: No