query_location_3: Query Wikidata using a box around the location (3)

Description Usage Arguments Value

View source: R/query_location_functions.R

Description

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'.

Usage

1
2
query_location_3(city_code, first_corner_city_code, first_city_corner,
  second_corner_city_code, second_city_corner)

Arguments

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')

Value

The list of Wikidata items that are geolocated into that box around the location with Wikidata identifier


serenasignorelli/QueryWikidataR documentation built on May 29, 2019, 6:58 p.m.