Learn R Programming

futureheatwaves (version 1.0.3)

hw_datafr: Example of extreme event characteristics dataset

Description

This dataset provides an example of the structure of the dataframe of extreme events and their characteristics, as created by gen_hw_set. This example dataset can be used in developing custom functions to use with apply_all_models.

Usage

hw_datafr

Arguments

Format

A dataframe with 258 rows and 23 columns. The variables are:
  • hw.number: A sequential number identifying each heat wave in a city;
  • mean.var: Average daily temperature across all days in the heat wave, in degrees Fahrenheit;
  • max.var: Highest daily temperature across days in the heat wave, in degrees Fahrenheit;
  • min.var: Lowest daily temperature across days in the heat wave, in degrees Fahrenheit
  • length: Number of days in the heat wave;
  • start.date: Date of the first day of the heat wave;
  • end.date: Date of the last day of the heat wave;
  • start.doy: Day of the year of the first day of the heat wave (1 = Jan. 1, etc.);
  • start.month: Month in which the heat wave started (1 = January, etc.);
  • days.above.abs.threshold.1: Number of days in the heat wave above 80 degrees Fahrenheit;
  • days.above.abs.threshold.2: Number of days in the heat wave above 85 degrees Fahrenheit;
  • days.above.abs.threshold.3: Number of days in the heat wave above 90 degrees Fahrenheit;
  • days.above.abs.threshold.4: Number of days in the heat wave above 90 degrees Fahrenheit;
  • days.above.99th: Number of days in the heat wave above the 99th percentile temperature for the city, using the period specified by the user with the referenceBoundaries argument in gen_hw_set as a reference for determining these percentiles;
  • days.above.99.5th: Number of days in the heat wave above the 99.5th percentile temperature for the city, using the period specified by the user with the referenceBoundaries argument in gen_hw_set as a reference for determining these percentiles;
  • first.in.year: Whether the heat wave was the first to occur in its calendar year (Note: this characteristic is likely not useful in southern hemisphere studies.);
  • threshold: The temperature used as the threshold for the heat wave definition in the city;
  • mean.var.quantile: The percentile of the average daily mean temperature during the heat wave compared to the city's year-round temperature distribution, based on the temperatures for the city during the period specified by the referenceBoundaries argument in gen_hw_set;
  • max.var.quantile: The percentile of the highest daily mean temperature during the heat wave compared to the city's year-round temperature distribution;
  • min.var.quantile: The percentile of the lowest daily mean temperature during the heat wave compared to the city's year-round temperature distribution;
  • mean.yearround.var: The city's average year-round temperature, based on the temperatures for the city during the period specified by the referenceBoundaries argument in gen_hw_set;
  • mean.seasonal.var: The city's average May--September temperature, based on the temperatures for the city during the period specified by the referenceBoundaries argument in gen_hw_set; and
  • city: The identifier for the city, as given in the file specified in the citycsv argument of gen_hw_set.