mock_env_data: Mock Environmental Data

mock_env_dataR Documentation

Mock Environmental Data

Description

A small dataset of environmental variables created for testing and examples. This dataset includes hourly observations with random values for meteorological and temporal variables.

Usage

mock_env_data

Format

A data frame with 100 rows and 12 variables:

date

POSIXct. Date and time of the observation (hourly increments).

value

Numeric. Randomly generated target variable.

GLO

Numeric. Global radiation in W/m² (random values between 0 and 1000).

TMP

Numeric. Temperature in °C (random values between -10 and 35).

RFE

Numeric. Rainfall in mm (random values between 0 and 50).

WIG

Numeric. Wind speed in m/s (random values between 0 and 20).

WIR

Numeric. Wind direction in degrees (random values between 0 and 360).

LDR

Numeric. Longwave downward radiation in W/m² (random values between 0 and 500).

day_julian

Integer. Julian day of the year, ranging from 1 to 10.

weekday

Integer. Day of the week, ranging from 1 (Monday) to 7 (Sunday).

hour

Integer. Hour of the day, ranging from 0 to 23.

date_unix

Numeric. UNIX timestamp (seconds since 1970-01-01 00:00:00 UTC).

Source

Generated within the package for example purposes.

Examples

data(mock_env_data)
head(mock_env_data)

ubair documentation built on April 12, 2025, 2:12 a.m.