recipe: frequency - FREQ

recipe_FREQ(
  df,
  user = "u_id",
  timestamp = "created_at",
  location = "loc_id",
  show_n_loc,
  keep_score = F
)

Arguments

df

An enriched dataframe

user

Name of column that holds unique identifier for each user

timestamp

Name of timestamp column. Should be POSIXct

location

Name of column that holds unique identifier for each location

show_n_loc

Number of potential homes to extract

keep_score

Option to keep or remove calculated result/score per user per location