Code Monkey home page Code Monkey logo

data_scraping's Introduction

License

Overview

This repository includes the materials covered during the Data Scraping course, Summer 2017. The course is taught by Hrant Davtyan as an elective course available to 1st year MS Economics students at the American University of Armenia (AUA).

Toolbox

During the course students will learn and use several tools necessary for completing a Data Scraping project as listed below:

  • Sublime Text Editor - A simple yet powerful (user friendly interface + amazing performance) text editor. During the course Sublime will be used for creating and editing HTML, CSS, XML and JSON documents.
  • Selector Gadget - A google chrome extension that helps to easily discover CSS selectors for the elements on the webpage.
  • JSON formatter - A google chrome extension which makes the JSON representation indented and highlighted (when viewed directly inside the browser).
  • Regex search - Another chrome extension which provides the opportunity of running a search on the webpage using regular extensions directly inside the borwser.
  • Online regex tester - an online tool for testing a regular expression on a sample text typed by the user. Also provides quick reference sheet and interactive explanation of the expression being tested.
  • Anaconda Python 2.7 - Python powered open data science platform, which comes toegther with Jupyter notebooks, Spider IDE and some of the most popular Python libraries preinstalled. During the course several python packages will be used. The list of packages (including thsoe preinstalled by Anaconda) is available below.

Required packages

  • requests
  • re
  • lxml
  • html5lib
  • beautifulsoup
  • scrapy
  • selenium
  • numpy
  • pandas
  • sklearn
  • statsmodels
  • pandas_datareader
  • python-linkedin
  • markovbot
  • googlemaps
  • pafy
  • quandl

The packages json, csv, time and urllib2 are also required, yet they come preinstalled with Python 2.7.

Installation

To install the above provided packages please download requirements.txt to your local directory and run the following command in the command prompt:

pip install -r requirements.txt

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.