1 Introduction to Web Scraping
requests, BeautifulSoup, HTML structure
2 HTML Parsing and Data Extraction
find(), find_all(), select(), for loops
3 Organizing and Exporting Data
pandas, DataFrame, CSV, Excel
4 Introduction to Web Crawling I
Multiple URLs, URL structure, loops
5 Introduction to Web Crawling II
Pagination, hyperlinks, automated collection
6 APIs and Web Data Collection
APIs, JSON, response.json()
7 Data Cleaning and Transformation
Numeric conversion, dates, missing values, duplicates
8 Applied Project I: Public Procurement
Collecting and organizing procurement records
9 Applied Project II: Boat Racing
Collecting race results across dates and venues
10 Final Project: Building Research-Ready Datasets
Combining data, validation, Excel/CSV export
******************************************************************************************************************************
1 Introduction to Web Scraping
Understand the basics of web scraping and learn how to retrieve and parse web pages using requests and BeautifulSoup.
2 HTML Parsing and Data Extraction
Extract specific information from HTML documents, organize the collected data using pandas, and save datasets as CSV files.
3 Introduction to Web Crawling
Learn how to automatically navigate multiple web pages, follow hyperlinks, and collect data across pages.
4 APIs and Web Data Collection
Understand how APIs work, retrieve data from web services, and process JSON data using Python.
5 Building Research Datasets
Apply web scraping, crawling, and API techniques to collect, clean, validate, and organize data for empirical research.
Previous Class
Pythonによるあたらしいデータ分析の教科書を利用して勉強していきます。
Schedule
Pythonと環境
実行環境構築
Pythonの基礎
Jupyter Notebook
数学の基礎
数式を読むための基礎知識
線形代数
基礎解析
確率と統計
ライブラリによる分析実践
NumPy
pandas
Matplotlib
scikit-learn
2. Loopに慣れよう
参考文献
その後余力があれば機械学習まで取り組みます。
Pythonによるデータ分析
Pythonによる記述統計とmatplotlib・seabornによるデータの可視化
母集団からの標本抽出シミュレーションと標本の統計量の性質と正規分布とその応用
統計的仮説検定と平均値の差の検定 と検定の結果の解釈
連続型の説明変数を1つ持つモデル(単回帰)
複数の説明変数を持つモデル
参考文献
東京大学のデータサイエンティスト育成講座 ~Pythonで手を動かして学ぶデ―タ分析~