In this project, forest fires in Turkey were analyzed mathematically, causally and consequentially with the data we received from the Ministry of Agriculture and Forestry.
It was aimed to determine the causes of forest fires in our country, in which areas they are more intense, which forest types were damaged more, and to guide the measures to be taken by establishing connections between them and to raise awareness among people.
In the data sets we have, there are many relevant data under different headings. We have accessed these data sets from the official website of the General Directorate of Forestry, which is affiliated to the Ministry of Agriculture and Forestry of the Republic of Turkey.With these data sets, we will be able to interpret forest fires with numerical, causal, qualitative and recycling rate.
library(tidyverse)
library(rvest)
library(sf)
library(leaflet)
library(readr)
library(readxl)
library(ggplot2)
library(tidyr)
FOREST AREAS IN TURKEY
turkey <- st_read("data/turkey_administrativelevels0_1_2/tur_polbnda_adm1.shp")
## Reading layer `tur_polbnda_adm1' from data source
## `C:\Users\beyzanur\Desktop\DataScience_FireFighter\data\turkey_administrativelevels0_1_2\tur_polbnda_adm1.shp'
## using driver `ESRI Shapefile'
## Simple feature collection with 81 features and 8 fields
## Geometry type: MULTIPOLYGON
## Dimension: XY
## Bounding box: xmin: 25.66851 ymin: 35.80842 xmax: 44.81793 ymax: 42.10479
## Geodetic CRS: WGS 84
data_forestareas <- read_excel("data/Forest areas of all cities.xlsx")
turkey <- turkey %>%
arrange(adm1_tr)
turkey[c(48:51),] <- turkey[c(49,50,51,48),]
turkey <- turkey %>%
select(adm1_tr) %>%
rename("Province" = adm1_tr)
data_forestareas <- data_forestareas %>%
arrange(Province) %>%
select(Province,`Total Hectare`)
turkey[,"Province"] <- data_forestareas[,"Province"]
combine_2 <- merge(turkey,data_forestareas)
my_labels <- sprintf("<strong>%s</strong><br/> %s Hectare ", combine_2$Province, combine_2$`Total Hectare`) %>%
lapply(htmltools::HTML)
palcol <- colorNumeric(palette = "Greens", domain = combine_2$`Total Hectare`)
map1 <- combine_2 %>%
leaflet() %>%
addPolygons(color = "black",
fillColor = ~palcol(`Total Hectare`),
weight = 1,
fillOpacity = 0.9,
label = my_labels) %>%
addLegend(position = "bottomright",
pal = palcol,
values = ~`Total Hectare`,
title = "Forest Area") %>%
fitBounds(lng1 = 26, lat1 = 36 ,
lng2 = 44 ,lat2 = 42)
map1
Social Problem
Forest fires that have started to increase in Turkey, especially recently, worry us all. We are all deeply saddened by the loss of animals, people who have lost their lives, and the loss of our oxygen sources before our eyes. In our project, we want to deal with forest fires, which have been on the agenda recently in our country.
We will also try to answer the following questions that people wonder:
Why do these forest fires occur?
Which regions are more exposed to forest fires?
How are areas damaged by fire evaluated?