Skip to content

mkao006/diamond_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diamond Analysis

This repository is the home of a diamond analysis shiny app which helps people to understand the pricing of diamonds.

Use this app with precaution and the author takes no responsiility of the actions taken.

Data

The data are extracted from the web pages of James Allen, however, the author is not affiliated with the company.

The script scraper.py scraps the price from the website and save the result in the data directory.

The app

There are three sections to web app.

  • Price Derivatives
  • Find a Bargain
  • Predictive Analysis

Price Derivatives

This page the user to selecte a diamond with specific quality its expected price, further, the price given a change to each of the 4C quality are also provided.

price_derivative

Find a Bargain

In this page, the user can find the optimal diamond on James Allen based on a given set of minimum criteria.

find_a_bargain

Predictive Analysis

The predicted value and the retail price are illustrated in this component. This shows the power and the flaws of the model.

predictive_analysis

Analysis

The data processing, exploratory analysis and the models can all be found under the analysis directory.

Deployment

To launch the app, simply issue the follow command:

shiny::runApp()

Alternatively, one can deploy the app on shinyapps.

rsconnect::deployApp(appFiles = c("data/", "app.R", "helper.R"))

Please ensure that rsconnect has been set up correctly, the instruction can be found here.

About

Investigation and analysis of diamond prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published