R/find_college.R

Defines functions find_college

Documented in find_college

#' Find College
#'
#' @param x, the data of the universities
#' @return information about the median salary of graduates
#' @import
#'     dplyr
#' @examples
#'     find_college("University of Mississippi")
#' @export

find_college <- function(x) {
  x1 <- dplyr::filter(salaries_by_college_type, name == x)
  return(as.data.frame(x1))
}
nicolekunkel/salaries documentation built on Dec. 7, 2017, 12:24 a.m.