<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ícaro Misquita on Medium]]></title>
        <description><![CDATA[Stories by Ícaro Misquita on Medium]]></description>
        <link>https://medium.com/@Icaromisquita?source=rss-ca9eeebb4490------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sTlMGMircBCcPF6m.</url>
            <title>Stories by Ícaro Misquita on Medium</title>
            <link>https://medium.com/@Icaromisquita?source=rss-ca9eeebb4490------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 01:14:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Icaromisquita/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Data Engineer project with MYSQL, Python, and AWS.]]></title>
            <link>https://medium.com/@Icaromisquita/a-data-engineer-project-with-mysql-python-and-aws-e58608a157cc?source=rss-ca9eeebb4490------2</link>
            <guid isPermaLink="false">https://medium.com/p/e58608a157cc</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[etl-pipeline]]></category>
            <dc:creator><![CDATA[Ícaro Misquita]]></dc:creator>
            <pubDate>Thu, 11 Aug 2022 12:26:10 GMT</pubDate>
            <atom:updated>2022-08-14T15:15:24.727Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Pbd2zZtJRGehRHkSIkE5oQ.png" /><figcaption>Image source: <a href="https://picnic-dev.app/careers/building-a-distributed-etl-pipeline-for-a-monolithic-data-warehouse">https://picnic-dev.app/careers/building-a-distributed-etl-pipeline-for-a-monolithic-data-warehouse</a></figcaption></figure><p>This is a project for a Bootcamp in Data Science, and this project aims to automatize the data collection from the web, by using APIS, Webscrapping and the automation will be made in Amazon AWS.</p><p>First of all, Who are the company that needs this data end which data is that?</p><p><em>Gans is a startup developing an e-scooter-sharing system. It aspires to operate in the most populous cities all around the world. In each city, the company will have hundreds of e-scooters parked in the streets and allow users to rent them by the minute.</em></p><p>The company wants to anticipate as much as possible scooter movements. Predictive modelling is certainly on the roadmap, but the first step is to collect more data, transform it and store it appropriately. This is where the project starts:the task will be to collect data from external sources that can potentially help Gans predict e-scooter movement. Since data is needed every day, in real-time and accessible by everyone in the company, the challenge is going to be to <strong>assemble and automate a data pipeline in the cloud</strong>.</p><p>For this the project was divided in 5 parts:</p><p>1 — Web Scraping to collect demographical data;</p><p>2 — Weather data using OWN API;</p><p>3 — Collect flights data using the Aerodatabox API;</p><p>4 — Create a Database in MySQL;</p><p>5 — Connection and automation using Amazon AWS.</p><p><strong>1-Web Scraping: Collect demographical data</strong></p><p>For the web scrapping a library called Beautiful Soup (BS) was used. But what is Beautiful Soup?</p><p><em>Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work. Source: </em><a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/"><em>Beautiful Soup Documentation</em></a><em>.</em></p><p>Using this library, data about the population of the cities, where Gans is operational, in order to know how many peoples are potential costumers. For this, the Wikipedia was used. The data were obtained for <a href="https://en.wikipedia.org/wiki/Berlin">Berlin</a>, <a href="https://en.wikipedia.org/wiki/London">London</a>, <a href="https://en.wikipedia.org/wiki/Madrid">Madrid</a> and <a href="https://en.wikipedia.org/wiki/Paris">Paris</a>.</p><p>The objective, was to use python to download the HTML document and then find and extract the required data. To use the Beatiful Soup, first is necessary to inspect the web page and identify the part of the HTML / CSS selectors needed like in the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8J-7wlSL6JAaM4EXh1n91Q.jpeg" /></figure><p>The next step was done in JupyterNotebook or other code editors. First the packages need to extract the data and execute the code(from bs4 import BeautifulSoup, import requests, import pandas as pd) were imported. A list with the name of the cities were created, altering the cities inside this list will alter the cities where the data is obtained.</p><pre>import requests<br>from bs4 import BeautifulSoup as bs<br>import pandas as pd<br>import unicodedata</pre><pre>cities = [&#39;Berlin&#39;,&#39;London&#39;, &#39;Madrid&#39;,&#39;Paris&#39;]</pre><p>The next step was to make the call create the soup for the HTML code. If the status code is 200 on response, it means it worked.</p><pre>list_of_city_info = []<br>for city in cities:<br>    url = &#39;<a href="https://en.wikipedia.org/wiki/%7B%7D&#39;.format(city)">https://en.wikipedia.org/wiki/{}&#39;.format(city)</a><br>    web = requests.get(url,&#39;html.parser&#39;)<br>    soup = bs(web.content)<br>    list_of_city_info.append(City_info(soup))<br>df_cities = pd.DataFrame(list_of_city_info)<br><br>df_cities</pre><p>A function was defined to clean the HTML file, the code is presented in the figure below.</p><pre>def City_info(soup):<br>    <br>    ret_dict = {}<br>    ret_dict[&#39;city&#39;] = soup.h1.get_text()<br>        <br>    if soup.select_one(&#39;.mergedrow:-soup-contains(&quot;Mayor&quot;)&gt;.infobox-label&#39;) != None:<br>        i = soup.select_one(&#39;.mergedrow:-soup-contains(&quot;Mayor&quot;)&gt;.infobox-label&#39;)<br>        mayor_name_html = i.find_next_sibling()<br>        mayor_name = unicodedata.normalize(&#39;NFKD&#39;,mayor_name_html.get_text())<br>        ret_dict[&#39;mayor&#39;]  = mayor_name<br>    <br>    if soup.select_one(&#39;.mergedrow:-soup-contains(&quot;City&quot;)&gt;.infobox-label&#39;) != None:<br>        j =  soup.select_one(&#39;.mergedrow:-soup-contains(&quot;City&quot;)&gt;.infobox-label&#39;)<br>        area = j.find_next_sibling(&#39;td&#39;).get_text()<br>        ret_dict[&#39;city_size&#39;] = unicodedata.normalize(&#39;NFKD&#39;,area)</pre><pre>if soup.select_one(&#39;.mergedtoprow:-soup-contains(&quot;Elevation&quot;)&gt;.infobox-data&#39;) != None:<br>        k = soup.select_one(&#39;.mergedtoprow:-soup-contains(&quot;Elevation&quot;)&gt;.infobox-data&#39;)<br>        elevation_html = k.get_text()<br>        ret_dict[&#39;elevation&#39;] = unicodedata.normalize(&#39;NFKD&#39;,elevation_html)<br>    <br>    if soup.select_one(&#39;.mergedtoprow:-soup-contains(&quot;Population&quot;)&#39;) != None:<br>        l = soup.select_one(&#39;.mergedtoprow:-soup-contains(&quot;Population&quot;)&#39;)<br>        c_pop = l.findNext(&#39;td&#39;).get_text()<br>        ret_dict[&#39;city_population&#39;] = c_pop<br>    <br>    if soup.select_one(&#39;.infobox-label&gt;[title^=Urban]&#39;) != None:<br>        m = soup.select_one(&#39;.infobox-label&gt;[title^=Urban]&#39;)<br>        u_pop = m.findNext(&#39;td&#39;)<br>        ret_dict[&#39;urban_population&#39;] = u_pop.get_text()</pre><pre>if soup.select_one(&#39;.infobox-label&gt;[title^=Metro]&#39;) != None:<br>        n = soup.select_one(&#39;.infobox-label&gt;[title^=Metro]&#39;)<br>        m_pop = n.findNext(&#39;td&#39;)<br>        ret_dict[&#39;metro_population&#39;] = m_pop.get_text()<br>    <br>    if soup.select_one(&#39;.latitude&#39;) != None:<br>        o = soup.select_one(&#39;.latitude&#39;)<br>        ret_dict[&#39;lat&#39;] = o.get_text()</pre><pre>if soup.select_one(&#39;.longitude&#39;) != None:    <br>        p = soup.select_one(&#39;.longitude&#39;)<br>        ret_dict[&#39;long&#39;] = p.get_text()<br>    <br>    return ret_dict</pre><p>The final result is a Dataframe as demonstrated in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*KFMwoppKQEZ4H7dCLUtmSA.jpeg" /></figure><p>2- Weather data using OWM API</p><p><strong>Weather API — OpenWeatherMap(OWM)</strong></p><p>For collecting data about weather <a href="https://openweathermap.org/api">OpenWeatherMap</a> web API was used. To use this API you just need to create an <a href="https://rapidapi.com/blog/openweathermap-api-overview/">a</a>ccount to access some of the free services. You can subscribe and start using OpenWeatherMapas soon as you have an account on RapidAPI. Same as at the AeroDataBox API, you need an API key for AeroDataBox API too. You can get it from RapidAPI for free by subscribing for BASIC plan. This will give you 200 free request for API so be careful while testing your code.</p><p>Some of the free services included in the OWM API are for example the 3h weather forecast for the next 5 days. To make a request for the API, python’s <a href="https://docs.python-requests.org/en/latest/">requests</a> library was used.</p><p>In this project the <a href="https://openweathermap.org/api/hourly-forecast">Hourly Forecast 4 days</a> API was used. The request for the <a href="https://openweathermap.org/api/hourly-forecast#name5">API call (By City Name)</a> looks like this:</p><pre>city_name = &quot;Berlin&quot;<br>country_name = &quot;DE&quot;</pre><pre>response_berlin = requests.get(f&#39;<a href="http://api.openweathermap.org/data/2.5/forecast/?q={city_name[0]},{country_name[0]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;">http://api.openweathermap.org/data/2.5/forecast/?q={city_name[0]},{country_name[0]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;</a>)</pre><pre>from IPython.display import JSON<br>response_berlin.json()</pre><p>The Output is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*mamyKBD322RPQQ6zvcmIUg.jpeg" /></figure><p>The request returns a JSON file. Not all data obtained, was necessary for the project, then a data cleaning was performed to select just the relevant data and store it in a Dataframe. The data cleaning code used is present below.</p><pre>#For Berlin<br>forecast_api = response_berlin.json()[&#39;list&#39;]<br>weather_info = []</pre><pre># datetime, temperature, wind, prob_perc, rain_qty, snow = [], [], [], [], [], []<br>for forecast_3h in forecast_api: <br>    weather_hour = {}<br>    # datetime utc<br>    weather_hour[&#39;datetime&#39;] = forecast_3h[&#39;dt_txt&#39;]<br>    # temperature <br>    weather_hour[&#39;temperature&#39;] = forecast_3h[&#39;main&#39;][&#39;temp&#39;]<br>    # wind<br>    weather_hour[&#39;wind&#39;] = forecast_3h[&#39;wind&#39;][&#39;speed&#39;]<br>    # probability precipitation <br>    try: weather_hour[&#39;prob_perc&#39;] = float(forecast_3h[&#39;pop&#39;])<br>    except: weather_hour[&#39;prob_perc&#39;] = 0<br>    # rain<br>    try: weather_hour[&#39;rain_qty&#39;] = float(forecast_3h[&#39;rain&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;rain_qty&#39;] = 0<br>    # wind <br>    try: weather_hour[&#39;snow&#39;] = float(forecast_3h[&#39;snow&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;snow&#39;] = 0<br>    weather_hour[&#39;municipality_iso_country&#39;] = city_name[0] + &#39;,&#39; + country_name[0] #Check it<br>    weather_info.append(weather_hour)    <br>    <br>weather_data_berlin = pd.DataFrame(weather_info)<br>weather_data_berlin.head()</pre><p>The output is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*H0jE0IiFmfMN9XTo1cyRhw.jpeg" /></figure><p>Subsequently, the request was done for the others cities London, Madrid and Paris, for this end just change the city name and country name.</p><p>3 — Collect flights data using the Aerodatabox API</p><p>The <a href="https://rapidapi.com/aerodatabox/api/aerodatabox/">AeroDataBox API</a> make it possible to request data about arriving flights. This API is accessible through RapidAPI, with 200 API requests per month in the free subscription plan. The steps needed for getting the data are the same as the OWM API — request the data from the API and clean the response to obtain only the relevant data from the response JSON.</p><p>The AeroDataBox API only returns flight data for 12 hours. The time used were the current time plus 11h and the current day and year. As described in the figure below.</p><pre>from datetime import datetime, timedelta</pre><pre>berlin_icao = &quot;EDDB&quot;<br>to_local_time = datetime.now().strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>from_local_time = (datetime.now() + timedelta(hours=11)).strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Bberlin_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{berlin_icao}/{to_local_time}/{from_local_time</a>}&quot;</pre><pre>import requests</pre><pre>querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}</pre><pre>headers = {<br>    &#39;x-rapidapi-host&#39;: &quot;aerodatabox.p.rapidapi.com&quot;,<br>    &#39;x-rapidapi-key&#39;: flight_api_key<br>    }</pre><pre>berlin_flights= requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)</pre><pre>from IPython.display import JSON<br>berlin_flights.json()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*14SDG2tbIHRCELGNtkRQdA.png" /></figure><p>As the input data for the API, the airport ICAO code, the code for the Europeans airports can be found in this <a href="https://airmundo.com/en/blog/airport-codes-european-airports/">link</a>. In this project just the arrivals were used, then the code for cleaning and to save this data in a Dataframe is illustrated below.</p><pre>arrivals_berlin = berlin_flights.json()[&#39;arrivals&#39;]<br>berlin_icao = &quot;EDDB&quot;</pre><pre>def get_flight_info(flight_json):<br>    # terminal<br>    try: terminal = flight_json[&#39;arrival&#39;][&#39;terminal&#39;]<br>    except: terminal = None<br>    # aircraft<br>    try: aircraft = flight_json[&#39;aircraft&#39;][&#39;model&#39;]<br>    except: aircraft = None</pre><pre>return {<br>        &#39;dep_airport&#39;:flight_json[&#39;departure&#39;][&#39;airport&#39;][&#39;name&#39;],<br>        &#39;sched_arr_loc_time&#39;:flight_json[&#39;arrival&#39;][&#39;scheduledTimeLocal&#39;],<br>        &#39;terminal&#39;:terminal,<br>        &#39;status&#39;:flight_json[&#39;status&#39;],<br>        &#39;aircraft&#39;:aircraft,<br>        &#39;icao_code&#39;: berlin_icao <br>    }</pre><pre># [get_flight_info(flight) for flight in arrivals_berlin]<br>arrivals_berlin = pd.DataFrame([get_flight_info(flight) for flight in arrivals_berlin])<br>arrivals_berlin</pre><p>The output is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*Uc937XHDx4Tm6Tn8oECBcQ.jpeg" /></figure><p>The “try-except” parameters is a good practice here because not the same data is available for all flights, and help to avoid errors and future headaches.</p><p>After we can create a unique table for all four cities:</p><p>Joining the dataframes for the weather of the cities(Berlin, London, Madrid and Paris) into only one dataframe, named “weather_data”</p><pre>(<br>    weather_data = <br>    pd.concat([weather_data_berlin, <br>               weather_data_london, <br>               weather_data_madrid, <br>               weather_data_paris], <br>              axis=0 ))</pre><p>After that the old index was dropped and a new one was created.</p><pre>weather_data.reset_index(drop = True, inplace=True) <br>weather_data</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*HwMfZkICfsvltxvEHtPd_w.jpeg" /></figure><p><strong>API keys</strong></p><p>A good practice is to store a the API keys in another Python module and importing them from there. Especially if you are storing your code on some open-source platforms. The code for it is below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*hDnR6KfwWdl7DiZkDcnnTQ.jpeg" /></figure><h3>Storing Data in a MySQL Database</h3><p>Until now the data was collected and stored in Dataframes. The next step is create a Database on MySQL Workbench. By doing it, the data can be stored locally. A good recommendation is to start with the main table and check if the column you want to use as PRIMARY KEY is also in the other tables and the values are unique to avoid errors. Another important element is the type of variables in MYSQL have to be exactly the same in Python. Is recommended to make the variables in the Dataframe and the Database with the same name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*hW81ZeIuWzL-QUH6Kk5-iA.jpeg" /></figure><pre>create table if not exists weather (<br> weather_id int auto_increment, <br>    datetime datetime, <br>    temperature float, <br>    wind float, <br>    prob_perc float, <br>    rain_qty float, <br>    snow integer, <br>    municipality_iso_country varchar(200),<br>    primary key(weather_id) #, <br>    #foreign key (municipality_iso_country) references cities(municipality_iso_country)<br>);</pre><p>The type of data inside the Python Dataframe and the MySQL database match one another. For example temperature, wind are float in both.</p><p>To create the database the following code was used:</p><pre>DROP DATABASE gans_pipe;<br>CREATE DATABASE IF NOT EXISTS gans_pipe;</pre><pre>USE gans_pipe;</pre><pre>drop table if exists arrivals; <br>create table if not exists arrivals(<br> arrivals_id int auto_increment, <br>    dep_airport text, <br>    sched_arr_loc_time datetime, <br>    terminal text, <br>    status text, <br> aircraft text, <br>    icao_code varchar(4),<br>    primary key (arrivals_id), <br>    foreign key (icao_code) references airports(icao_code)<br>);<br> select * from arrivals;</pre><pre>drop table if exists airports;<br>create table if not exists airports(<br> name text, <br>    latitude_deg float, <br>    longitude_deg float, <br>    iso_country varchar(10), <br>    iso_region varchar(10),<br>    municipality text, <br>    icao_code varchar(4), <br>    iata_code varchar(6), <br>    municipality_iso_country varchar(200),<br>    primary key(icao_code),<br>    foreign key (municipality_iso_country) references        cities(municipality_iso_country)<br>);<br>-- select * from airports;</pre><pre>DROP TABLE IF EXISTS cities;<br>CREATE TABLE IF NOT EXISTS cities (<br>    city VARCHAR(200),<br>    mayor TEXT,<br>    city_size TEXT, <br>    elevation TEXT, <br>    city_population TEXT, <br>    urban_population TEXT, <br>    metro_population TEXT, <br>    latitude TEXT, <br>    longitude TEXT, <br>    municipality_iso_country varchar(200),<br>    PRIMARY KEY(municipality_iso_country)<br>);</pre><pre>-- select * from cities;<br>-- insert into cities(city, mayor) values );<br># if we run this query twice we will have an error with duplicated id</pre><pre>drop table if exists weather; <br>create table if not exists weather (<br> weather_id int auto_increment, <br>    datetime datetime, <br>    temperature float, <br>    wind float, <br>    prob_perc float, <br>    rain_qty float, <br>    snow integer, <br>    municipality_iso_country varchar(200),<br>    primary key(weather_id), <br>    foreign key (municipality_iso_country) references cities(municipality_iso_country)<br>);<br>-- select * from weather;</pre><p>After running the code and using ctrl+r(Win) or cmd +r(mac), to check the schema and the connections:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*1_AWMuVQilkYRFg7Op2Xow.jpeg" /></figure><p>Running SELECT * FROM cities; in a query it can be noticed that the tables are empty. To populate the database, a connection between the JupyterNotebook to connect Python into MySQL database.</p><p>First a connection was established with the local database:</p><pre>schema=&quot;gans&quot;<br>host= host<br>user= root<br>password= &quot;Your_SQL_password&quot;<br>port=3306<br>con = f&#39;mysql+pymysql://{user}:{password}@{host}:{port}/{schema}&#39;</pre><p>then run this code to fill the tables:</p><p>For Arrivals table:</p><pre>import numpy as np<br>(<br>arrivals_berlin<br>    .replace({np.nan},&#39;unknown&#39;)<br>    .assign(sched_arr_loc_time = lambda x: pd.to_datetime(x[&#39;sched_arr_loc_time&#39;]))<br>    .to_sql(&#39;arrivals&#39;, if_exists=&#39;append&#39;, con=con, index=False))</pre><p>For Airports tables:</p><p>(<br> airports_cities<br> .dropna()<br> .to_sql(‘airports’, if_exists=’append’, con=con, index=False)<br>)</p><p>For Cities table:</p><pre>(<br>df_cities<br>    .dropna()<br>    .rename(<br>        columns={<br>            &#39;lat&#39;:&#39;latitude&#39;,<br>            &#39;long&#39;:&#39;longitude&#39;<br>            }<br>        )<br>    .to_sql(&#39;cities&#39;, con=con, if_exists=&#39;append&#39;, index=False)<br>    )</pre><p>For weather tables:</p><pre>(<br>    weather_data<br>        .assign(datetime = lambda x: pd.to_datetime(x[&#39;datetime&#39;]))<br>        .to_sql(&#39;weather&#39;, if_exists=&#39;append&#39;, con=con, index=False)<br>)</pre><p>5 — Connection and automation using Amazon AWS.</p><p>The first step is to create an AWS account and set up an Amazon RDS( Relational Database Service) MySQL Instance as exemplified in this <a href="https://www.youtube.com/watch?v=Ng_zi11N4_c&amp;ab_channel=BeABetterDev">link</a>. Then finally make an AWS connection in MySQL Workbench. To create the database, the same process to create the database locally was used:</p><pre>DROP DATABASE gans_pipe;<br>CREATE DATABASE IF NOT EXISTS gans_pipe;</pre><pre>USE gans_pipe;</pre><pre>drop table if exists arrivals; <br>create table if not exists arrivals(<br> arrivals_id int auto_increment, <br>    dep_airport text, <br>    sched_arr_loc_time datetime, <br>    terminal text, <br>    status text, <br> aircraft text, <br>    icao_code varchar(4),<br>    primary key (arrivals_id), <br>    foreign key (icao_code) references airports(icao_code)<br>);<br> select * from arrivals;</pre><pre>drop table if exists airports;<br>create table if not exists airports(<br> name text, <br>    latitude_deg float, <br>    longitude_deg float, <br>    iso_country varchar(10), <br>    iso_region varchar(10),<br>    municipality text, <br>    icao_code varchar(4), <br>    iata_code varchar(6), <br>    municipality_iso_country varchar(200),<br>    primary key(icao_code),<br>    foreign key (municipality_iso_country) references cities(municipality_iso_country)<br>);<br>-- select * from airports;</pre><pre>DROP TABLE IF EXISTS cities;<br>CREATE TABLE IF NOT EXISTS cities (<br>    city VARCHAR(200),<br>    mayor TEXT,<br>    city_size TEXT, <br>    elevation TEXT, <br>    city_population TEXT, <br>    urban_population TEXT, <br>    metro_population TEXT, <br>    latitude TEXT, <br>    longitude TEXT, <br>    municipality_iso_country varchar(200),<br>    PRIMARY KEY(municipality_iso_country)<br>);</pre><pre>-- select * from cities;<br>-- insert into cities(city, mayor) values (&#39;WBS Coding School&#39;, &#39;test&#39;);<br># if we run this query twice we will have an error with duplicated id</pre><pre>drop table if exists weather; <br>create table if not exists weather (<br> weather_id int auto_increment, <br>    datetime datetime, <br>    temperature float, <br>    wind float, <br>    prob_perc float, <br>    rain_qty float, <br>    snow integer, <br>    municipality_iso_country varchar(200),<br>    primary key(weather_id), <br>    foreign key (municipality_iso_country) references cities(municipality_iso_country)<br>);<br>-- select * from weather;</pre><p>The next step is to check if the database and connections are fine. Then it’s time to fill these tables but in this case, the code was operated on the cloud.</p><p>To run a code in the cloud a Lambda function is necessary, this is a special kind of functionality that exists in Amazon AWS and is explained in this <a href="https://www.youtube.com/watch?v=iUIWG0h2D84&amp;ab_channel=BeABetterDev">link</a>.</p><p>To allow this function to interact with our RDS instance, a “Role” is needed. The steps to create this role are explained in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*ZQPLnMUD_x7nm6d1tB4GsA.png" /></figure><p>The next step is to create the Lambda function, the steps are described below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*Q5-lyVptMauMpLJiVOA-Vg.png" /></figure><p>For Python, it is not possible to install the packages using the “pip install”, import the libraries, and write the code. The way to do it is to create a “Layer” to use additional libraries as Pandas for example. A layer in Amazon AWS is:</p><p><em>A layer can contain libraries, a custom runtime, data, or configuration files. Layers promote code sharing and separation of responsibilities so that you can iterate faster on writing business logic. Source: </em><a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html"><em>AWS documentation.</em></a></p><p>The layers can be created in different ways, in this project it was made using the official AWS Data Wrangler following this steps:</p><p>1. Using the official AWS Data Wrangler following these steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/0*xw3M65v9bWqY_4QQ.png" /></figure><p>2. Uploading pre-compiled packages with <a href="https://github.com/keithrozario/Klayers">KLayers</a></p><p>3. Compiling the layers locally and uploading them manually</p><p>For the project these layers were used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/0*IKHIoXXa86Rm2DP6.png" /></figure><p>Then in the lambda function, now is possible to import the necessary libraries:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*hB5_5wiFYrxFPcHv_tAm5Q.png" /></figure><p>After this steps the lambdas function can be written.</p><p>The first lambda function will be the “lambda_handler” as it is a trigger for the next functions.</p><pre>def lambda_handler(event, context):<br>    <br>    # flights api<br>    airport_icao = &quot;EDDB&quot;<br>    to_local_time = datetime.now().strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>    from_local_time = (datetime.now() + timedelta(hours=10)).strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>    flight_api_key = &quot;f6739f3056msh64ce9464977f614p147088jsn771af262d348&quot;<br>    url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Bairport_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{airport_icao}/{to_local_time}/{from_local_time</a>}&quot;<br>    querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}<br>    headers = {<br>        &#39;x-rapidapi-host&#39;: &quot;aerodatabox.p.rapidapi.com&quot;,<br>        &#39;x-rapidapi-key&#39;: flight_api_key<br>        }<br>    response = requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)<br>    arrivals_berlin = response.json()[&#39;arrivals&#39;]<br>    arrivals_berlin = pd.DataFrame([get_flight_info(flight, airport_icao) for flight in arrivals_berlin])</pre><p>Finally the lambda code to fulfill the other tables is:</p><pre>import json<br>import pandas as pd<br>import numpy as np<br>import requests<br>from datetime import datetime, timedelta<br>import requests<br>from datetime import datetime, timedelta</pre><pre>icao = [&#39;EDDB&#39;, &#39;EGLC&#39;, &#39;LEMD&#39;, &#39;LFPG&#39;]</pre><pre>berlin_icao = icao[0]<br>to_local_time = datetime.now().strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>from_local_time = (datetime.now() + timedelta(hours=11)).strftime(&#39;%Y-%m-%dT%H:00&#39;)<br>url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Bberlin_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{berlin_icao}/{to_local_time}/{from_local_time</a>}&quot;</pre><pre>import requests</pre><pre>querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}</pre><pre>headers = {<br>    &#39;x-rapidapi-host&#39;: &quot;aerodatabox.p.rapidapi.com&quot;,<br>    &#39;x-rapidapi-key&#39;: flight_api_key<br>    }</pre><pre>berlin_flights= requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)</pre><pre>from IPython.display import JSON<br>berlin_flights.json()</pre><pre>response = requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)     <br>arrivals_berlin = response.json()[&#39;arrivals&#39;]     <br>arrivals_berlin = pd.DataFrame([get_flight_info(flight, icao[0]) for flight in arrivals_be</pre><pre>#For London<br>london_icao = icao[1]<br>url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Blondon_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{london_icao}/{to_local_time}/{from_local_time</a>}&quot;</pre><pre>querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}</pre><pre>london_flights = requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)</pre><pre>arrivals_london = london_flights.json()[&#39;arrivals&#39;]<br>arrivals_london = pd.DataFrame([get_flight_info(flight, icao[1]) for flight in arrivals_london])</pre><pre>#For Madrid<br>madrid_icao = icao[2]<br>url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Bmadrid_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{madrid_icao}/{to_local_time}/{from_local_time</a>}&quot;</pre><pre>querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}</pre><pre>madrid_flights= requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)</pre><pre>arrivals_madrid = madrid_flights.json()[&#39;arrivals&#39;]<br>arrivals_madrid = pd.DataFrame([get_flight_info(flight, icao[2]) for flight in arrivals_madrid])</pre><pre>paris_icao = icao[3]<br>url = f&quot;<a href="https://aerodatabox.p.rapidapi.com/flights/airports/icao/%7Bparis_icoa%7D/%7Bto_local_time%7D/%7Bfrom_local_time">https://aerodatabox.p.rapidapi.com/flights/airports/icao/{paris_icao}/{to_local_time}/{from_local_time</a>}&quot;</pre><pre>querystring = {&quot;withLeg&quot;:&quot;true&quot;,&quot;withCancelled&quot;:&quot;true&quot;,&quot;withCodeshared&quot;:&quot;true&quot;,&quot;withCargo&quot;:&quot;true&quot;,&quot;withPrivate&quot;:&quot;false&quot;,&quot;withLocation&quot;:&quot;false&quot;}</pre><pre>paris_flights= requests.request(&quot;GET&quot;, url, headers=headers, params=querystring)</pre><pre>arrivals_paris = paris_flights.json()[&#39;arrivals&#39;]<br>arrivals_paris = pd.DataFrame([get_flight_info(flight, icao[3]) for flight in arrivals_paris])</pre><pre>#Joining all arrivals in one Dataframe<br>(<br> arrivals_data = <br> pd.concat([arrivals_berlin, <br>            arrivals_london, <br>            arrivals_madrid, <br>            arrivals_paris], axis=0 )<br>)<br>arrivals_data.reset_index(drop = True, inplace=True)</pre><pre># inserting data in our RDS<br>    schema=&quot;gans_pipe&quot;<br>    host=&quot;gans.czzxdshmvaqk.eu-central-1.rds.amazonaws.com&quot;<br>    user=&quot;admin&quot; <br>    password=&quot;MySQL_Password&quot;<br>    port=3306<br>    con = f&#39;mysql+pymysql://{user}:{password}@{host}:{port}/{schema}&#39;</pre><pre> # flight arrivals data     <br>(arrivals_data         <br>         .replace({np.nan},&#39;unknown&#39;)              <br>         .assign(sched_arr_loc_time = lambda x: pd.to_datetime(x[&#39;sched_arr_loc_time&#39;]))         <br>         .to_sql(&#39;arrivals&#39;, if_exists=&#39;append&#39;, con=con, index=False))</pre><ul><li><em>In the code the password should be changed to the user MySQL password.</em></li></ul><p>For the weather data the code is</p><pre>city_name = [&#39;Berlin&#39;, &#39;London&#39;, &#39;Madrid&#39;, &#39;Paris&#39;]<br>country_name = [&#39;DE&#39;, &#39;GB&#39;, &#39;ES&#39;, &#39;FR&#39;]</pre><pre>response_berlin = requests.get(f&#39;<a href="http://api.openweathermap.org/data/2.5/forecast/?q={city_name[0]},{country_name[0]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;">http://api.openweathermap.org/data/2.5/forecast/?q={city_name[0]},{country_name[0]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;</a>)</pre><pre>from IPython.display import JSON<br>response_berlin.json()<br>#For Berlin<br>forecast_api = response_berlin.json()[&#39;list&#39;]<br>weather_info = []</pre><pre># datetime, temperature, wind, prob_perc, rain_qty, snow = [], [], [], [], [], []<br>for forecast_3h in forecast_api: <br>    weather_hour = {}<br>    # datetime utc<br>    weather_hour[&#39;datetime&#39;] = forecast_3h[&#39;dt_txt&#39;]<br>    # temperature <br>    weather_hour[&#39;temperature&#39;] = forecast_3h[&#39;main&#39;][&#39;temp&#39;]<br>    # wind<br>    weather_hour[&#39;wind&#39;] = forecast_3h[&#39;wind&#39;][&#39;speed&#39;]<br>    # probability precipitation <br>    try: weather_hour[&#39;prob_perc&#39;] = float(forecast_3h[&#39;pop&#39;])<br>    except: weather_hour[&#39;prob_perc&#39;] = 0<br>    # rain<br>    try: weather_hour[&#39;rain_qty&#39;] = float(forecast_3h[&#39;rain&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;rain_qty&#39;] = 0<br>    # wind <br>    try: weather_hour[&#39;snow&#39;] = float(forecast_3h[&#39;snow&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;snow&#39;] = 0<br>    weather_hour[&#39;municipality_iso_country&#39;] = city_name[0] + &#39;,&#39; + country_name[0] #Check it<br>    weather_info.append(weather_hour)    <br>    <br>weather_data_berlin = pd.DataFrame(weather_info)</pre><pre>#For London<br>response_london = requests.get(f&#39;<a href="http://api.openweathermap.org/data/2.5/forecast/?q={city_name[1]},{country_name[1]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;">http://api.openweathermap.org/data/2.5/forecast/?q={city_name[1]},{country_name[1]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;</a>)</pre><pre>from IPython.display import JSON<br>response_london.json()<br>#For London<br>forecast_api = response_london.json()[&#39;list&#39;]<br># look for the fields that could ve relevant: <br># better field descriptions <a href="https://www.weatherbit.io/api/weather-forecast-5-day">https://www.weatherbit.io/api/weather-forecast-5-day</a></pre><pre>weather_info = []</pre><pre># datetime, temperature, wind, prob_perc, rain_qty, snow = [], [], [], [], [], []<br>for forecast_3h in forecast_api: <br>    weather_hour = {}<br>    # datetime utc<br>    weather_hour[&#39;datetime&#39;] = forecast_3h[&#39;dt_txt&#39;]<br>    # temperature <br>    weather_hour[&#39;temperature&#39;] = forecast_3h[&#39;main&#39;][&#39;temp&#39;]<br>    # wind<br>    weather_hour[&#39;wind&#39;] = forecast_3h[&#39;wind&#39;][&#39;speed&#39;]<br>    # probability precipitation <br>    try: weather_hour[&#39;prob_perc&#39;] = float(forecast_3h[&#39;pop&#39;])<br>    except: weather_hour[&#39;prob_perc&#39;] = 0<br>    # rain<br>    try: weather_hour[&#39;rain_qty&#39;] = float(forecast_3h[&#39;rain&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;rain_qty&#39;] = 0<br>    # wind <br>    try: weather_hour[&#39;snow&#39;] = float(forecast_3h[&#39;snow&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;snow&#39;] = 0<br>    weather_hour[&#39;municipality_iso_country&#39;] = city_name[1] + &#39;,&#39; + country_name[1] <br>    weather_info.append(weather_hour)    <br>    <br>weather_data_london = pd.DataFrame(weather_info)</pre><pre>For Madrid<br>response_madrid = requests.get(f&#39;<a href="http://api.openweathermap.org/data/2.5/forecast/?q={city_name[2]},{country_name[2]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;">http://api.openweathermap.org/data/2.5/forecast/?q={city_name[2]},{country_name[2]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;</a>)</pre><pre>from IPython.display import JSON<br>response_madrid.json()<br>#For Madrid<br>forecast_api = response_madrid.json()[&#39;list&#39;]<br># look for the fields that could ve relevant: <br># better field descriptions <a href="https://www.weatherbit.io/api/weather-forecast-5-day">https://www.weatherbit.io/api/weather-forecast-5-day</a></pre><pre>weather_info = []</pre><pre># datetime, temperature, wind, prob_perc, rain_qty, snow = [], [], [], [], [], []<br>for forecast_3h in forecast_api: <br>    weather_hour = {}<br>    # datetime utc<br>    weather_hour[&#39;datetime&#39;] = forecast_3h[&#39;dt_txt&#39;]<br>    # temperature <br>    weather_hour[&#39;temperature&#39;] = forecast_3h[&#39;main&#39;][&#39;temp&#39;]<br>    # wind<br>    weather_hour[&#39;wind&#39;] = forecast_3h[&#39;wind&#39;][&#39;speed&#39;]<br>    # probability precipitation <br>    try: weather_hour[&#39;prob_perc&#39;] = float(forecast_3h[&#39;pop&#39;])<br>    except: weather_hour[&#39;prob_perc&#39;] = 0<br>    # rain<br>    try: weather_hour[&#39;rain_qty&#39;] = float(forecast_3h[&#39;rain&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;rain_qty&#39;] = 0<br>    # wind <br>    try: weather_hour[&#39;snow&#39;] = float(forecast_3h[&#39;snow&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;snow&#39;] = 0<br>    weather_hour[&#39;municipality_iso_country&#39;] = city_name[2] + &#39;,&#39; + country_name[2] <br>    weather_info.append(weather_hour)    <br>    <br>weather_data_madrid = pd.DataFrame(weather_info)</pre><pre>#For Paris<br>response_paris = requests.get(f&#39;<a href="http://api.openweathermap.org/data/2.5/forecast/?q={city_name[3]},{country_name[3]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;">http://api.openweathermap.org/data/2.5/forecast/?q={city_name[3]},{country_name[3]}&amp;appid={OWM_key}&amp;units=metric&amp;lang=en&#39;</a>)</pre><pre>from IPython.display import JSON<br>response_paris.json()</pre><pre>#For Paris<br>forecast_api = response_paris.json()[&#39;list&#39;]<br># look for the fields that could ve relevant: <br># better field descriptions <a href="https://www.weatherbit.io/api/weather-forecast-5-day">https://www.weatherbit.io/api/weather-forecast-5-day</a></pre><pre>weather_info = []</pre><pre># datetime, temperature, wind, prob_perc, rain_qty, snow = [], [], [], [], [], []<br>for forecast_3h in forecast_api: <br>    weather_hour = {}<br>    # datetime utc<br>    weather_hour[&#39;datetime&#39;] = forecast_3h[&#39;dt_txt&#39;]<br>    # temperature <br>    weather_hour[&#39;temperature&#39;] = forecast_3h[&#39;main&#39;][&#39;temp&#39;]<br>    # wind<br>    weather_hour[&#39;wind&#39;] = forecast_3h[&#39;wind&#39;][&#39;speed&#39;]<br>    # probability precipitation <br>    try: weather_hour[&#39;prob_perc&#39;] = float(forecast_3h[&#39;pop&#39;])<br>    except: weather_hour[&#39;prob_perc&#39;] = 0<br>    # rain<br>    try: weather_hour[&#39;rain_qty&#39;] = float(forecast_3h[&#39;rain&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;rain_qty&#39;] = 0<br>    # wind <br>    try: weather_hour[&#39;snow&#39;] = float(forecast_3h[&#39;snow&#39;][&#39;3h&#39;])<br>    except: weather_hour[&#39;snow&#39;] = 0<br>    weather_hour[&#39;municipality_iso_country&#39;] = city_name[3] + &#39;,&#39; + country_name[3] #Check it<br>    weather_info.append(weather_hour)    <br>    <br>weather_data_paris = pd.DataFrame(weather_info)</pre><pre>#Joining all Dataframes in a single one<br>(<br>    weather_data = <br>    pd.concat([weather_data_berlin, <br>               weather_data_london, <br>               weather_data_madrid, <br>               weather_data_paris], <br>              axis=0 )<br>)</pre><pre># inserting weather data in our RDS<br>    schema=&quot;gans_pipe&quot;<br>    host=&quot;gans.czzxdshmvaqk.eu-central-1.rds.amazonaws.com&quot;<br>    user=&quot;admin&quot; <br>    password=&quot;MySQL_Password&quot;<br>    port=3306<br>    con = f&#39;mysql+pymysql://{user}:{password}@{host}:{port}/{schema}&#39;<br>    # weather data<br>    (weather_data<br>        .assign(datetime = lambda x: pd.to_datetime(x[&#39;datetime&#39;]))<br>        .to_sql(&#39;weather&#39;, if_exists=&#39;append&#39;, con=con, index=False))</pre><p>This is the same code previously executed in Python.</p><p>If the lambda function was executed correctly, the response for the execution should be similar to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*bJmfPbcAwBJJ7Q5FDCgCXQ.jpeg" /></figure><p>In my case, I didn’t put “return” at the end of the function since my goal it’s to fill the tables and not have results on the cloud. The next step is to check into MySQL and run “SELECT * FROM weather;”, The result table is presented below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*5pMi9TAY590dflPNYVYYIQ.jpeg" /></figure><h4>Some recommendations to avoid errors<strong>:</strong></h4><ol><li>Set time run-out at 5 minutes</li><li>Make sure you have all you need on the layers</li><li>Check if your code is indented well</li><li>Delete everything don’t need in your code</li></ol><p>The final step is to automate this data collection, for this end a set of triggers were created with AWS Cloudwatch Events. This <a href="https://www.youtube.com/watch?v=lSqd6DVWZ9o">link</a> explains how to set a trigger. This project required 2 triggers since the data collection interval were different for the arrivals and the weather. The triggers were set with the following intervals: one for the arrivals each day and one for the weather every 5 days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*Fr5eQMAYmDFKCNETBYQ52Q.png" /></figure><p><strong>Conclusions</strong></p><p>It was a very challenging project as it required everything that I have learned until now and I was able to learn new stuff that are very valuable in the job market as for example Amazon AWS services and how to automate a project. Also it was very useful to learn data engineer skills to add to the data scientist ones.</p><p>Now finally after all that we have a database to finally run the analysis an do the data science part and obtain some insights. For example: “how many people in Berlin are potential costumers for Gans?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*gHenYmRSKrhNBbZNkmAiBg.gif" /><figcaption>Gif Source: <a href="https://giphy.com/gifs/warnerarchive-sci-fi-warner-archive-l0HlRxJgEAr4rYF1e">https://giphy.com/gifs/warnerarchive-sci-fi-warner-archive-l0HlRxJgEAr4rYF1e</a></figcaption></figure><p>I would like to thank you for reading the articles and i would appreciate some feedback, if possible.</p><p><strong>The code used in this project can be found </strong><a href="https://github.com/icaromisquita/Data_Pipeline/tree/main"><strong>here</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e58608a157cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>