Description Usage Arguments Details Examples
This function returns unique entries from a data frame with the highest value in a specified column of interest.
1 |
df |
A dataframe |
x |
A character vector of column names to remove on |
value |
A character entry to sort on and keep the largest (or smallest) value |
max |
Optional parameter to keep max or min value. Defaults to keeping max. |
This function is specifically for fulfilling common data-call requests. An example is radon measurements at residences each year. If a given residence has more than one measurement in a given year, only the most elevated test should be sent.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.