Skip to contents

This function renders a base map with the country highlighted.

Usage

gph_base_map(country)

gph_base_tmap(country)

Arguments

country

Country to highlight

Value

A leaflet map with the country borders

Examples

# Using Leaflet
gph_base_map("Switzerland")
gph_base_map("United Kingdom")
# Using tmap (v4) gph_base_tmap("Switzerland") #> Registered S3 method overwritten by 'stars': #> method from #> st_interpolate_aw.stars sf #> ℹ tmap modes "plot" - "view" #> ℹ toggle with `tmap::ttm()` #> This message is displayed once per session. gph_base_tmap("United Kingdom") #> ℹ tmap modes "plot" - "view"