Basic Food Basket Price From Big Data
Format: CPS Paper
Keywords: food, price, webscraping
Session: CPS 36 - Big data I
Tuesday 18 July 8:30 a.m. - 9:40 a.m. (Canada/Eastern)
The basic food basket has a strong representation in social dynamics of Brazil, as the less well-off classes are greatly affected by variations in the price of food and other basic consumer goods. This is because the value of the basic food basket consumes a large portion of Brazilian families' income. DIEESE calculates the value of the basic food basket based on prices obtained through in-person collection at physical establishments. However, this imposes constraints on geographic coverage and number of establishments visited, as it represents a high financial and time cost. One option to overcome these limitations is to use alternative methods and data sources. This article aims to propose a new approach for collecting the prices of products considered in calculating the value of the basic food basket, using big data. In this proposal, the price of the basic basket is calculated based on prices collected on e-commerce sites, using web scraping, implemented using the R Selenium package. Preliminary results show that, for the city of São Paulo, the difference between the price of the basic food basket calculated in the way proposed by the authors and that carried out by DIEESE does not exceed 3%.