recipe: homelocator - HMLC

recipe_HMLC(
  df,
  user = "u_id",
  timestamp = "created_at",
  location = "loc_id",
  show_n_loc,
  keep_original_vars = F,
  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_original_vars

Option to keep or remove columns other than 'user, timestamp, and location'

keep_score

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