extract_location.Rd
Extract the most likely home location for each user based on choosed column value
extract_location(
df,
user = "u_id",
location = "loc_id",
show_n_loc = 1,
keep_score = F,
...
)
A nested dataframe by user
Name of column that holds unique identifier for each user
Name of column that holds unique identifier for each location
Number of homes to be shown
Choice to keep score or not
Name of column that holds weighted score for each user