Skip to content

L9otus/DATA550_final_project_iris

Repository files navigation

Analysis of Iris Dataset - DATA 550 Final Project

Xiaohan Li

Project Description

This project aims to explore the iris dataset, to be specific, using data visualization to explore the relationships between variables and three iris species.

File Sturcture

├── data
│ ├── iris.data
│ ├── data_clean.rds

├── code
│ ├── 00_clean_data.R
│ ├── 01_make_table.R
│ ├── 02_make_boxplot.R
│ ├── 03_render_report.R

├── output
│ ├── table.rds
│ ├── boxplot_sepal_length.png
│ ├── boxplot_sepal_width.png

├── renv
│ ├── .gitignore
│ ├── activate.R
│ ├── settings.json
│ ├── library

├── report
│ ├── iris_report.html

├── renv.lock
├── Makefile
├── Dockerfile
├── README.md
├── README.html
├── iris_report.Rmd

How to Download the Docker Image

docker pull l9otus/data550_final_image

Link to the image on DockerHub:
https://hub.docker.com/repository/docker/l9otus/data550_final_image/general

How to Build the Docker Image

docker build -t l9otus/data550_final_image .

How to Run the Docker Image

make report/iris_report.html

ALL STEPS NEEDED TO GENERATE THE REPORT

Run the following in terminal:

Step 1:

git clone https://github.com/L9otus/DATA550_final_project_iris
cd DATA550_final_project_iris

Step 2 (select one of the following):

  • For Windows users:
docker pull l9otus/data550_final_image
  • For Mac users: (Work on Apple M1 chip)
docker pull --platform linux/amd64 l9otus/data550_final_image

Step 3:

make clean
make report/iris_report.html


Now you should be able to view iris_report.html in the report folder


Tips:

If add/delete/update any package, run following in console to synchronize the renv library and renv.lock:

renv::snapshot()

Contents of the Report

  • Description of the iris data set
  • Analysis objectives
  • Read in Data
  • Tabular analysis (table)
  • Graphical analysis (boxplots)


The code file that creates the table: code/01_make_table.R
The code file that creates the figures: code/02_make_boxplot.R

About

DATA550 final project. Using iris dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages