# Include the HTML output using htmltools::includeHTML
htmltools::includeHTML("C:\\Users\\harri\\OneDrive\\Documents\\InteractiveMaps\\nj2012election_map.html")
## Warning: `includeHTML()` was provided a `path` that appears to be a complete HTML document.
## ✖ Path: C:\Users\harri\OneDrive\Documents\InteractiveMaps\nj2012election_map.html
## ℹ Use `tags$iframe()` to include an HTML document. You can either ensure `path` is accessible in your app or document (see e.g. `shiny::addResourcePath()`) and pass the relative path to the `src` argument. Or you can read the contents of `path` and pass the contents to `srcdoc`.
leaflet