ratings_info: Ratings Extractor

View source: R/ratings_info.R

ratings_infoR Documentation

Ratings Extractor

Description

Extracts and summarizes all rating information on a professor.

Usage

ratings_info(url, y = 2018)

Arguments

url

A character value indicating the URL of the professor's webpage.

y

A numeric value to filter ratings after a certain year.

Value

A list of 1 total number of ratings and 2 data frames

  • n - Number of ratings after filtering

  • ratings - All rating information after a given year

  • summary - Summary statistics

Examples

url <- 'https://www.ratemyprofessors.com/ShowRatings.jsp?tid=2036448'
ratings_info(url = url)

m-fili/ProfRate documentation built on May 22, 2022, 8:33 p.m.