Computes a raster from generation point sources and draws a heatmap of that density.
1 2 | draw_density(t, type, generators, generation, colors, scenario = "c_RT_R30P",
legend_color = "white", ...)
|
t |
timestep of interest |
type |
generation type string (e.g., "Wind") |
generators |
generator data frame with "Generator_Name","Node_Region","Type","lat","lon" |
generation |
generation time-series as transformed by load_generation |
colors |
generation type color table |
ramp |
color map (defaults to rev(brewer.Greys)) |
shape |
underlying shapefile (defaults to ISO regions) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.