comment_info: Comments Extractor

View source: R/comment_info.R

comment_infoR Documentation

Comments Extractor

Description

Extracts comments together with course, year, number of thumbs-ups, and number of thumbs-downs, and filters by year.

Usage

comment_info(url, y = 2018)

Arguments

url

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

y

A numeric value to filter comments after a certain year.

Value

A data frame with 5 columns

  • course - Course code

  • year - Delivery year of the course

  • comments - Comments on the professor

  • thumbsup - Number of thumbs-up

  • thumbsdown - Number of thumbs-down

Examples

url <- 'https://www.ratemyprofessors.com/ShowRatings.jsp?tid=2036448'
comment_info(url = url, y = 2018)

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