Calculates the sum of risk scores from a list of H-phrases and expands the table
compute_risk_score(table, var_name)Adds a variable indicating the sum of risk scores needed to compute the Pesticide Load Indicator Check national pesticide databases for information on product labels of pesticides (information on H-phrases of each product).
Dataframe with H-phrases on product level.
Name of the variable that contains the information (string) on H-phrases. For example "H317; H411" or "H410, H411".