Skip to contents

Fetch place information from YSO places (yso-paikat)

Usage

yso_place(x)

Arguments

x

Place id, page URL, or YSO URI

Value

A one-row tibble with key fields for the place

Examples

place <- yso_place("http://www.yso.fi/onto/yso/p94257")
print(place)
#> # A tibble: 1 × 18
#>   input uri   label_fi label_en label_sv broader_uri broader_fi broader_en   lat
#>   <chr> <chr> <chr>    <chr>    <chr>    <chr>       <chr>      <chr>      <dbl>
#> 1 http… http… Lapua    Lapua    Lappo    http://www… Etelä-Poh… South Ost…  63.0
#> # ℹ 9 more variables: long <dbl>, nls_type_uri <chr>, nls_type_en <chr>,
#> #   created <chr>, modified <chr>, exactMatch <chr>, closeMatch <chr>,
#> #   narrower_uris <chr>, related_uris <chr>