Description Usage Arguments Value Examples
This function generates an R Markdown page which in turn generates the map
view page in the Jekyll website. The R Markdown file will be created in the
directory passed to the function (presumably the _maps
) directory in
Jekyll). It contains the YAML metadata header plus the R code that creates
the maps and tables. This file will need to be edited by hand to include text
and captions, so by default this function will not overwrite the created
file. The R Markdown file has to be run separately to create the Markdown
file used by Jekyll.
1 | make_map_page(meae_id, ..., dir, overwrite = FALSE)
|
meae_id |
The MEAE ID of the map to be created. |
... |
Additional arguments passed on to
|
dir |
The directory in which to create R Markdown file. The file will be
named after the |
overwrite |
If the file already exists, should it be overwritten? |
Invisibly returns the path to the file that was created.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.