Description Usage Arguments Value Examples
Generate the YAML for each Congressional election map
1 2 | generate_map_metadata(meae_id, legend = "fed-vs-anti",
always_allow_html = TRUE, layout_type = "maps-show")
|
meae_id |
A unique Mapping Early American Elections id. |
legend |
A string identifying the legend to be used with this map. |
always_allow_html |
Default to TRUE. |
layout_type |
Type of html layout. Default set to maps-show. |
A list of all the needed metadata for rendering the maps in Jekyll
1 | generate_map_metadata(meae_id = "meae.congressional.congress05.ny.county")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.