Returns matching places from iNaturalist, useful for finding the place ID to pass to inat_fetch().

inat_search_place(name, n = 10)

Arguments

name

Character. Place name to search.

n

Integer. Maximum number of results to return (default 10).

Value

A data frame with columns id, name, display_name, and place_type.

Examples

if (FALSE) { # \dontrun{
inat_search_place("United Kingdom")
inat_search_place("Bolivia")
} # }