#🔒 webscraping
23 messages · Page 1 of 1 (latest)
@kind ember
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
You can try and use Google Trends for this
I want to analyze tourism rates in host countries before, during, and after World Cup (in years). I’ve been looking at globaleconomy to look at tourism rates however the specific year doesn’t really show up in the URL. Or I just don’t know how to go about it, coding wise as well
I need to use algorithms/programs in python to scrape the data
Or just grab existing dataset that's already scraped for you? Not sure if that's allowed?
You can find plenty on Kaggle
Download Open Datasets on 1000s of Projects + Share Projects on One Platform. Explore Popular Topics Like Government, Sports, Medicine, Fintech, Food, More. Flexible Data Ingestion.
Well one module that does webscraping is called beautifulsoup
yea unforunately i'd have to scrape it myself
ok
Do you have all of the webpages that you know where you're scraping from?
im using beautifulsoup as well as requests, but the issue is trouble finding a data source to scrape from
The average for 2020 based on 123 countries was 4935 thousand tourists. The highest value was in France: 117109 thousand tourists and the lowest value was in the Solomon Islands: 4 thousand tourists. The indicator is available from 1995 to 2020. Below is a chart for all countries where data are available.
this is the one i was planning on using
only ends at 2020
and doesn't indicate their arrivals before, during and after the world cup
idk myself either
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.