Skip to contents

Create a globe with the countries in the list highlighted

Usage

gph_mini_globe(countries)

Arguments

countries

A vector of country names

Value

A ggplot map

Examples

gph_mini_globe("Switzerland")
#> although coordinates are longitude/latitude, st_union assumes that they are
#> planar
#> although coordinates are longitude/latitude, st_union assumes that they are
#> planar
#> Warning: st_buffer does not correctly buffer longitude/latitude data
#> dist is assumed to be in decimal degrees (arc_degrees).
#> although coordinates are longitude/latitude, st_intersection assumes that they
#> are planar
#> Warning: attribute variables are assumed to be spatially constant throughout all geometries
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: x is already of type POLYGON.
#> Warning: Could not calculate the predicate for layer 1; ignored