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.