Creates a graph using the climate and elevation data which has
been extracted for a given location
. It accepts the data formatted
from the ce_extract
function.
plot_wl(data, geo_id, ...)
List. Containing climate, elevation and latitude
data sets. Structured by ce_extract()
.
Character. Corresponding to a specific feature contained in the
"location"
argument (specifically in the "location_g"
column).
Arguments to control styling in
ggclimat_walter_lieth()
.
Returns a base R family of plot. This function uses the climaemet
package to create the Walter and Lieth (1960) climatic diagram.
Pizarro, M, Hernangómez, D. & Fernández-Avilés G. (2023). climaemet: Climate AEMET Tools. Comprehensive R Archive Network. doi:10.5281/zenodo.5205573Walter, H.B., & Lieth, H. (1960). Klimadiagramm-Weltatlas. VEB Gustav Fischer Verlag, Jena.
Download climate data: ce_download()
# Step 1. Import the Italian Biome polygon data
# Step 2. Run the download function
# Step 3. Run the extract function
#* See ce_download & ce_extract documentation
# Steps 1, 2 & 3 can be skipped by loading the extracted data (it_data)
data("it_data", package = "climenv")
# Step 4. Visualise the climatic envelope using a Walter-Lieth diagram
plot_wl(data = it_data, geo_id = "NEM")