nschools | R Documentation |
nschools
returns the number of distinct values in a column. In this case, schools.
nschools(data, column_name)
data |
a dataframe or tibble to pass in. |
column_name |
the column you want to find the number of unique universities of. |
This is a function that takes the main data on schools, and counts how many schools there are by using the distinct() function.
nschools(dataframe, columnname)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.