Description Usage Arguments Value
View source: R/query_location_functions.R
This functions query for Wikidata items using a box around the location. You have to look first for the wikidata location identifier on wikidata.org ('Q_____') and to set two other locations that will become the corners of the box. Look for the identifier of these two locations and set at which corner they are in the format 'NorthEast', 'NorthWest', 'SouthEast', 'SouthWest'.
1 2 | query_location_3(city_code, first_corner_city_code, first_city_corner,
second_corner_city_code, second_city_corner)
|
city_code |
The Wikidata identifier ('Q____') |
first_corner_city_code |
The Wikidata identifier of the first box location('Q____') |
first_city_corner |
The corner at which the first box location is ('NorthEast', 'NorthWest', 'SouthEast', 'SouthWest') |
second_corner_city_code |
The Wikidata identifier of the second box location('Q____') |
second_city_corner |
The corner at which the second box location is ('NorthEast', 'NorthWest', 'SouthEast', 'SouthWest') |
The list of Wikidata items that are geolocated into that box around the location with Wikidata identifier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.