Giter Site home page Giter Site logo

ski_shop's People

Contributors

corb1999 avatar

Watchers

 avatar

ski_shop's Issues

prototype eda with database connection

test out the sqlite database and create a script that can query from the database, do some additional processing, and then visualize and analyze the results.

build initial crawler script

finish building the script that does the following:

  • makes a list of urls to crawl, each url another page. use purr to generate the list
  • do an initial page read, then calculate how many total pages need to be read
  • write a function to read the html, then parse it into a tidy dataframe and include a Sys.sleep() to not spam
  • minor cleaning on the pages then compiling them all into one dataframe
  • append a time stamp to the result then export to a dropzone

enhancements to sql view

add sql code to the view which does...

  • make a series of indicator fields to detect is things like skis, bindings, helmets, jackets, gloves, masks, bindings, boots, are in the product name
  • remove no longer necessary raw columns like regular price and discount price that are just pure text values
  • price differences between regular and discount, nominal differences and percent difference

problem with discounted percent calculation or data

when doing eda and scatterplot of all the discount percent values, found a number of records that show as having zero discount percent even though the nominal discount calc is a negative value and the regular and discount values are not equal. doesnt seem to be a rounding error. may need to be fixed on the database end. run this snippet to inspect when this is occurring: df %>% filter(delta_price_percent == 0) %>% View()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.