Lepton data scraping assignment
The folder Lepton_data_scraping contains the python scripts as well as the CSV files. The content of the folder are as follows:
There are 2 files for the code:
-
Jupyter notebook file with .ipynb extention (Data_scraping.ipynb). In this file the assignment was originally made and can be run using a local host.
-
Python script with .py extention (Data_scraping.py). This file has some additional code than original to ensure smooth running of the script. It contains functionality to stop scraping further data (After iterating through atleast 1 pin code) and continue with the program, just like jupyter notebook file
There are 3 CSV files.
-
asianpaints_data_scraping.csv All the data scraped is stored in this file
-
nearest_stores.csv It stores analysis of data i.e. 10 nearest stores to the user after entering user's coordinates
-
district_pincodes.csv It contains pincodes of all the districts in India, which is imported by the code to extract data from all the stores.
data_scraping_report is the report of the assignment