Skip to content

gohchinyong1994/R-Codes

Repository files navigation

Data Science Projects

A collection of codes in R used in school projects

Instructions are provided as comments in code, with example parameters.
Required packages are listed at the top of each codes, make sure they are installed before running anything.

Web-crawling with R

I have provided 2 methods to crawl with R, one using html package and the other using RSelenium package.

html package is faster but might not work with websites which use javascript to actively load its pages as you scroll down. RSelenium package is slower but able to deal with the above issue by mimicking a browser.

CY Burrple Crawl.R

Crawls comment data from https://www.burpple.com using html pacakage in R

Tripadvisor RSelenium CY V2.R

Crawl comment and rating data from https://www.tripadvisor.com using RSelenium package in R

Data Analysis, Visualisation and Prediction Models in R

This project is done using a dataset from Kaggle (https://www.kaggle.com/c/house-prices-advanced-regression-techniques/overview).

DBA3803 DSC3216 Project A2 Group 16.Rmd

This file contains the R markdown code which was used in the project.

DBA3803 DSC3216 Project A2 Group 16.html

This file contains the resultant html file.

About

Web crawling from Burpple and Tripadvisor, Data Analysis and Prediction Models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published