diff --git a/README.Rmd b/README.Rmd index 347122e..e946388 100644 --- a/README.Rmd +++ b/README.Rmd @@ -48,12 +48,14 @@ plot_denmark() ``` ```{r} -plot_regions(region = c("Region Nordjylland", "Region Midtjylland")) +region <- plot_regions(region = c("Region Nordjylland", "Region Midtjylland")) ``` ```{r} -plot_municipalities(municipality = c("Aarhus", "Favrskov", "Vejle")) +municipality <- plot_municipalities(municipality = c("Aarhus", "Favrskov", "Vejle")) ``` - - +```{r} +library(patchwork) +region + municipality +``` diff --git a/README.md b/README.md index e0b63c4..659f5a9 100644 --- a/README.md +++ b/README.md @@ -49,19 +49,22 @@ plot_denmark() ``` r -plot_regions(region = c("Region Nordjylland", "Region Midtjylland")) +region <- plot_regions(region = c("Region Nordjylland", "Region Midtjylland")) #> → Using cached response. #> Change this behaviour by setting cache = FALSE ``` - - ``` r -plot_municipalities(municipality = c("Aarhus", "Favrskov", "Vejle")) +municipality <- plot_municipalities(municipality = c("Aarhus", "Favrskov", "Vejle")) #> → Getting data on `kommuner`. This usually takes 13.13s. #> Fetching data from the API. This will take some time. #> Reading data to `st`. #> Converting map data to `sf` object ``` - +``` r +library(patchwork) +region + municipality +``` + + diff --git a/man/figures/README-unnamed-chunk-4-1.png b/man/figures/README-unnamed-chunk-4-1.png new file mode 100644 index 0000000..e61e022 Binary files /dev/null and b/man/figures/README-unnamed-chunk-4-1.png differ