R/find_degree.R

Defines functions find_degree

Documented in find_degree

#' Find Degree
#'
#' @param x, the data of the degrees
#' @return information about the median salary of graduates according to undergraduate degree
#' @import
#'     dplyr
#' @examples
#'     find_degree("Biology")
#' @export

find_degree <- function(x) {
  x1 <- dplyr::filter(degrees_that_pay_back, major == x)
  return(as.data.frame(x1))
}
nicolekunkel/salaries documentation built on May 18, 2019, 8:10 p.m.