Skip to content

rraeyyi/News-popularity-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project3

Rachel Hencher & Yi Ren

Purpose

The purpose of this repository is to store the files related to ST 558 Project 3, as well as to record the history of our work for the assignment. The overall goal of the project was to read in and analyze an online news popularity data set from Mashable in order to create predictive models for the number of article shares. Markdown reports were automated for each of the six channels of interest and can be found linked below.

R packages used

library(readr)
library(dplyr)
library(knitr)
library(caret)
library(ggplot2)
library(GGally)
library(ggpubr)
library(rmarkdown)

Automation for reports

channel <- c("Lifestyle", "Entertainment", "Business", "SocialMedia", "Technology", "World")
report <- function(channel){
  render("Project3.Rmd", 
         params = list(channel = channel), 
         output_file = paste0(channel, ".md"))
}
lapply(channel, report)

Links to each report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published