{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "MnMAMUx66-9C" }, "source": [ "# Tutorial 1: Social Media & Natural Hazards\n", "\n", "Natural processes such as thunderstorms, wildfires, earthquakes, and floods may lead to significant losses in terms of property and human life. Gathering information about the damages in time is crucial and may help in mitigating the loss, and faster recovery ([Said et al, 2019](https://link.springer.com/article/10.1007/s11042-019-07942-1)).\n", "\n", "Social media are one of the most important sources of not only real-time information but records since their existence. They have been crawled over the years to collect and analyze disaster-related multimedia content ([Said et al, 2019](https://link.springer.com/article/10.1007/s11042-019-07942-1)). There are different applications where we can use social media data to analyze natural disasters.\n", "\n", "Through this tutorial, we will learn how we can use Twitter data to analyze natural hazards. We will do so by applying the concept of natural language processing.\n", "\n", "\n", "\n", "This tutorial is heavily based upon the work of [others](https://www.jcchouinard.com/tweepy-basic-functions/).\n" ] }, { "cell_type": "markdown", "metadata": { "id": "mfI4fylf6-9F" }, "source": [ "### Important before we start\n", "---\n", "Make sure that you save this file before you continue, else you will lose everything. To do so, go to **Bestand/File** and click on **Een kopie opslaan in Drive/Save a Copy on Drive**!\n", "\n", "Now, rename the file into Week6_Tutorial1.ipynb. You can do so by clicking on the name in the top of this screen.\n", "\n", "By using this notebook and associated files, you agree to the Twitter Developer Agreement and Policy, which can be found [here](https://developer.twitter.com/en/developer-terms/agreement-and-policy)." ] }, { "cell_type": "markdown", "metadata": { "id": "gR69C3_d6-9I" }, "source": [ "## Learning Objectives\n", "
" ] }, { "cell_type": "markdown", "metadata": { "id": "sFosroWc6-9J" }, "source": [ "- Learn about the importance and application of social media data\n", "- Access social media (Twitter) through the API\n", "- Retrieve Twitter data\n", "- Filter and clean the retrieved data\n", "- Visualize the data in different plots such as `bar`, `scatter`, and `spatial`." ] }, { "cell_type": "markdown", "metadata": { "id": "FXY3uirp6-9K", "toc": true }, "source": [ "

Tutorial outline

\n", "
\n", "