ny_geo | R Documentation |
The Geographic API extends the Semantic API, using a linked data approach to enhance location concepts used in The New York Times' controlled vocabulary and data resources which combine them with the GeoNames database, an authoritative and free to use database of global geographical places, names and features.
ny_geo(
name = NULL,
longitude = NULL,
latitude = NULL,
ne = NULL,
sw = NULL,
elevation = NULL,
filter = NULL,
since = NULL,
until = NULL,
facets = FALSE,
sort = NULL,
pages = 1
)
name |
A displayable name for the specified place. |
longitude , latitude |
Coordinates of the specified place. |
sw , ne |
Southwest and Northeast, used in combination with |
elevation |
The elevation of the specified place, in meters. |
filter |
Filters search results based on the facets provided. For more information on the values you can filter on, see |
since , until |
Date range as |
facets |
When facets is set to |
sort |
Sorts your results on the fields specified. |
pages |
Number of pages of results to retrieve |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.