find_location: Get location ID depending on a query term.

View source: R/find_location.R

find_locationR Documentation

Get location ID depending on a query term.

Description

Get location ID depending on a query term using the Kiwi API.

Usage

find_location(term, location_types = c())

Arguments

term

searched term (for suggestions).

location_types

list of desired location output, accepted values: AIRPORT, AUTONOMOUS_TERRITORY, CITY, CONTINENT, COUNTRY, REGION, SUBDIVISION, TOURIST_REGION.

Examples


cba_locs <- find_location("Cordoba", location_types = c("CITY", "REGION"))



jcrodriguez1989/rflights documentation built on Nov. 21, 2024, 2:23 a.m.