Generate user activity data
get_activity.RdThis function generates a dataframe where each row is a combination of a row from users and a row from activity_dates.
It also calculates the days_from_start and simulates whether the user was active on a particular date, using the get_activity_probability function, dependent on number of days of activity, so that there is a much lower chance of activity the longer it has been from the user's start date.
The result is filtered so that days_from_start begins at 0.
Arguments
- builds
 A dataframe with build release information.
- users
 A dataframe with user information.
Examples
if (FALSE) {
builds <- get_versions() %>% set_build_releases()
users <- get_users(builds)
user_activity_data <- get_activity(builds, users)
}