Column
This project entails a comprehensive evaluation of the bus-based
public transportation options of Surat, Gujarat. It meticulously
examines various facets including year-wise ridership data spanning from
2018 to 2022, the total fleet size, dead kilometers incurred, and the
diversity of fuel types utilized by the buses. Moreover, it conducts a
detailed analysis of stop-wise ridership specifically for the latest
available year, 2022. The overarching objective is to provide
stakeholders, such as local authorities and policymakers, with a
holistic understanding of the existing bus-based public transit
infrastructure. By offering insights into ridership trends, fleet
composition, and operational efficiency, this assessment aims to
facilitate informed decision-making processes. Ultimately, the findings
are poised to contribute towards the enhancement, optimization, and
seamless integration of public transportation services within the urban
landscape.
Column
Library packages extend R capabilities for analysis, visualization,
and customization. Hence, following packages are used for the
project:
1. flexdashboard: Provides a framework for creating
interactive dashboards using R Markdown. It allows you to combine
narrative text, data visualizations, and interactive components in a
single document.
2. tidyverse: A collection of R packages designed
for data science, including data manipulation (dplyr), data
visualization (ggplot2), and data importing/exporting (readr,
readxl).
3. ggplot2: A powerful and flexible package for
creating static data visualizations in R. It follows the grammar of
graphics paradigm, allowing you to build complex plots layer by
layer.
4. htmltools: Provides functions for creating and
manipulating HTML content in R. It’s commonly used in conjunction with
other packages for generating HTML output in R Markdown documents or
Shiny applications.
5. viridis: Offers color palettes designed to be
perceptually uniform and accessible to individuals with color vision
deficiencies. It’s particularly useful for creating visually appealing
and inclusive data visualizations.
6. shiny: Enables the creation of interactive web
applications directly from R. It allows you to build dynamic user
interfaces that respond to user input and update in real-time.
7. shinydashboard: Extends the capabilities of
Shiny by providing a framework for creating dashboards with a
user-friendly layout. It includes features like tabbed panels, box
components, and sidebars for organizing content.
8. shinyWidgets: Provides additional user interface
components and widgets for Shiny applications. It includes elements like
sliders, date pickers, file uploaders, and more.
9. readxl: Offers functions for reading Excel files
into R data frames. It provides a convenient way to import data from
Excel spreadsheets for analysis.
10. plotly: Allows you to create interactive plots
and visualizations in R using the Plotly JavaScript library. It supports
a wide range of chart types and provides features like zooming, panning,
and hover tooltips.
11. leaflet: Provides tools for creating
interactive maps in R using the Leaflet JavaScript library. It allows
you to add layers, markers, polygons, and other elements to your maps,
and supports interactions like zooming and panning.
12. highcharter: Offers an interface to the
Highcharts JavaScript library, allowing you to create interactive and
responsive charts in R. It supports a variety of chart types and
customization options.
13. rsconnect: Provides functions for deploying
Shiny applications, R Markdown documents, and other content to the
RStudio Connect platform. It simplifies the process of sharing and
publishing your R projects online.
[1] 731 9
[1] 64 6
# A tibble: 711 × 9
Type `Stop Code` `Stop Name` Y_2018 Y_2019 Y_2021 Y_2022 Latitude Longitude
<chr> <dbl> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 CITY 10 RAILWAY STA… 5.32e6 6.20e6 2.20e6 3.18e6 21.2 72.8
2 BRTS 10 RAILWAY STA… 1.02e6 1.22e6 1.04e6 1.12e6 21.2 72.8
3 BRTS 6009 KAMREJ TERM… 1.20e6 1.28e6 7.60e5 9.67e5 21.3 73.0
4 BRTS 2028 D.G.V.C.L U… 7.38e5 8.79e5 6.69e5 8.75e5 21.2 72.9
5 BRTS 2074 MAHARANA PR… 3.47e5 5.39e5 5.47e5 7.93e5 21.2 72.9
6 BRTS 2069 DINDOLI KHA… 2.48e5 4.47e5 5.15e5 7.65e5 21.2 72.9
7 BRTS 4054 SARTHANA NA… 7.76e5 8.16e5 4.84e5 7.18e5 21.2 72.9
8 BRTS 2040 UDHANA DARW… 6.83e5 7.53e5 5.75e5 7.08e5 21.2 72.8
9 BRTS 2041 KHARWARNAGA… 4.56e5 5.96e5 4.41e5 6.84e5 21.2 72.8
10 BRTS 2032 SITANAGAR B… 5.22e5 6.36e5 4.52e5 6.42e5 21.2 72.9
# ℹ 701 more rows
# A tibble: 36 × 6
`Route No.` Type `Number of Diesel / CNG Bus` `Number of Electric Bus`
<dbl> <chr> <dbl> <dbl>
1 1 CITY 5 0
2 2 CITY 5 0
3 11 BRT 16 0
4 12 BRT 30 0
5 13 BRT 12 14
6 14 BRT 13 18
7 16 BRT 12 16
8 18 BRT 6 0
9 19 BRT 12 0
10 20 BRT 12 0
# ℹ 26 more rows
# ℹ 2 more variables: `Total Bus Count` <dbl>, `Total Dead KM` <dbl>