Skip to contents

Returns a random place and all associated data

Usage

random_place()

Value

A data frame describing a random place and all associated data.

See also

place_lookup for documentation.

Examples

# \donttest{
random_place()
#>                   code          name_1 name_1_lang name_2 name_2_lang
#> 1 osgb4000000074579283 Talybont-on-Usk        NULL   NULL        NULL
#>   local_type outcode county_unitary county_unitary_type district_borough
#> 1    Village     LD3  Powys - Powys    UnitaryAuthority             NULL
#>   district_borough_type region country longitude latitude eastings northings
#> 1                  NULL  Wales   Wales -3.289765 51.89556   311347    222676
#>   min_eastings min_northings max_eastings max_northings
#> 1       311102        222262       311948        223180
# }