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 local_type
#> 1 osgb4000000074557216 Baschurch        NULL   NULL        NULL    Village
#>   outcode county_unitary county_unitary_type district_borough
#> 1     SY4     Shropshire    UnitaryAuthority             NULL
#>   district_borough_type        region country longitude latitude eastings
#> 1                  NULL West Midlands England -2.854268 52.79451   342494
#>   northings min_eastings min_northings max_eastings max_northings
#> 1    322224       341924        320891       343161        323193
# }