create_feature.Rd
This function create a new coll named with the description tag in the stat_units table. The function will extract feature form the measure table. You need to specify which tag you want, in which period you want to execute the aggregation method and which col name you want in the stat_units table.
create_feature(
model,
tag_to_create,
wanted_tag,
start,
end,
aggregation_method = mean_aggregate
)
An AnalysR model
Label to write in the stat unit table
The name of the measures we want to work on
A date marking the beginning of the studied time period.
A date marking the end of the studied time period.
A function to aggregate data. Default: mean_aggregate