Skip to content

zfrb/Web-Scraping-and-Text-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Web Scraping and Text Analysis

This repository shares R and Python codes that extract texts from web.

JPE_Scraping_Visualizing.R scraps the titles of articles published at the Journal of Political Economy as a data frame and visualizes the frequently used words.

oldbaileyonline.py has a function that randomly chooses and downloads 1000 court trials out of 202790 trials digitalized and published at www.oldbaileyonline.org. Time difference between incidents and trials over time is visualized.

Install the following packages to run the R codes: rvest, xml2, quanteda, readtext, devtools, tm, wordcloud, magrittr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published