generate_map_metadata: Generate the YAML for each Congressional election map

Description Usage Arguments Value Examples

View source: R/map-yaml.R

Description

Generate the YAML for each Congressional election map

Usage

1
2
generate_map_metadata(meae_id, legend = "fed-vs-anti",
  always_allow_html = TRUE, layout_type = "maps-show")

Arguments

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.

Value

A list of all the needed metadata for rendering the maps in Jekyll

Examples

1
generate_map_metadata(meae_id = "meae.congressional.congress05.ny.county")

mapping-elections/mappingelections documentation built on July 24, 2019, 9:42 a.m.