Objectives

Create a web page using R Markdown that features a map created with Leaflet. Host your webpage on either GitHub Pages, RPubs, or NeoCities.

Your webpage must contain the date that you created the document, and it must contain a map created with Leaflet. We would love to see you show off your creativity!

Review Criteria

The rubric contains the following two questions:

  1. Does the web page feature a date and is this date less than two months before the date that youโ€™re grading this assignment?
Sys.time()
## [1] "2021-11-19 09:17:57 UTC"
Sys.Date()
## [1] "2021-11-19"

Does the web page feature an interactive map that appears to have been created with Leaflet?

I will show in the map my top 5 cities to do vacations in Europe.

library(leaflet)

Urlaub <- leaflet()
Urlaub <- addTiles(Urlaub)
Urlaub <- addMarkers(Urlaub, lng=12.5683, lat=55.6761, popup="Copenhagen, Denmark")
Urlaub <- addMarkers(Urlaub, lng=5.1214, lat=52.0907, popup="Utrecht, The Netherlands")
Urlaub <- addMarkers(Urlaub, lng=11.1525, lat=46.6713, popup="Merano, Italy")
Urlaub <- addMarkers(Urlaub, lng=9.9937, lat=53.5511, popup="Hamburg, Germany")
Urlaub <- addMarkers(Urlaub, lng=7.7521, lat=48.5734, popup="Strasbourg, France")
Urlaub