get_active_profiles_daily: Get active profiles, per each day, within the analysis period

Description Usage Arguments Details

View source: R/fct_aws.R

Description

Generate long table, with profile_id per each day within the period

Usage

1
get_active_profiles_daily(dt, analysis_period)

Arguments

dt

input data.table

analysis_period

period to analyse

Details

There are following steps - leave only changes related to status, while flattening all the others - trim down profile_id to only these, which had at least one active day within the period; it allows to reduce no of profiles significantly - create sequence of dates, for the analysis period - roll join datasets, producing long table with dates, profile_id and status


piotrgruszecki/fd.dashboard documentation built on March 21, 2021, 6:16 p.m.