STAT 408. Data Scraping and SQL STAT 408. Data Scraping SQL. March 8, 2018

Size: px
Start display at page:

Download "STAT 408. Data Scraping and SQL STAT 408. Data Scraping SQL. March 8, 2018"

Transcription

1 and and March 8, 2018

2 and

3 and scraping is defined as using a computer to extract information, typically from human readable websites. We could spend multiple weeks on this, so this will be a basic introduction that will allow you to: extract text and numbers from webpages and extract tables from webpages.

4 A bit about HTML and HTML elements are written with a start tag, an end tag, and with the content in between: content. The tags which typically contain the textual content we wish to scrape. Some tags include: < h1 >, < h2 >,...,: for headings < p >: Paragraph elements < ul >: Unordered bulleted list < ol >: Ordered list < li >: Individual List item < div >: Division or section < table >: Table

5 HTML Example and Figure 1: MSU website

6 with rvest and library(rvest) library(stringr) msu.math <- read_html(" msu.math ## {xml_document} ## <html lang="en-us"> ## [1] <head>\n<meta http-equiv="content-type" content ## [2] <body class="responsive">\n <header class=

7 with rvest and msu.math %>% html_nodes('h1') ## {xml_nodeset (1)} ## [1] <h1>\n \t\tdepartment of Mathematic msu.math %>% html_nodes('h1') %>% html_text() ## [1] "\n \t\tdepartment of Mathematical

8 Tidying Up and msu.math %>% html_nodes('h1') %>% html_text() %>% str_replace_all("\\s+", " ") %>% str_replace_all(pattern = "\n", replacement = "") %>% str_replace_all(pattern = "\t", replacement = "") ## [1] " Department of Mathematical Sciences "

9 h3 and msu.math %>% html_nodes('h3') %>% html_text() %>% str_replace_all("\\s+", " ") %>% str_replace_all(pattern = "\n", replacement = "") %>% str_replace_all(pattern = "\t", replacement = "") ## [1] "Faculty" "Undergraduate" "News" ## [4] "Events" "More Information" "Resources" ## [7] "Follow Us"

10 A River Runs Through It and Figure 2: IMDB: A River Runs Through It

11 Get Story line and river <- read_html(" story.line <- river %>% html_nodes('#titlestoryline') %>% html_nodes('p') %>% html_text() %>% str_replace_all(pattern = "\n", replacement = "") The storyline is : The Maclean brothers, Paul and Norman, live a relatively idyllic life in rural Montana, spending much of their time fly fishing. The sons of a minister, the boys eventually part company when Norman moves east to attend college, leaving his rebellious brother to find trouble back home. When Norman finally returns, the siblings resume their fishing outings, and assess both where they ve been and where they re going. Written byjwelch5742.

12 SelectorGadget for accessing actors and Figure 3: Using SelectorGadget

13 Actors and # Get Actors river %>% html_nodes('#titlecast') %>% html_nodes(".itemprop span") %>% html_text() ## [1] "Craig Sheffer" "Brad Pitt" "Tom Skerritt" ## [4] "Brenda Blethyn" "Emily Lloyd" "Edie McClurg" ## [7] "Stephen Shellen" "Vann Gravage" "Nicole Burdette" ## [10] "Susan Traylor" "Michael Cudlitz" "Rob Cox" ## [13] "Buck Simmonds" "Fred Oakland" "David Creamer"

14 Selecting Tables: baseball data and Figure 4: HTML Table

15 Tables and batting <- read_html(" batting.list <- batting %>% html_nodes('table') %>% html_table() batting.df <- tbl_df(batting.list[[1]]) kable(batting.df) Tm #Bat BatAge R/G G PA AB R H 2B 3B HR ARI ATL BAL BOS CHC CHW CIN CLE COL DET HOU KCR LAA LAD MIA MIL MIN NYM NYY OAK PHI PIT SDP

16 Exercise: Get Team Info and Visit the baseball reference website for the Colorado Rockies https: // and scrape a table or text.

17 Solution: Get Team Info and batting.co <- read_html(" tables.co <- batting.co %>% html_nodes('table') %>% html_table() tbl_df(tables.co[[1]]) ## # A tibble: 48 x 28 ## Rk Pos Name Age G PA AB R H `2B` ## <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> ## 1 1 C Tony Wolters* ## 2 2 1B Mark Reynolds ## 3 3 2B DJ LeMahieu ## 4 4 SS Trevor Story ## 5 5 3B Nolan Arenado ## 6 6 LF Gerardo Parra* ## 7 7 CF Charlie Blackmon* ## 8 8 RF Carlos Gonzalez* ## 9 Rk Pos Name Age G PA AB R H 2B ## 10 9 UT Ian Desmond ## #... with 38 more rows, and 18 more variables: `3B` <chr>, HR <chr>, ## # RBI <chr>, SB <chr>, CS <chr>, BB <chr>, SO <chr>, BA <chr>, ## # OBP <chr>, SLG <chr>, OPS <chr>, `OPS+` <chr>, TB <chr>, GDP <chr>, ## # HBP <chr>, SH <chr>, SF <chr>, IBB <chr>

18 and

19 ite and For this class we will use ite which enables users to store database files locally, but the principles are the same for querying a server-based database. We will use a European soccer database available at which can be downloaded with the following link: com/hugomathien/soccer/downloads/database.sqlite

20 Accessing base and library(dbi) library(rite) ## connect to a database WHICH IS STORED LOCALLY my.database <- dbconnect(ite(), dbname="~/google Drive/teaching/STAT408/data/database.sqlite") dblisttables(my.database) ## [1] "Country" "League" "Match" ## [4] "Player" "Player_Attributes" "Team" ## [7] "Team_Attributes" "sqlite_sequence" dbdisconnect(my.database)

21 Identifying fields in table and my.database <- dbconnect(ite(), dbname="~/google Drive/teaching/STAT408/data/database.sqlite") dblistfields(my.database, "Player") ## [1] "id" "player_api_id" "player_name" ## [4] "player_fifa_api_id" "birthday" "height" ## [7] "weight"

22 commands and The most basic queries have the following structure: SELECT var1name, var2name (filter columns) FROM tablename (identify table) WHERE condition1 (filter rows) GROUP_BY var3name (aggregate data) HAVING condition2 (filter aggregated data) ORDER_BY var (arrange ordering)

23 Query 1 and Select all columns for player and view first 5 rows. kable((dbgetquery(my.database,"select * FROM Player"))[1:5,]) id player_api_id player_name player_fifa_api_id birthday height weigh Aaron Appindangoye :00: Aaron Cresswell :00: Aaron Doran :00: Aaron Galindo :00: Aaron Hughes :00:

24 Query 2 and Retain player name, weight, height for players over 200 cm kable(dbgetquery(my.database,"select player_name, height, weight FROM Player WHERE height > 200" player_name height weight Abdoul Ba Asmir Begovic Bogdan Milic Costel Pantilimon Daniel Burn Danny Wintjens Fejsal Mulic Fraser Forster Jurgen Wevers Kevin Vink Konrad Jalocha Kristof van Hout Lacina Traore Nikola Zigic Paolo Acerbis Peter Crouch Pietro Marino Robert Jones Stefan Maierhofer Vanja Milinkovic-Savic Wojciech Kaczmarek Zeljko Kalac

25 Query 3 and Compute average weight for players of 200 cm dbgetquery(my.database,"select AVG(weight) as mean_weight FROM Player WHERE height > 200") ## mean_weight ##

26 Create a database and new.db <- dbconnect(rite::ite(), ":memory:") dblisttables(new.db) ## character(0) player <- tbl_df(dbgetquery(my.database,"select * FROM Player")) dbwritetable(new.db, "player", player) dblisttables(new.db) ## [1] "player" dbdisconnect(new.db) dbdisconnect(my.database)

27 Additional and also has functionality for merging and updating tables. See the cheat sheet for more details.

28 Exercise and Select the average goals scored in matches in different countries from the match table

29 Solution and Select the average goals scored in matches in different countries from the match table my.database <- dbconnect(ite(), dbname="~/google Drive/teaching/STAT408/data/database.sqlite") st <- "SELECT AVG(home_team_goal + away_team_goal) as total_goals, country_id FROM match GROUP by country_id" dbgetquery(my.database,st) ## total_goals country_id ## ## ## ## ## ## ## ## ## ## ## dblisttables(my.database) ## [1] "Country" "League" "Match" ## [4] "Player" "Player_Attributes" "Team" ## [7] "Team_Attributes" "sqlite_sequence"

30 Solution and Select the average goals scored in matches in different countries from the match table st2 <- "Create Table goals as SELECT AVG(home_team_goal + away_team_goal) as total_goals, country_id FROM match GROUP by country_id " dbgetquery(my.database,st2) ## Warning in rsqlite_fetch(res@ptr, n = n): Don't need to call dbfetch() for ## statements, only for queries ## data frame with 0 columns and 0 rows dbgetquery(my.database, "SELECT * from goals INNER JOIN country on goals.country_id = country.id ## total_goals country_id id name ## Belgium ## England ## France ## Germany ## Italy ## Netherlands ## Poland ## Portugal ## Scotland ## Spain ## Switzerland

HW 6+7 Advanced: CS 110X C 2013

HW 6+7 Advanced: CS 110X C 2013 HW 6+7 Advanced: CS 110X C 2013 Note: This homework (and all remaining homework assignments) is a partner homework and must be completed by each partner pair. When you complete this assignment, you must

More information

INTRODUCTION TO DATA SCIENCE

INTRODUCTION TO DATA SCIENCE DATA11001 INTRODUCTION TO DATA SCIENCE EPISODE 2 TODAY S MENU 1. D ATA B A S E S 2. D ATA T R A N S F O R M AT I O N S 3. F I LT E R I N G AND I M P U TAT I O N DATABASES This isn t a course on databases:

More information

PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL NEXT MINEXTENTS 1 MAXEXTENTS

PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL NEXT MINEXTENTS 1 MAXEXTENTS -- DDL for Table ROSTER_INFO CREATE TABLE "RHAND6"."ROSTER_INFO" ( "ROSTERID" NUMBER(*,0), "PLAYERID" NUMBER(*,0), "YEAR" NUMBER(*,0), "TEAMNAME" VARCHAR2(50 BYTE), "LEAGUE" VARCHAR2(2 BYTE), "SALARY"

More information

More about HTML. Digging in a little deeper

More about HTML. Digging in a little deeper More about HTML Digging in a little deeper Structural v. Semantic Markup Structural markup is using to encode information about the structure of a document. Examples: , , , and

More information

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address All assignments should be sent to p.grocer@rcn.com Backup please send a cc to this address Note that I record classes and capture Smartboard notes. They are posted under audio and Smartboard under XHTML

More information

Service withdrawal: Selected IBM ServicePac offerings

Service withdrawal: Selected IBM ServicePac offerings Announcement ZS09-0086, dated April 21, 2009 Service withdrawal: Selected IBM offerings Table of contents 1 Overview 9 Announcement countries 8 Withdrawal date Overview Effective April 21, 2009, IBM will

More information

What You Will Learn Today

What You Will Learn Today CS101 Lecture 03: The World Wide Web and HTML Aaron Stevens 23 January 2011 1 What You Will Learn Today Is it the Internet or the World Wide Web? What s the difference? What is the encoding scheme behind

More information

CS109 Data Science Data Munging

CS109 Data Science Data Munging CS109 Data Science Data Munging Hanspeter Pfister & Joe Blitzstein pfister@seas.harvard.edu / blitzstein@stat.harvard.edu http://dilbert.com/strips/comic/2008-05-07/ Enrollment Numbers 377 including all

More information

~ ~ ~ ~ CHICAGO BULLS DIGITAL SEASON TICKETS

~ ~ ~ ~ CHICAGO BULLS DIGITAL SEASON TICKETS ~ ~ ~ ~ CHICAGO BULLS DIGITAL SEASON TICKETS YOUR GUIDE TO CLICKTIX MOBILE AND DIGITAL SEASON TICKETS Thank you for being a Season Ticket Holder. After leading the NBA in attendance for five consecutive

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

CS 103, Fall 2008 Midterm 1 Prof. Nakayama

CS 103, Fall 2008 Midterm 1 Prof. Nakayama CS 103, Fall 2008 Midterm 1 Prof. Nakayama Family (or Last) Name Given (or First) Name Student ID Instructions 1. This exam has 9 pages in total, numbered 1 to 9. Make sure your exam has all the pages.

More information

Structure Bars. Tag Bar

Structure Bars. Tag Bar C H E A T S H E E T / / F L A R E 2 0 1 8 Structure Bars The XML Editor provides structure bars above and to the left of the content area in order to provide a visual display of the topic tags and structure.

More information

Numerical Summaries of Data Section 14.3

Numerical Summaries of Data Section 14.3 MATH 11008: Numerical Summaries of Data Section 14.3 MEAN mean: The mean (or average) of a set of numbers is computed by determining the sum of all the numbers and dividing by the total number of observations.

More information

* Please note that recovery will only be provided free-of-charge if you hold valid cover via Honda.

* Please note that recovery will only be provided free-of-charge if you hold valid cover via Honda. FAQs March 2017 How can I change my PIN? You will be sent an automatically-generated PIN when you register for My Honda, it s not a problem though to change this to something you can remember more easily.

More information

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,

More information

c122jan2714.notebook January 27, 2014

c122jan2714.notebook January 27, 2014 Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the

More information

Problem Set 5 - BABIP

Problem Set 5 - BABIP Problem Set 5 - BABIP Assignment 1. Use a join command to link the Batting and Master data frames in the Lahman package. Make a new column called name in which you combine the first and last name of each

More information

GPS Mobile Navigation Tutorial

GPS Mobile Navigation Tutorial GPS Mobile Navigation Tutorial Learn how to use the mobile navigation application of your SXG75 mobile phone with this step-by-step tutorial. For an animated version of this tutorial, please visit www.siemens.com/sxg75.

More information

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be based on the

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

University of Washington, CSE 154 Homework Assignment 8: Baby Names

University of Washington, CSE 154 Homework Assignment 8: Baby Names University of Washington, CSE 154 Homework Assignment 8: Baby Names This assignment is about using Ajax to fetch data in text, HTML, XML, and JSON formats. Every 10 years, the Social Security Administration

More information

ITL Public School Mid Term examination ( )

ITL Public School Mid Term examination ( ) ITL Public School Mid Term examination (017-18) Date:15.09.17 Multimedia and Web Technology (Answer Key )- (067) Class: XI 1 Answer the following questions based on HTML: i. Identify any four formatting

More information

Trees Rooted Trees Spanning trees and Shortest Paths. 12. Graphs and Trees 2. Aaron Tan November 2017

Trees Rooted Trees Spanning trees and Shortest Paths. 12. Graphs and Trees 2. Aaron Tan November 2017 12. Graphs and Trees 2 Aaron Tan 6 10 November 2017 1 10.5 Trees 2 Definition Definition Definition: Tree A graph is said to be circuit-free if, and only if, it has no circuits. A graph is called a tree

More information

Lesson: 6 Database and DBMS an Introduction. Lesson: 7 HTML Advance and features. Types of Questions

Lesson: 6 Database and DBMS an Introduction. Lesson: 7 HTML Advance and features. Types of Questions REVISION TEST 2 [50 MARKS] Lesson: 6 Database and DBMS an Introduction Lesson: 7 HTML Advance and features Types of Questions 1. Fill in the blanks [5 x 5 = 5] 2. True or False [5 x 1 = 5] 3. Choose the

More information

Purpose of this doc. Most minimal. Start building your own portfolio page!

Purpose of this doc. Most minimal. Start building your own portfolio page! Purpose of this doc There are abundant online web editing tools, such as wordpress, squarespace, etc. This document is not meant to be a web editing tutorial. This simply just shows some minimal knowledge

More information

HTML and CSS. Data Technologies. HTML Headings. Background Reading

HTML and CSS. Data Technologies. HTML Headings. Background Reading HTML Headings HTML headings are used to provide section structure for the document. Data Technologies HTML and CSS the document "Title" a main section within the document a subsection

More information

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29 HTML LBSC 690: Jordan Boyd-Graber October 1, 2012 LBSC 690: Jordan Boyd-Graber () HTML October 1, 2012 1 / 29 Goals Review Assignment 1 Assignment 2 and Midterm Hands on HTML LBSC 690: Jordan Boyd-Graber

More information

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of

More information

HW 4 Solutions Your name here

HW 4 Solutions Your name here HW 4 Solutions Your name here library(mosaic) library(rcurl) url

More information

Patrick Downes Rutgers University-New Brunswick School of Management and Labor Relations WEB SCRAPING FOR RESEARCH

Patrick Downes Rutgers University-New Brunswick School of Management and Labor Relations WEB SCRAPING FOR RESEARCH Patrick Downes Rutgers University-New Brunswick School of Management and Labor Relations WEB SCRAPING FOR RESEARCH Gauging our pace How would you rate your experience (1=a little, 3=a lot) with R? with

More information

CSC Web Programming. Introduction to HTML

CSC Web Programming. Introduction to HTML CSC 242 - Web Programming Introduction to HTML Semantic Markup The purpose of HTML is to add meaning and structure to the content HTML is not intended for presentation, that is the job of CSS When marking

More information

Lab: Information Design Tool Create a Static List with Multiple Columns. Scenario. Objectives

Lab: Information Design Tool Create a Static List with Multiple Columns. Scenario. Objectives Lab: Information Design Tool Create a Static List with Multiple Columns Scenario You have to design a universe for European customers. You want to create in the universe a static List of values (LOV) listing

More information

University of Washington, CSE 190 M Homework Assignment 8: Baby Names

University of Washington, CSE 190 M Homework Assignment 8: Baby Names University of Washington, CSE 190 M Homework Assignment 8: Baby Names This assignment is about using Ajax to fetch data from files and web services in text, HTML, XML, and JSON formats. You must match

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

Adobe Dreamweaver CS4

Adobe Dreamweaver CS4 Adobe Dreamweaver CS4 About Dreamweaver Whether creating simple blog pages complex web sites, Dreamweaver provides users with a powerful set of web-design tools necessary f the task. Its userfriendly interface

More information

Ariba Network Registration Guide. The County of Santa Clara (SCC)

Ariba Network Registration Guide. The County of Santa Clara (SCC) Ariba Network Registration Guide The County of Santa Clara (SCC) Content Introduction Supplier Registration Account Configuration Ariba Network Support 2 1. Introduction 2. Supplier Registration 4. Ariba

More information

HTML & CSS. Rupayan Neogy

HTML & CSS. Rupayan Neogy HTML & CSS Rupayan Neogy But first My Take on Web Development There is always some tool that makes your life easier. Hypertext Markup Language The language your web browser uses to describe the content

More information

ESA s Space Situational Awareness Near-Earth Object programme

ESA s Space Situational Awareness Near-Earth Object programme ESA s Space Situational Awareness Near-Earth Object programme Detlef Koschny, European Space Agency, Solar System Missions Division Keplerlaan 1 NL-2201 AZ Noordwijk ZH Detlef.Koschny@esa.int What is Space

More information

Touring the ICIS Publication Management System (PMS v1.2)

Touring the ICIS Publication Management System (PMS v1.2) Touring the ICIS Publication Management System (PMS v1.2) E.D. Schabell erics@cs.ru.nl Radboud University Nijmegen, Institute for Computing and Information Sciences, P.O. Box 9010, 6500 GL Nijmegen, The

More information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

Title: Sep 12 10:58 AM (1 of 38)

Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 10:58 AM (1 of 38) Title: Sep 12 11:04 AM (2 of 38) Title: Sep 12 5:37 PM (3 of 38) Click here and then you can put in the resources. Title: Sep 12 5:38 PM (4 of 38) Title: Sep 12 5:42 PM

More information

Web Programming Week 2 Semester Byron Fisher 2018

Web Programming Week 2 Semester Byron Fisher 2018 Web Programming Week 2 Semester 1-2018 Byron Fisher 2018 INTRODUCTION Welcome to Week 2! In the next 60 minutes you will be learning about basic Web Programming with a view to creating your own ecommerce

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Proper_Name Final Exam December 21, 2005 CS-081/Vickery Page 1 of 4

Proper_Name Final Exam December 21, 2005 CS-081/Vickery Page 1 of 4 Proper_Name Final Exam December 21, 2005 CS-081/Vickery Page 1 of 4 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on any exam or quiz. INSTRUCTIONS:

More information

Introduction to Web Technologies

Introduction to Web Technologies Introduction to Web Technologies James Curran and Tara Murphy 16th April, 2009 The Internet CGI Web services HTML and CSS 2 The Internet is a network of networks ˆ The Internet is the descendant of ARPANET

More information

IMPORTANT: Circle the last two letters of your class account:

IMPORTANT: Circle the last two letters of your class account: Fall 2001 University of California, Berkeley College of Engineering Computer Science Division EECS Prof. Michael J. Franklin FINAL EXAM CS 186 Introduction to Database Systems NAME: STUDENT ID: IMPORTANT:

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Visualization Tools Dr. David Koop Visualization for Exploration 2 MTA Fare Data Exploration 3 MTA Fare Data Exploration 4 MTA Fare Data Exploration 5 MTA Fare Data

More information

IBM offers Software Maintenance for additional Licensed Program Products

IBM offers Software Maintenance for additional Licensed Program Products Announcement ZS10-0142, dated October 5, 2010 IBM offers Software Maintenance for additional Licensed Program Products Table of contents 1 Overview 3 Description 1 Key prerequisites 4 Prices 2 Planned

More information

1. In your teams, give at least one combination of boomerangs that would meet Phil and Cathy s requirements. How much money would they make?

1. In your teams, give at least one combination of boomerangs that would meet Phil and Cathy s requirements. How much money would they make? Algebra 2 Chapter 3: Linear Systems LS 3-3 Systems of inequalities Phil and Cathy make and sell boomerangs for a school event in order to raise money for the local food bank. They plan to make them in

More information

This will be a paragraph about me. It might include my hobbies, where I grew up, etc.

This will be a paragraph about me. It might include my hobbies, where I grew up, etc. Module 3 In-Class Exercise: Creating a Simple HTML Page Name: Overview We are going to develop our web-pages the old-fashioned way. We will build them by hand. Even if you eventually decide to use WYSIWYG

More information

Market monitoring and web frequentation note No. 1 (month 10)

Market monitoring and web frequentation note No. 1 (month 10) EURO-TOPTEN PLUS Extension and strengthening of the European Topten Inititiatives and of the market for innovative and efficient products Market monitoring and web frequentation note No. 1 (month 10) Deliverable

More information

PERSONAL DATA POLICY Bouygues.com

PERSONAL DATA POLICY Bouygues.com Dear user/visitor, We are pleased to present our personal data policy regarding the data that we process due to your use of our web site www.bouygues.com. The policy is presented in question and answer

More information

2007 Canadian Computing Competition: Senior Division. Sponsor:

2007 Canadian Computing Competition: Senior Division. Sponsor: 2007 Canadian Computing Competition: Senior Division Sponsor: Canadian Computing Competition Student Instructions for the Senior Problems 1. You may only compete in one competition. If you wish to write

More information

CONSTITUENT BODIES REPRESENTATIVES TO THE RFU COUNCIL FOR SEASON

CONSTITUENT BODIES REPRESENTATIVES TO THE RFU COUNCIL FOR SEASON CONSTITUENT BODIES REPRESENTATIVES TO THE RFU COUNCIL FOR SEASON 08-09 Army RU Col J P Cook OBE (James) 05 Tel: 07949 574 55 email: jamescook48@hotmail.com Berkshire D McAteer (David) 03 Tel: 089 70 45

More information

Power Analyzer Firmware Update Utility Version Software Release Notes

Power Analyzer Firmware Update Utility Version Software Release Notes Power Analyzer Firmware Update Utility Version 3.1.0 Software Release Notes Contents General Information... 2... 2 Supported models... 2 Minimum system requirements... 2 Installation instructions... 2

More information

In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell.

In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell. Tell a Story Introduction In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Step 1: Decide on a story Before you get coding, you ll need to decide on a story to

More information

14 Graph Theory. Exercise Set 14-1

14 Graph Theory. Exercise Set 14-1 14 Graph Theory Exercise Set 14-1 1. A graph in this chapter consists of vertices and edges. In previous chapters the term was used as a visual picture of a set of ordered pairs defined by a relation or

More information

Spanner A distributed database system

Spanner A distributed database system Presented by Yue Xia Spanner A distributed database system Background - Developed by Google initially as a key-value storage system - Developers want traditional database features like query language -

More information

E R T M S COMMUNICATION PLAN

E R T M S COMMUNICATION PLAN U I C E R T M S COMMUNICATION PLAN Paolo de Cicco Senior Advisor ERTMS Platform Paris, 14/03/2007-1 Item 16: UIC Workshop Euro-Interlocking Hazard List Methodology for Railway Signalling WORKSHOP HELD

More information

Greedy Big Steps as a Meta-Heuristic for Combinatorial Search

Greedy Big Steps as a Meta-Heuristic for Combinatorial Search Greedy Big Steps as a Meta-Heuristic for Combinatorial Search Haiou Shen and Hantao Zhang Computer Science Department The University of Iowa Iowa City, IA {hshen, hzhang}@cs.uiowa.edu Abstract We present

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

Downloaded from

Downloaded from SUMMATIVE ASSESSMENT-II, 2014 FOUNDATION OF IT Time - 3 hrs. Class-X M.M.-90 Date 04.03.2014 Q1. Fill in the blanks: [10] 1.1 To insert a table on a web page we use tag. 1.2 tag is used to create inline

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

What are SQL Reports?

What are SQL Reports? Using SQL Reports What are SQL Reports? SQL Reports are used to: Build alternate interfaces to WebGUI Assets Display Internal WebGUI data Display data from your business applications Why use SQL Reports?

More information

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 Name Date Final Exam Prep Questions Worksheet #1 1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 2. Which of the following

More information

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language) What is a website? A website is a collection of web pages containing text and other information, such as images, sound

More information

Module Contact: Dr Graeme Richards, CMP. Copyright of the University of East Anglia Version 1

Module Contact: Dr Graeme Richards, CMP. Copyright of the University of East Anglia Version 1 UNIVERSITY OF EAST ANGLIA School of Computing Sciences Main Series UG Examination 2015/16 WEB BASED PROGRAMMING CMP-4011A Time allowed: 2 hours Answer BOTH questions in Section A and TWO questions from

More information

Also please note there are a number of documents outlining more detailed League Manager processes at support.tennis.com.au

Also please note there are a number of documents outlining more detailed League Manager processes at support.tennis.com.au League Manager Support Instructions Please note; these instructions are directed at league and club administrators who have been given access to manage leagues and enter squads, these instructions are

More information

Ariba Network. T-Mobile Registration Guide

Ariba Network. T-Mobile Registration Guide Ariba Network T-Mobile Registration Guide Before you start Ariba Network displays by default in language of your browser (when supported) make sure, that it s in your preferred language. In both Internet

More information

PASS4TEST 専門 IT 認証試験問題集提供者

PASS4TEST 専門 IT 認証試験問題集提供者 PASS4TEST 専門 IT 認証試験問題集提供者 http://www.pass4test.jp 1 年で無料進級することに提供する Exam : 70-480 Title : Programming in HTML5 with JavaScript and CSS3 Vendor : Microsoft Version : DEMO Get Latest & Valid 70-480 Exam's

More information

Chapter INTERNATIONAL STUDENT ACHIEVEMENT

Chapter INTERNATIONAL STUDENT ACHIEVEMENT Chapter INTERNATIONAL STUDENT ACHIEVEMENT 299 99 OVERALL DIFFERENCES IN ACHIEVEMENT ON THE PERFORMANCE ASSESSMENT This chapter presents summary results on the performance assessment by showing the averages

More information

Problem Description Earned Max 1 PHP 25 2 JavaScript/DOM 25 3 Regular Expressions 25 4 SQL 25 TOTAL Total Points 100

Problem Description Earned Max 1 PHP 25 2 JavaScript/DOM 25 3 Regular Expressions 25 4 SQL 25 TOTAL Total Points 100 CSE 190 M, Spring 2011 Final Exam, Thursday, June 9, 2011 Name: Quiz Section: Student ID #: TA: Rules: You have 110 minutes to complete this exam. You may receive a deduction if you keep working after

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

DATA STRUCTURE AND ALGORITHM USING PYTHON

DATA STRUCTURE AND ALGORITHM USING PYTHON DATA STRUCTURE AND ALGORITHM USING PYTHON Common Use Python Module II Peter Lo Pandas Data Structures and Data Analysis tools 2 What is Pandas? Pandas is an open-source Python library providing highperformance,

More information

Cluster Analysis. Summer School on Geocomputation. 27 June July 2011 Vysoké Pole

Cluster Analysis. Summer School on Geocomputation. 27 June July 2011 Vysoké Pole Cluster Analysis Summer School on Geocomputation 27 June 2011 2 July 2011 Vysoké Pole Lecture delivered by: doc. Mgr. Radoslav Harman, PhD. Faculty of Mathematics, Physics and Informatics Comenius University,

More information

Web scraping tools, a real life application

Web scraping tools, a real life application Web scraping tools, a real life application ESTP course on Automated collection of online proces: sources, tools and methodological aspects Guido van den Heuvel, Dick Windmeijer, Olav ten Bosch, Statistics

More information

Basics of Page Format

Basics of Page Format Basics of Page Format HTML Structural Tags Certain HTML tags provide the structure of the HTML document. These include the tag, the tag, the tag, and the tag. As soon as a

More information

Preliminary Examination of Global Expectations of Users' Mental Models for E-Commerce Web Layouts

Preliminary Examination of Global Expectations of Users' Mental Models for E-Commerce Web Layouts Page 1 of 9 July 2004, Vol. 6 Issue 2 Volume 6 Issue 2 Past Issues A-Z List Usability News is a free web newsletter that is produced by the Software Usability Research Laboratory (SURL) at Wichita State

More information

COMPUTER APPLICATIONS TECHNOLOGY: PAPER II

COMPUTER APPLICATIONS TECHNOLOGY: PAPER II NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 2015 COMPUTER APPLICATIONS TECHNOLOGY: PAPER II Time: 3 hours 180 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY 1. This question paper consists

More information

Business Mobile Plans

Business Mobile Plans PRODUCT SOLUTIONS Business Mobile Plans JERSEY Whatever the size of your business, we can provide the ideal mobile solution for you. Our tariffs are flexible to suit all kinds of businesses and are designed

More information

Introduction to Web Mining for Social Scientists Lecture 4: Web Scraping Workshop Prof. Dr. Ulrich Matter (University of St. Gallen) 10/10/2018

Introduction to Web Mining for Social Scientists Lecture 4: Web Scraping Workshop Prof. Dr. Ulrich Matter (University of St. Gallen) 10/10/2018 Introduction to Web Mining for Social Scientists Lecture 4: Web Scraping Workshop Prof. Dr. Ulrich Matter (University of St. Gallen) 10/10/2018 1 First Steps in R: Part II In the previous week we looked

More information

CIT 590 Homework 5 HTML Resumes

CIT 590 Homework 5 HTML Resumes CIT 590 Homework 5 HTML Resumes Purposes of this assignment Reading from and writing to files Scraping information from a text file Basic HTML usage General problem specification A website is made up of

More information

Keeping Records: The American Pastime

Keeping Records: The American Pastime Keeping Records: The American Pastime This exercise focuses on the modular design, implementation and testing of Python programs to process data files using lists and tuples. You and a partner will implement

More information

Connected for less around the world Swisscom lowers its roaming tariffs again. Media teleconference 12 May 2009

Connected for less around the world Swisscom lowers its roaming tariffs again. Media teleconference 12 May 2009 Connected for less around the world Swisscom lowers its roaming tariffs again Media teleconference 12 May 2009 Connected for less around the world Swisscom lowers its roaming tariffs again 2 Agenda of

More information

UNECE work on SDG monitoring and data integration

UNECE work on SDG monitoring and data integration United Nations Economic Commission for Europe Statistical Division UNECE work on SDG monitoring and data integration March 2017 Lidia Bratanova, Director, Statistical Division Slide 2 Measuring Sustainable

More information

An introduction to web scraping methods. Ken Van Loon Statistics Belgium

An introduction to web scraping methods. Ken Van Loon Statistics Belgium An introduction to web scraping methods Ken Van Loon Statistics Belgium UN GWG on Big Data for Official Statistics Training workshop on scanner and on line data 6 7 November 2017 Bogota, Colombia Background

More information

Lecture 13. Page Layout. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 13. Page Layout. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 13 Page Layout Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture Font properties Controlling text with CSS Styling links Styling background Styling

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Slightly more advanced HTML

Slightly more advanced HTML Slightly more advanced HTML div and span Whereas most HTML tags apply meaning (p makes a paragraph, h1 makes a heading, etc.), the span and div tags apply no meaning but are still very useful in conjunction

More information

Business Mobile Plans

Business Mobile Plans PRODUCT SOLUTIONS Business Mobile Plans CHANNEL ISLANDS Whatever the size of your business, we can provide the ideal mobile solution for you. Our tariffs are flexible to suit all kinds of businesses and

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

Project III. Today due: Abstracts and description of the data (follow link from course website) schedule so far

Project III. Today due: Abstracts and description of the data (follow link from course website) schedule so far Project III Today due: Abstracts and description of the data (follow link from course website) schedule so far Databases & SQL Stat 480 Heike Hofmann Outline Why Databases? Linking R to a database Relational

More information

Discuss web browsers. Define HTML terms

Discuss web browsers. Define HTML terms Week 1 & 2 *discuss safety of the internet and classroom Describe the internet and it s associated key terms Describe the world wide web and key terms associated Discuss web browsers Define HTML terms

More information

Information Package for Reviewers

Information Package for Reviewers Information Package for Reviewers Author: Customer Care Team Date of publication: April 2014 Latest update: June 2015 Table of contents 1 Introduction A. Document purpose B. Compatible browsers with review.cogen.com

More information

Implementation and Usage of the PI System at ENGIE Business Unit Generation Europe

Implementation and Usage of the PI System at ENGIE Business Unit Generation Europe Implementation and Usage of the PI System at ENGIE Business Unit Generation Europe Presented by Bart Van Brabant and Olivier Martens Contents About us Our PI System story Functional evolution of PI System

More information

LING 408/508: Computational Techniques for Linguists. Lecture 14

LING 408/508: Computational Techniques for Linguists. Lecture 14 LING 408/508: Computational Techniques for Linguists Lecture 14 Administrivia Homework 5 has been graded Last Time: Browsers are powerful Who that John knows does he not like? html + javascript + SVG Client-side

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

European Cybersecurity PPP European Cyber Security Organisation - ECSO November 2016

European Cybersecurity PPP European Cyber Security Organisation - ECSO November 2016 European Cybersecurity PPP European Cyber Security Organisation - ECSO November 2016 Présentation Géraud Canet geraud.canet@cea.fr ABOUT THE CYBERSECURITY cppp 3 AIM 1. Foster cooperation between public

More information