class: center,middle # Foreign Trade Statistics - Vehicle and Trailer Tracking The Wall 2021.12.07 --- # Group Project This presentation was prepared for group project of BDA 503-Essentials Data Analytics course. Group Members; - Anıl Okyol - Kerem Yalçınkaya - Kadir Baver Kerimoğlu --- # Dataset Information Foreign Trade Statistics - Vehicle and Trailer Tracking dataset includes information on Export, Import and Empty Entry data of Turkish and Foreign Vehicles from 2012 to 2021 with total 72 countries. There are total 14 attributes. You can find the whole report in [here.](https://pjournal.github.io/mef05g-the-wall/FinalProject/EDA_ForeignTradeStatistics.html) --- # Objectives and Project Steps In this group project we analyzed the import and export numbers based on different attributes. Here is the steps we've taken, - Downloading Data - Transforming and Cleaning Data - Exploratory Data Analysis - Creating a functional Shiny App that shows Import/Export Information with multiple filters given by end user. --- # Data Dataset consists of 50112 observation and 14 attributes. .left[ ``` ## tibble [50,112 x 14] (S3: tbl_df/tbl/data.frame) ## $ Level : int [1:50112] 376 295 205 227 211 165 212 191 159 163 ... ## $ PercentageChange : num [1:50112] 0 -21.54 -30.51 10.73 -7.05 ... ## $ Difference : int [1:50112] 0 -81 -90 22 -16 -46 47 -21 -32 4 ... ## $ YearlyPercentageChange : num [1:50112] 0 0 0 0 0 0 0 0 0 0 ... ## $ YearlyDifference : int [1:50112] 0 0 0 0 0 0 0 0 0 0 ... ## $ DtePreviousYearPercentageChange : num [1:50112] 0 0 0 0 0 0 0 0 0 0 ... ## $ DtePreviousYearPercentageDifference: int [1:50112] 0 0 0 0 0 0 0 0 0 0 ... ## $ MovingAverage : num [1:50112] 376 336 292 276 263 ... ## $ MovingSum : int [1:50112] 376 671 876 1103 1314 1479 1691 1882 2041 2204 ... ## $ Date : 'yearmon' num [1:50112] Jan 2012 Feb 2012 Mar 2012 Apr 2012 ... ## $ ExportImportCountry : chr [1:50112] "Afghanistan" "Afghanistan" "Afghanistan" "Afghanistan" ... ## $ VehicleType : chr [1:50112] "TIH" "TIH" "TIH" "TIH" ... ## $ ExportImport : chr [1:50112] "EXPORT" "EXPORT" "EXPORT" "EXPORT" ... ## $ ExportImportRegion : chr [1:50112] "Asia" "Asia" "Asia" "Asia" ... ``` <table> <tbody> <tr> </tr> </tbody> </table> ] --- # Dataset Information .pull-left[ Exporting is defined as the sale of products and services in foreign countries that are sourced or made in the home country. Importing is the flipside of exporting. Importing refers to buying goods and services from foreign sources and bringing them back into the home country. Empty entry is vehicle without goods that entering the country. ] .pull-right[ <table> <thead> <tr> <th style="text-align:left;"> VehicleTypes </th> <th style="text-align:left;"> Explanation </th> </tr> </thead> <tbody> <tr> <td style="text-align:left;"> TIH </td> <td style="text-align:left;"> Turkish Vehicles (Export) </td> </tr> <tr> <td style="text-align:left;"> YIH </td> <td style="text-align:left;"> Foreign vehicles (Export) </td> </tr> <tr> <td style="text-align:left;"> TIT </td> <td style="text-align:left;"> Turkish vehicles (Import) </td> </tr> <tr> <td style="text-align:left;"> YIT </td> <td style="text-align:left;"> Foreign vehicles (Import) </td> </tr> <tr> <td style="text-align:left;"> TBG </td> <td style="text-align:left;"> Turkish vehicles (Empty Entry) </td> </tr> <tr> <td style="text-align:left;"> YBG </td> <td style="text-align:left;"> Foreign vehicles (Empty Entry) </td> </tr> </tbody> </table> ] --- # Most Imported Countries .pull-left[ Most import countries as we can see in the right are EU countries such as Germany, Italy, France etc. On the other hand countries close to our border like Iraq, Iran, Bulgaria etc. ] .pull-right[
] --- # Most Exported Countries .pull-left[ Most export countries as we can see in the right are countries close to our borders. Top countries are usually in middle east or Asia, followed by EU countries. ] .pull-right[
] --- # Export-Import Trend ![](presentation_files/figure-html/unnamed-chunk-6-1.png)<!-- --> --- # Export-Import Numbers Based On Vehicle Type .pull-left[ ![](presentation_files/figure-html/unnamed-chunk-7-1.png)<!-- --> ] .pull-right[ ![](presentation_files/figure-html/unnamed-chunk-8-1.png)<!-- --> ] --- # Export Numbers Based On Region Wise ![](presentation_files/figure-html/unnamed-chunk-9-1.png)<!-- --> --- # Import Numbers Based On Region Wise ![](presentation_files/figure-html/unnamed-chunk-10-1.png)<!-- --> --- # Shiny App ![ShinyApp](shinyappscreenshot.png) --- #Conclusion 1. Most imported countries are EU countries such as Germany, Italy, France etc. On the other hand countries close to our border like Iraq, Iran, Bulgaria etc. 2. Most exported countries are countries close to our borders. Top countries are usually in middle east or Asia, followed by EU countries. 3. There is parallel increase and decrease between Import and Export numbers on Quarterly basis. Moreover we found out drops on export and import numbers between fourth quarter and first quarter on every year. We strongly believe this is due to winter conditions also we found out a huge drop in between 2020-Q1 and 2020-Q2.We believe this is due to the Corona Virus. 4. Turkish vehicles mostly used for imports and exports. 5. Import levels in Europe are way greater than Asia and Africa regions. Africa has the lowest import numbers among all. When we analyze the line running by quarters, import lines are quite bumpy. This irregularity can be considered as a factor of seasonal and political changes. In Africa region the line runs steadily. --- class: center,middle Thank you for listening...