load_ski_nivo.ModelData: Set ski stations data to be used with the statistical model

Description Usage Arguments

Description

  1. Cast nivo observation datetime to date and group by station and date

  2. Group ski evaluations per route and date

  3. Join ski evaluations and nivo observations:

  4. join ski_routes and nivo_stations based on their position -> routes_stations

  5. join ski_evaluations_history and routes_stations using the route id -> ski

  6. join ski and nivo_observations_history using the station id and the dates: observation date and evaluation date. For an evaluation we are interested about observations of the previous days, up to past_horizon

Usage

1
2
## S3 method for class 'ModelData'
load_ski_nivo(obj, past_horizon)

Arguments

obj

ModelData

past_horizon

integer. Past horizon to consider in days


vadmbertr/bonski.predict documentation built on Dec. 23, 2021, 2:06 p.m.