Give a weighted value for one or more variables in a nested dataframe

score_nested(
  df,
  user = "u_id",
  location = "loc_id",
  keep_original_vars = F,
  ...
)

Arguments

df

A nested dataframe by user

user

Name of column that holds unique identifier for each user

location

Name of column that holds unique identifier for each location

...

Name-value pairs of expression

keep_ori_vars

Option to keep or drop original varialbes