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 outcode
#> 1 osgb4000000074333981 Newton        NULL   NULL        NULL     Hamlet     TD9
#>     county_unitary county_unitary_type district_borough district_borough_type
#> 1 Scottish Borders    UnitaryAuthority             NULL                  NULL
#>     region  country longitude latitude eastings northings min_eastings
#> 1 Scotland Scotland -2.636312 55.47918   359880    620780       359661
#>   min_northings max_eastings max_northings
#> 1        620556       360161        621056
# }