scieee AI-readable full text Open interactive document viewer

Assessing the Urban Dynamics of the Viseu Dão Lafões region through a BI solution

Marques, Carolina Mota

Abstract

In a time when urban mobility challenges are increasing in complexity, an efficient use of data can play a central role in providing cities, policymakers, and citizens with the knowledge and tools for a more competent urban management strategy. The movement of people, done through various means, including public or private offerings, generates a significant amount of data that can be transformed into insights. These can be presented in the form of trends and patterns of movements or even in the identification of problematic areas in terms of accidents or lack of public transportation options. Within this scope, this master thesis project aims to create a business intelligence solution for the Viseu Dão Lafões region, where the stakeholders of the area can support their decision-making activities on the information presented in the several dashboards. These dashboards provide knowledge on the mobility sector of the region, namely of the Taxi services supplied by the municipalities to the citizens, the road traffic streams, the public transportation ticket sales, and lastly, the area visitors’ movements and dynamics. The project is supported by the Microsoft tool Power BI, where all data processing steps, such as the extraction, transformation, and loading were performed. Essentially, with the help of data visualization, this project offers a framework for a better understanding of the mobility data of the Viseu Dão Lafões region and enables its stakeholders to act and decide on it.

Full text

Master Degree Program in Information Management Assessing the Urban Dynamics of the Viseu Dão Lafões region through a BI solution Carolina Mota Marques Project Work presented as partial requirement for obtaining the Master Degree in Information Management NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa MGI NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa Assessing the Urban Dynamics of the Viseu Dão Lafões region through a BI solution by Carolina Mota Marques Project work presented as partial requirement for obtaining the Master’s degree in Information Management, with a specialization in Knowledge Management and Business Intelligence Supervised by Nuno Tiago Falcão Alpalhão, MsC, NOVA Information Management School Miguel de Castro Neto, PhD, NOVA Information Management School July, 2024 i STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Rules of Conduct and Code of Honor from the NOVA Information Management School. Carolina Marques Lisboa, July 2024 ii ABSTRACT In a time when urban mobility challenges are increasing in complexity, an efficient use of data can play a central role in providing cities, policymakers, and citizens with the knowledge and tools for a more competent urban management strategy. The movement of people, done through various means, including public or private offerings, generates a significant amount of data that can be transformed into insights. These can be presented in the form of trends and patterns of movements or even in the identification of problematic areas in terms of accidents or lack of public transportation options. Within this scope, this master thesis project aims to create a business intelligence solution for the Viseu Dão Lafões region, where the stakeholders of the area can support their decision-making activities on the information presented in the several dashboards. These dashboards provide knowledge on the mobility sector of the region, namely of the Taxi services supplied by the municipalities to the citizens, the road traffic streams, the public transportation ticket sales, and lastly, the area visitors’ movements and dynamics. The project is supported by the Microsoft tool Power BI, where all data processing steps, such as the extraction, transformation, and loading were performed. Essentially, with the help of data visualization, this project offers a framework for a better understanding of the mobility data of the Viseu Dão Lafões region and enables its stakeholders to act and decide on it. KEYWORDS Smart Mobility; Viseu Dão Lafões; Dashboard; Data; Visualization Sustainable Development Goals (SDG): iii TABLE OF CONTENTS 1. Introduction .................................................................................................................. 1 1.1 Motivation .............................................................................................................. 1 1.2 Problem .................................................................................................................. 2 1.3 Contributions .......................................................................................................... 2 1.4 Structure ................................................................................................................. 3 2. Literature review .......................................................................................................... 4 2.1 Smart Cities and Mobility ....................................................................................... 4 2.1.1. Smart City Concept ......................................................................................... 4 2.1.2 Smart Mobility ................................................................................................ 6 2.1.3 Mobility Digital Twins ..................................................................................... 7 2.1.4 Soft Mobility ................................................................................................... 8 2.2 Business Intelligence and Visualization ................................................................. 9 2.2.1 Business Intelligence Concept ........................................................................ 9 2.2.2 Data Visualization in Business Intelligence .................................................. 10 2.2.3 Data Visualization for Mobility ..................................................................... 11 3. Artifact proposal .......................................................................................................... 15 3.1. Methodology ....................................................................................................... 15 3.2 Definition of the artifact’s objectives ................................................................... 15 3.3 Resources requirements definition ...................................................................... 16 3.4 Data Collection and Modelling ............................................................................. 17 A) IreVir Taxi Services Data .................................................................................... 17 B) Public Transportation Tickets’ Data .................................................................. 18 C) Visitors’ Movements and Dynamics Data .......................................................... 19 D) Road Traffic Data ............................................................................................... 23 4. Results and Discussion................................................................................................ 25 4.1) IreVir Taxi Services .............................................................................................. 25 4.2) Road Traffic ......................................................................................................... 26 4.3) Public Transportation Tickets .............................................................................. 28 4.4) Visitors’ Movements and Dynamics .................................................................... 30 5. Conclusions and future works .................................................................................... 35 6. Limitations and challenges ......................................................................................... 36 Bibliographical References .............................................................................................. 37 Appendices ...................................................................................................................... 41 Appendix A – Final Dimensional Model in Power BI .................................................. 41 iv LIST OF FIGURES Figure 1– Network visualization for the smart city concept using VOSviewer........................... 5 Figure 2- Data Visualization Techniques, Frenzel, (2023) ........................................................ 10 Figure 3 - C2SMARTER Mobility Dashboard, taken from https://c2smarter.engineering.nyu.edu/c2smart-data-dashboard/ ............................... 12 Figure 4 - Amsterdam Smart City Dashboard, taken from https://www.geodan.com/knowledge-and-innovation/managing-urban-processes- intelligently-with-the-amsterdam-smart-city-dashboard/ .............................................. 13 Figure 5 - B-Smart Famalicão Dashboard, taken from https://famalicao.cityplatform.com/app/?a=transportes_publicos ................................................................... 14 Figure 6 - IreVir Data Model view in Power BI ......................................................................... 18 Figure 7 - Tickets' Data Model view in Power BI ...................................................................... 19 Figure 8 - Visitors' Movements Data Model view in Power BI ................................................. 20 Figure 9 - Stays' Data Model view in Power BI ........................................................................ 22 Figure 10 - Stays' Hours Data Model view in Power BI ............................................................ 23 Figure 11 – Alerts’ Data Model view in Power BI ..................................................................... 24 Figure 12 - IreVir Taxi Services Dashboard ............................................................................... 26 Figure 13 - Road Traffic Dashboard (Part 1) ............................................................................ 27 Figure 14 - Zoom on accidents' locations ................................................................................. 27 Figure 15 - Road Traffic - Accidents Analysis Dashboard (Part 2) ............................................ 28 Figure 16 - Public Transportation Tickets Dashboard (Part 1) ................................................. 29 Figure 17 - Public Transportation Tickets Dashboard (Part 2) ................................................. 30 Figure 18 - Visitors' Movements & Dynamics Dashboard (Part 1) ........................................... 31 Figure 19 - Visitors' Movements & Dynamics Dashboard (Part 2) ........................................... 32 Figure 20 - Visitors' Movements & Dynamics Dashboard (Part 3) ........................................... 33 Figure 21 - Visitors' Movements over time by Type Visual ...................................................... 33 Figure 22 - Visitors' Movements & Dynamics Dashboard (Part 4) ........................................... 34 Figure 23 - Final dimensional model in Power BI ..................................................................... 41 v LIST OF TABLES Table 1 - Smart City definitions in the literature ........................................................................ 4 Table 2 - Measures developed in the F_Ire Vir table ................................................................ 18 Table 3 – Fact Table F_Ire Vir ................................................................................................... 18 Table 4 - Measures developed in the F_Tickets table .............................................................. 18 Table 5 - Fact Table F_Tickets .................................................................................................. 19 Table 6 - Fact Table F_Stays_Movements ................................................................................ 20 Table 7 - Measures developed in the F_Stays_Movements ..................................................... 20 Table 8 - Measures developed in the F_Stays_Month table .................................................... 21 Table 9 - Fact Table F_Stays ..................................................................................................... 22 Table 10 - Measures developed in the F_Stays_Hours ............................................................. 22 Table 11 - Fact Table F_Stays_Hours ....................................................................................... 23 Table 12 – Measures developed in the F_Alerts table ............................................................. 24 Table 13 - Fact table F_Alerts ................................................................................................... 24 vi LIST OF ABBREVIATIONS AND ACRONYMS ADS Automatic Decision Systems AI Artificial Intelligence AV Autonomous Vehicles AVL Automatic Vehicle Location BAM Business Activity Monitoring BPM Business Performance Management DM Data Mining DT Digital Twins DW Data Warehousing EA Environmental Aspects ETL Extract-Transform and Load GIS Geographic Information Systems ICT Information and Communication Technology IoT Internet of Things ITS Intelligent Transportation Systems MaaS Mobility as a Service MDT Mobility Digital Twin MH Mobility of Human NLP Natural Language Processing OLAP Online Analytical Processing PLM Product Lifecycle Management SaaS Software as a Service SOA Service-Oriented Architecture TME Traffic Monitoring and Eco-routing VD Vehicle Detectors 1 1. INTRODUCTION 1.1 Motivation Over the years, the “idea” of a smart city has been greatly evolving, emerging from contemporary technological innovations, and later solidifying its role in improving its citizens’ quality of life in the present day. With the increase in population and the exodus from rural areas to urban ones, it is mandatory to respond to the demand for infrastructure and services effectively. However, this can become quite a challenge for policymakers, as the current problems modern cities face do not have exactly a “one size fits all” solution. To tackle these issues, there are three main dimensions that a smart city must consider as its relevant members: technology, community, and people (T. Singh et al., 2022). The interconnectivity between these agents constructs a new concept behind what a city must provide its citizens and society. It is at this point that the definition of what the term “smart city” really means arises, as Keshavarzi et al. (2021) describe it, from a social context, a smart city is a place where the economy is innovative, digital, and competitive and individuals work together in an interconnected network to construct an intelligent and sustainable city. There are, however, some difficulties that arise during the process of turning a city into a “smarter” version of itself. These are, regardless of the context, shared between the different areas of governance: (1) how can “smartness” improve the management of public services and infrastructure; (2) how to create, gather, and analyze meaningful data; (3) how to ensure data security; (4) how to protect citizens’ privacy; and (5) how to create a system architecture that can interface with many different systems and stakeholders (Anand & Navío- Marco, 2018). After the enormous volume of data is collected from the different networks and relationships within cities (such as economic, transportation, safety, and environmental elements), it can be used to provide and improve the current systems and infrastructure available in various areas, particularly in the mobility element. In the wake of the smart city phenomena, the concept of smart mobility also appears. With the increase in complexity and pressure to provide sustainable mobility solutions, the available data can be directed into improving and delivering a higher quality of life to all the people who take an active role in a city. According to the European Commission, smart mobility allows for an efficient public transport system, reduced traffic congestion, and multimodal approaches to transportation, which directly translates into a new mobility ecosystem from which businesses and people can collect benefits. Data, nonetheless, is only useful if correctly understood and analyzed; hence, data visualization is essential for decision-making based on complete knowledge of the topics at hand. Considering these assumptions, the Viseu Dão Lafões Intermunicipal Community, a relatively small region in the center of Portugal that is the place of residence for more than 200 thousand inhabitants, would greatly benefit from a platform dedicated to monitoring and managing its mobility data. Business intelligence, specifically its data visualization element, is the main focus of the present project. The development of a dashboarding solution for the region’s data has the specific goal of providing the administration with a planning and management tool that directly impacts the policymaking capacities of its stakeholders. Moreover, considering that the visualizations are available publicly, the companies and individuals of the region can use the information to create complementary or new goods and services that significantly impact the economic growth and development of the region. 8 2.1.4 Soft Mobility The notion of soft mobility covers all transportation modes of goods and people that do not include any type of motorized means. Given its definition, this concept is also known as active mobility or zero impact mobility, as it includes all ways of moving, like cycling and its derivatives, walking, rollerskating or any other type of transport that does not produce carbon dioxide (CO2) emissions. Rocca (2015) describes soft mobility as a unique method of sustainable mobility, that can improve urban livability and the overall environment by reducing the levels of noise and air pollution, traffic congestion and road safety. Despite its increasing attention, the accomplishment of such mobility goal encounters a major setback, as the conception of a soft mobility “network” has not yet been reached and the integration of the facilities and services needed to serve as a car alternative seem to be difficult to attain. To reach this new look into what mobility can mean, it is necessary for an in-depth collaboration between the various political and administrative entities to achieve the common targets of livability (Rocca, 2015). This collaboration should improve pedestrian and cycling mobility options, particularly in urban areas, to motivate the abandonment of motorized transport, which is still the main mobility option for urban and regional travel. Moreover, the role of walking as one of the leading transport modes and its role in the transport system has often and continuously been overlooked compared to car-dependent alternatives when it is the key to connecting all transport options (Galderisi & Ceudech, 2010). Furthermore, Rocca (2015) considers that regardless of the abundant creation of laws and tasks concerning the urgent development of substitute mobility solutions to reduce the harmful environmental impacts of car dependence, the promotion of soft mobility still relies heavily on private initiatives, even if working together with public entities. The author also highlights specific small European countries like Luxembourg, Switzerland, Belgium, the Netherlands, and Denmark, where public policies on soft mobility are well developed and where various government agencies are cooperating to engage in and develop solutions to foster its use. To fully implement a soft mobility approach, Virtudes et al. (2017) refer that it all begins with accessibility and acknowledge that the main objective is to enable the movement of people in opposition to the traffic of the car. The first step starts with adopting easy and active mobility methods to incentivize the usage of bicycling or simply walking as valid forms of transportation. There are numerous urban design choices that need to be implemented, such as wide sidewalks, routes with pedestrian priority, or bicycle paths. These then need to be articulated into a soft mobility system sustained on a reliable public transit scheme. While it is still challenging to reach a satisfactory level in terms of soft mobility solutions, some cases where the characteristics needed for this approach to be feasible are already ongoing. For example, Rocca (2015) emphasizes the case of “Alps Mobility”, where several countries (Italy, Austria, Germany and later France and Switzerland) worked together to develop environmentally friendly transit and travel solutions that promote a car-free type of tourism. In the future, the effort should be applied to disseminating the human behavior change needed to apply soft mobility methods that will return to its users the benefits related to well-being, environment, quality of life, and value for money. 9 2.2 Business Intelligence and Visualization 2.2.1 Business Intelligence Concept Even though the term “Business Intelligence” has been around since the 1990s and can be considered a trend-like phenomenon, there is still no universal conception of what it means. According to Pirttimaki (2007), BI is " an intelligence process that includes a series of systematic activities, being driven by the specific information needs of decision-makers and the objective of achieving competitive advantage”. The same author deems that Business Intelligence is multidimensional as a concept itself since it is an agglomerate of five main components: philosophy, technology, processes, managerial tools, and a refined form of information. Implicit in the definition of the BI term is the idea (and in most cases the ideal) that business intelligence systems offer actionable information that is delivered at the right time, location, and form to aid decision-makers in improving the quality and timeliness of inputs and ease the managerial work (Negash, 2004). In this sense, BI can be seen more as a management tool or philosophy when opposed to technology as an enabler of BI, since it cannot be used successfully through the application of technological solutions alone (Pirttimaki, 2007). Nowadays, authors like Khan (2012) argue that organizations cannot afford not to implement some sort of business intelligence solution, as factors like globalization and rapid technological innovation are forcing them to reassess their business and strategic approaches. Moreover, to be successful, companies and institutions need to leverage the competitive advantage of combining information technologies with business (Negash, 2004). The more traditional implementation of BI includes data aggregation, business analytics and data visualization, which produces reports and forecasts using several technological tools and techniques like Data Warehousing (DW), Extract-Transform and Load (ETL), Online Analytical Processing (OLAP), Data Mining (DM), Text Mining, Web Mining, Data Visualization, Geographic Information Systems (GIS), and Web Portals (Negash & Gray, 2003). The next step comes with the integration solutions that fill the gap between business processes and the business strategy, where the presence of tools like Business Performance Management (BPM), Business Activity Monitoring (BAM), Service-Oriented Architecture (SOA), Automatic Decision Systems (ADS), and dashboards emerge and take further relevancy (Khan, 2012). More recently, Cristescu (2016) points out that the focus has now transitioned from the traditional approach of BI to Software as a Service Business Intelligence (also known as SaaS or On-Demand BI) in response to the resource drain, time-consuming delays, and unaffordable costs of traditional enterprise software. Additionally, since the implementation and maintenance of the software can be done remotely, the easy sale of SaaS to clients that want to purchase all of the necessary integration capabilities is a big plus. The author also states that other than the usually mentioned benefits of these solutions, like the reduction of employment times and overall costs, it also moderates a significant risk: having to purchase the software and the additional hardware. For the future, Jasmin Praful Bharadiya (2023) highlights that the main trends for BI include artificial intelligence (AI)-powered automation, Natural Language Processing (NLP), advanced, augmented, and real-time analytics, IoT integration, explainable AI and even data monetization. However, the success of these trends will depend on the assumption that ethical standards are maintained, and that data privacy and protection are ensured. 10 2.2.2 Data Visualization in Business Intelligence The definition of visualization is often around the conception of representation of something, being that an object, situation, or information; in other words, it is the formation of an image in someone’s mind. (Cambridge Dictionary, n.d.). From this perception, data visualization starts from the same fundamental concept, as Burkhard & Meier (2005) describe it, it is “the use of computersupported, interactive, visual representations of abstract data to amplify cognition”. More precisely, it presents data in a manner that’s natural to the decision-makers and makes the determination of what further explorations are needed a more straightforward and intuitive process (Dudycz, 2010). In Business Intelligence, data visualization has become the “de facto” standard for modern BI solutions, paving the way for all users within an organization to be able to access the data analytics and data-driven capabilities of the BI software, without needing to have the usual technical background to do so (Islam & Jin, 2019). While data visualization is commonly associated with hands-on practices, there is some theory behind when it comes to the best techniques for clear and accurate data representation, namely regarding the appropriate use of colours, layout, scaling and the balance between aesthetics and functionality (Yalim et al., 2023). The common data visualization methods available in most BI software include histograms, line charts, tables, pie charts, bar charts, scatter plots, bubble plots, Venn diagrams, tree maps, semantic networks and much more. The employment of one or another depends heavily on what “story” needs to be passed on to the end user, as presented in the image below. Figure 2- Data Visualization Techniques, Frenzel, (2023) 11 2.2.3 Data Visualization for Mobility Understanding urban mobility dynamics presents a challenge for both researchers and stakeholders. Nonetheless, with data visualization systems, it is now possible to identify trends and abnormal phenomena in public, private, and shared modes of transportation (Sobral et al., 2019). In terms of urban traffic flows and monitoring, several approaches have been taken over time for their visualization. For example, in 2000, Claramunt et al. created a new GIS-based framework for realtime integration, handling, and visualization of urban traffic data. This framework involved various perspectives and levels of data aggregations that could be used in different domains. For instance, to analyze traffic flows, bidimensional maps would be suitable for geographical analysis, area charts for thematic analysis, line plots for temporal analysis, and bar charts for aggregation to group intervals of data. More recently, other options have been developed; in 2016, Hsieh & Wang approached the problem of traffic flow analysis using video stream data of VDs (vehicle detectors) to depict the traffic situation of other areas. As for the people Dynamics in urban environments, primarily related to the urban hotspots, the data source is usually mobile phone data, commonly known as “People-based GIS”. The data then enables the creation of heat maps both in 3D and 2D graphics, representing the individuals’ activity patterns and their evolution through space and time (Kang et al., 2010). Other sources of mobility data visualizations can be applied to road traffic; in 2007, Li et al. ranked and estimated the segments that may result in vehicle collisions to illustrate possible crash hazards on road linkages using a 3D GIS-based visualization. Moreover, within the mobility spectrum, there are other areas of interest for data visualization, like trip patterns, level of service, and travel behavior on public transportation systems. Case Studies Given that this project takes on a more practical approach to the topic, it is crucial to explore what are some real-life applications of data visualization techniques for mobility. These can serve as illustrative examples of what the final product could look like and be a way to compare the diversity of approaches to the subject. Case Study: C2SMARTER Mobility Dashboard C2SMARTER (Connected Communities for Smart Mobility towards Accessible and Resilient Transportation for Equitably Reducing Congestion) is a solution-oriented research center that uses cities as live laboratories to research complex transportation issues and identify solutions based on the most current, exceptional advancements in smart technologies and communication. This center created an all-in-one dashboard that integrates several data sources into an interactive visualization solution to track the mobility trends in transportation systems in New York City. The mobility board provides multi-dimensional views of vehicular traffic volumes, corridor travel times, transit rider numbers, freight traffic by Gross Vehicle Weight (GVW), and risk indicators such as reported collisions, pedestrian and cyclist deaths, and speeding tickets. The platform is updated regularly to achieve its two main goals: (i) comprehending the systemwide effects of congestion, especially those that worsen disparities on various population segments, and (ii) untangling the large system-of-systems interdependencies facing crowded metropolitan 12 structures, that not only contain many modes but many interrelated sectors. As an example of the added insight value of the platform, the researchers were able to conclude that in the post-COVID era, there has been a shift towards micromobility modes like bikes or scooters and non-mass transit away from densely crowded alternatives, such as public transportation and ridesharing. Case Study: Amsterdam City Dashboard Geodan, in a partnership with Huawei, the Johan Cruijff Arena, and the City of Amsterdam, launched the Amsterdam Smart City dashboard. The Dashboard is intended to facilitate locally enhanced decision-making processes based on real-time data and transparent access to the data. It is grounded in three relevant components for any smart city: energy transition, living environment, and transport. The city and its stakeholders receive vital information about the present situation and, via dependable models and analyses, predictions for the future as soon as the different data contained within these pieces are shown. Additionally, with the aid of the predefined KPIs (Key Performance Indicators), the dashboard assists users in the monitoring and managing of the system. With the integration of the various available data sources, like cameras, traffic, and noise measures, it is possible to provide the final users of the dashboard with powerful insights that can be turned into actionable decisions for the city’s management. In the mobility segment, the city has transformed its goals for improving traffic flow and the city’s accessibility into the Smart Mobility action program and made them perceptible through the visuals on the dashboard. The Vehicle tab/screen shows information streams for motorway traffic and public transport in real time: from the average speed on the motorways to the accessibility of public bicycle frameworks and from parking spots in parking structures to public transport delays. Figure 3 - C2SMARTER Mobility Dashboard, taken from https://c2smarter.engineering.nyu.edu/c2smart- data-dashboard/ 13 B-Smart Famalicão The city of Vila Nova de Famalicão made significant progress towards digital transformation when in June 2021, revealed the Smart City Famalicão project, in partnership with NOS: an urban intelligence platform that combines the municipality's data with intelligent management technologies. Integrating all levels of the municipality’s activity in one place allows the stakeholders to respond and tackle issues much faster and more efficiently. In the creation of the project, six main pillars were considered: people, environment, governance, mobility, life, and economy, all common themes within the smart city spectrum. This allows the city to become greener and more inclusive and materializes the initiative into an urban controller mechanism that anyone can access. As a practical example of the platform’s capabilities and within the mobility data, it is possible to check the number and location of electric car charges, parking spaces, bicycle parks, number of car accidents by year and type of accident. Numerous other data explorations can be made, such as soft mobility offerings within the city, like bicycle lanes or the city’s bus stop locations and bus network. Overall, B-Smart Famalicão presents itself as an excellent tool for improving the city’s management efficiency and providing the municipality services with methods and resources to increase the citizens' quality of life. Figure 4 - Amsterdam Smart City Dashboard, taken from https://www.geodan.com/knowledge- and-innovation/managing-urban-processes-intelligently-with-the-amsterdam-smart-city- dashboard/ 14 Figure 5 - B-Smart Famalicão Dashboard, taken from https://famalicao.cityplatform.com/app/?a=transportes_publicos 15 3. ARTIFACT PROPOSAL 3.1. Methodology Supported by the information retrieved and analyzed in the literature review section of the present project, this master thesis’ development will follow the DSR (Design Science Research) approach. The research done represents an important phase by emphasizing the need for a better understanding of the mobility data of the region and how that data can be rationalized and explored through the use of Dashboards. The DSR approach is based on the goal of generating prescriptive expertise on a topic (in this case, the urban mobility dynamics of the Viseu Dão Lafões region) and forming an artifact presented in the form of software, models, and concepts or others (Hevner et al., 2004). This method follows six main steps (Peffers et al., 2007), those being: (1) Identification of the problem: At this stage, the research problem is defined so that the final artifact can effectively provide a solution. It is helpful to conceptualize what the solution needs to resolve and that it captures the initial problem's complexity. In the case of this research, the problem subsists in the need to visualize the mobility data of the Viseu Dão Lafões region and present it successfully to all its stakeholders. (2) Definition of objectives for a solution: Definition of the goals of the artifact given the description and understanding of the problem, as well as what is practical and feasible. For this thesis, the goals need to be defined as to which questions about the data need to be answered (e.g., what are the areas of the region with the most accidents by type of accident?), as well as the resources needed to make the solution attainable, such as a platform like Power BI. (3) Design and development of the artifacts: Creation of the artifact can be done through constructs, models, methods, or instantiations that include the functionalities and architecture of the solution. (4) Demonstration by using the artifact to solve the problem: Show how to use the artifact to resolve one or more of the problem's occurrences. At this moment, the dashboards will be implemented, and the visualizations of the data will be available for use and analysis. (5) Evaluation of the solution: Assess how the artifact contributes to a problem-solving strategy. This activity involves the comparison between how the goals of a solution contrast with the real-world outcomes observed when the artifact is used in the demonstration. (6) Communication of the problem, the artifact, its utility, and its message: This stage encompasses the distribution and presentation of the final dashboard solution to all its relevant users. 3.2 Definition of the artifact’s objectives As a first step in developing a visualization solution for the topic at hand, it is essential to define precisely what questions or insights need to be retrieved from the available data. Without clear objectives, it is easier to disperse and not attain the real goal of the conceptual model. Taking that into account, two crucial factors are bundled into this. What are the research questions that need answering? And how (with which tool) are they going to be answered? Starting with the first part of this, the reports will be divided into several themes, those being Public Transportation Tickets, IreVir Taxi Services, Regions’ visitors and Road traffic. The questions and goals of each report are described below by theme. 16 A) IreVir Taxi Services: A1) What is the day of the week on which most taxi services are requested by the citizens? A2) What are the top 5 municipalities from which the most significant number of trip requests are made? A3) What is the trend for the requests month by month? (either increase, decrease, or maintenance of the demand) A4) What is the average length of the trips in terms of kilometers travelled? B) Public Transportation Tickets: B1) What is the total amount of passengers transported by year, with a breakdown by vendor? B2) What is each transport vendor's market share in revenue and passengers transported by year? B3) What is the amount paid (in %) by CIM in relation to the total revenues? B4) What is the number of tickets sold by type and year? C) Regions’ visitors: C1) What is the number of residents, regulars, visitors, and tourists per month and year? C2) What is the time of day with the most influx of people, by type of visitor? C3) What is the breakdown of the visitors’ stays by type (short, medium, mid to long and long) and country of origin? C4) What are the top 5 countries and region of origin of the visitors? C5) What are the parishes and municipalities most sought out by tourists, by year and month? C6) How long does each type of visitor tend to stay in each parish? C7) What are the most common movements between parishes by type of visitor? D) Road Traffic: D1) What is the time of day with the most jams and accidents? D2) What is the total number of accidents by year and month? D3) What is the location with the highest number of accidents? D4) What is the breakdown of accidents by subtype (Major, Minor and Not Defined)? 3.3 Resources requirements definition A major factor to consider when developing an artifact is to define the resources needed to do so. For the development of this project, the chosen tool was Power BI. 17 Srivastava (2023) underlines the key features of Power BI as being: (1) a User-friendly data visualization solution that provides real-time dashboards, interactive reports, charts and graphs; (2) Extensive visuals offering (tacked, line, pie, doughnut, map, and scatter charts and many others); (3) Collaboration options (reports and dashboards are easily sharable within the organization and even externally); (4) Able to process large amounts of data efficiently and drill down into granular details seamlessly; (5) Capable of reaching strategic decision-making level by offering visibility on the broader context and scenario of the data. Since no database is defined and available yet, all the data was retrieved from Excel, CSV and txt files and imported directly into Power BI. Taking this into account, the usual ETL (Extract, Transform and Load) process was replaced by an ELT (Extract, Load and Transform) one, so all needed data transformations, corrections and modelling were performed using the “transform” functionality in Power BI. This will be better explained in the next section. 3.4 Data Collection and Modelling Overall, the Data was collected from various sources such as NOS, WAZE and the intermunicipal community of the Viseu Dão Lafóes region and the datatypes vary from each dataset, ranging from numerical (e.g., number of passengers transported), text (e.g., alert type) and location (e.g., latitude and longitude points). For the scope of the project, the data sources are the files themselves that are then integrated into Power BI, where the major transformations are performed. Even though it is not the entire goal of the project, it is essential to understand each data source being pushed into Power BI for analysis, as to provide the final user with the knowledge to interpret the visualizations. Given the data's variety of sources and themes, the common ground of relationships is focused on Date and Location. The date relationship can be considered the most transversal within the model, implemented through the “D_Date” table. With the help of this auxiliary table, almost all reports benefit from the additional level of information it provides to the source data by connecting each date to its day of the week, weekday type, month, semester, and year. The final dimensional model, which includes all tables employed in the project, is displayed in Appendix A. A) IreVir Taxi Services Data There is only one file in txt format containing the raw data regarding the taxi services requests from people of the CIM Dão Lafões Region, with the origin place of the request and the destinations. The data includes the day on which the request was made, covering only a small period of time, the months of February to July of 2023. Additionally, all data related to the cost of the trip is given, as well as the number of KMs of the travels. Taking into account the high quality of the data, there were not many transformations needed, apart from some discrepancies between the wording on some of the Municipalities’ names (e.g., São Pedro do Sul vs são pedro do sul), which was easily solved by using the format option to capitalize each word. This way, each location would appear the same, eradicating duplicates and errors later on. Also, the time was extracted from the date hour column to provide further granularity and points of view for reporting and analysis. The tables employed for the “IreVir Taxi Services” report were three, those being the fact table “F_IreVir”, which was enhanced by the information of the date and stops’ coordinates dimension. For this topic and to be able to answer the research questions defined in chapter 3.2, one measure was created, which follows the below specifications: 24 It was identified that the value was blank for some of the rows containing the subtype of the alert. For those cases, the field was replaced with the text “Not Defined” so as not to appear in the final report without any label. Lastly, since the location of the alerts was stored in a geo WKT text, two new columns were generated with the latitude and longitude extracted from the previously mentioned column. With all these steps, the Fact table “F_Alerts” was constructed and connected to the auxiliary table “D_RoadType” to allow the drill-down on the alerts by road type name. One measure was created on the same fact table to determine the number of alerts. Its calculation is presented below: Table 12 – Measures developed in the F_Alerts table Measure Name Expression Number of Alerts COUNTROWS(‘F_Alerts’) Table 13 - Fact table F_Alerts Fact Table F_Alerts Source Waze Original Format CSV files Timeframe 2019-2023 Relationship D_Date, D_RoadType Granularity Daily with Time details (hours and minutes) Figure 11 – Alerts’ Data Model view in Power BI 25 4. RESULTS AND DISCUSSION Following the development of the dashboards, the results phase of the project is attained: deriving the insights from the data and answering the previously defined research questions. The results are presented through the use of maps, charts and tables, and each set of results is divided into four themes: IreVir Taxi Services; Road Traffic, Public Transportation Tickets and Visitors’ movements and dynamics. 4.1) IreVir Taxi Services Since the Taxi services serve the region's population as a complementary source of transportation, it is rather important to establish how people are moving, to where they are going and where they are coming from. By gathering and understanding this information, gaps and issues in the public transportation system can be identified and tackled. From the matrix on the top left corner of the dashboard (Figure 12), it can be concluded that all trips are made during working weekdays (Monday to Friday), with the most requests happening on Thursdays. This information, combined with the knowledge of the time of day on which most trips happen, displayed on the line chart in the right upper corner, can aid the development of a public transportation timetable that suits the needs of the residents, with for example three round trips per day happening at around 8:30 am, 12:30 pm and 5:30 pm. This would ensure that the service offered follows and considers that the distribution of requests per hour of the day peaks at these times. It is also possible to assess that this behavior is maintained by weekday and month over time using the respective slicers. Established by the combo (bar and line) chart, it is concluded that while the number of requests has seen a slight increase throughout the months analyzed, they follow a somewhat stable behavior, which could further assist in the precise definition of the public transportation offering of the area, as it is likely that the number of people looking for the services each month is maintained. With the average total trip length being between 35 to 40 kilometers, and most of them on average being with the taxi empty (meaning without passengers inside), it is understandable that the current system is not optimized. Connected with this information is the fact that the median number of people transported stands at one person per trip, further enhancing the lack of efficiency in these movements. To determine if the expansion of the transportation network is necessary, it is also important to look at the origin location of the requests and how many there are. This can be perceived both from the top 5 municipalities from which the requests are made (São Pedro do Sul, Castro Daire, Oliveira de Frades, Tondela e Vila Nova de Paiva) revealed on the pie chart; but to be more precise, the dashboard offers a visual aid in seeing precisely the location of these spots with the map visual, as well as the spot’s name, displaying a larger or smaller bubble according to the number of requests. By hovering with the mouse over the bubbles on the dashboard, it is possible to see exactly how many requests there are for that specific location, as well as the stop name, zone ID, latitude, and longitude. The limitations of the present conclusions naturally include the lack of temporal data covering a more extensive time period, as the data available only included the months of February to July 2023. Additionally, for a better comprehension of where the network could be extended, an overview of the current bus stops locations and the taxi ones on the same map would be beneficial in finding the gaps in service. 26 4.2) Road Traffic Being that the Viseu Dão Lafões region is considered to be a low-density zone (Alves & Oliveira, 2023), when compared with bigger hubs in Portugal, such as the Lisbon and Porto regions, the role of the car as a mode of transportation takes on an essential part in the mobility of the area’s population and visitors. The dynamics and information of road traffic are key elements for policy development regarding traffic streams, safety, and sustainability. From a first look at the data on the bottom of the dashboard (Figure 13), the number of alerts has been increasing over time, both in terms of the number of accidents as well as jams. This should be regarded as an alert for the policymakers since the traffic flow has deteriorated during the period covered (April 2019 to August 2023). Compared to the following years, the low number of traffic accidents and jams during the 2020 period could be partially explained by the COVID-19 pandemic and its subsequent lockdowns and containment measures, which limited the population’s movements during this time. Moreover, the number of accidents absolute amount also comes as a concern, being that each year they peak during August (seen by the highest bars on the chart in this month), reaching their highest value in 2023 with 345 accidents happening (in essence, around 12 accidents per day). It must be noted that these numbers only consider what was reported to Waze, so they are likely higher. On another note, as spotted from the line chart in the top left corner of the report, the number of accidents and jams follows the expected flow of people (from home to school, work or other functions and vice versa), peaking between 8:00 am to 9:00 am during the morning and again from 6:00 pm to 7:00 pm in the afternoon. These peaks are especially observable for the jam’s alerts, following a more continuous behavior in terms of accidents during the day. Figure 12 - IreVir Taxi Services Dashboard 27 A deeper look into the accidents data (Figure 14) on the second dashboard focused on road traffic shows that most accidents happen in the main accesses to the Viseu city and the freeways around it. Looking even further, it is noticeable that the greater number of accidents (concentration of bigger bubbles in the dashboard) happen in the south area of the Viseu city, showing larger issues in four specific roads “Estrada de Nelas”, “Avenida do Povo”, “Rua do Corgo” and “Estrada da circunvalação”. Since this behavior is observed in all years considered for the analysis, it would be helpful to understand the cause of these problems, as they could derive from a vast number of reasons, and some could be tackled with specific actions of the parishes and municipalities. They could occur from poor road signaling, tight or narrow vision roads and crossroads, inadequate traffic light locations and flawed road conditions such as potholes, debris and lack of road maintenance, etc. Figure 13 - Road Traffic Dashboard (Part 1) Figure 14 -Zoom on accidents' locations 28 Still on the accidents’ data, the dashboard (Figure 15) allows for the filtering of the results by road type on which the accidents took place, as well as the breakdown by subtype of alert. The pie chart highlights that most accidents are either minor or not defined, with around 13% to 18% being major ones 1 . It would be worth discussing and interesting to look at the results by severity of the major accidents (severe injuries, fatalities, or significant property damage, etc) because while for example, 15% being the average result considering all years, seems like a small portion when looking at the outcomes as a whole, the effect of these events could have major consequences both in terms of human lives affected and economic costs incurred. 4.3) Public Transportation Tickets Following the findings of the road traffic, it is now valuable to look at the public bus ticket sales and ridership, since it can provide valuable conclusions regarding the transportation usage and financial performance of the bus companies. Looking first at the trend of ticket sales and passengers, demonstrated by the bar charts on the right of the dashboard (Figure 16), it is clear it has been on a rising streak, even considering the plunge in 2020 due to the COVID-19 outbreak. This is seen by the ticket sales in 2019, which only reflect the last quarter of the year, being almost the same as the entire year of 2020. In addition to this, the ridership (number of passengers) has also been steadily increasing, with for example half of the year of 2023, being already very close to the amounts of the full year of 2022. From the tree map, an interesting finding is the fact that the market share of the vendors by number of passengers transported does not follow the same rank in terms of ticket sales. While the top 3 companies with the highest market share (TDI, Marques and Berrelhas, respectively) have the same rank in both perspectives, for U.Sátão and RBL their places are switched. Whilst RBL transports 1 The percentages shown are attained from the filtering of the pie chart by year and checking the minimum and maximum amounts of the results. Figure 15 - Road Traffic - Accidents Analysis Dashboard (Part 2) 29 around 16% of the total passengers, their ticket sales only amount to 10% of the total and U.Sátão transports 11% of the passengers but has 14% of the total ticket sales. If the end user also wants to take a deeper look into the data, they can get to the exact number of passengers and ticket sales per year and vendor with the options on the dashboard. If now taking into account, the seasonality of the tickets sold and passengers transported by month, observable on the line chart on the bottom right of the dashboard (Figure 17), it is noticeable that the first and second quarters of the year are much more popular than the second half of the year. Furthermore, it is true that correlation is not causation, however it is intriguing that the month in which most accidents tend to occur (August) is also the month in which fewer tickets are sold, and passengers ride the public buses. Even not considering the school passes (since usually students tend to have July and August as off months) by filtering out these ticket types on the report, the trend remains the same, with a strong plummet in these factors during the month of August. As for the breakdown of tickets sold by type, presented on the two matrixes on the top center of the dashboard, the comparison between years is quite complex since the categories used do not follow the same rationale for all years. Nevertheless, overall, the “normal” and pre-paid tickets take up more than 90% of the total tickets sold, followed by the school passes with around 7% and social passes with 2%. Regarding what could be called the “CIM contribution” (amount paid by the intermunicipal community in relation to the total ticket sales) to the public bus companies, reported on the bar charts on the left bottom corner, it ranges from 28% to 40%, following an upwards curve since 2020. While the percentage of funding remained relatively stable from 2020 to 2022, in 2023, it suffered a considerable rise, reaching about 40% of funding to the RBL company. Following these conclusions and as an improvement for the future, the collection of the data happening with a higher level of granularity, being daily instead of monthly, would benefit the collection of trends by weekdays and weekends and by promotion and services diffusion campaigns that might be running in a certain period of time. In the same way, if it would be possible to collect on which channels the tickets were bought from (online, physical ticket offices, etc) and the location of Figure 16 - Public Transportation Tickets Dashboard (Part 1) 30 these, several insights could be attainable such as marketing effectiveness, customer behavior analysis and citizens’ experience. 4.4) Visitors’ Movements and Dynamics This section divides the analysis into three topics: visitors’ stay time in the region by number of days, visitors’ stay time by number of hours, and visitors’ movements. Starting with the visitors’ stay time by number of days, a distinction was made between national tourists (country of origin is Portugal) presented on the donut chart (Figure 18) and international ones (country of origin are all besides Portugal). While the categories are similarly distributed between the national and international tourists, there are more accentuated deltas on the short stays (1 to 4 days in the region) for the international ones, which tend to make their stays even shorter than the Portuguese. On the other hand, national tourists tend to stay for more extended periods, with around 13% of all stays being equal to or higher than 13 days, compared with just 6% for the foreign ones. From the data, it is also evident that there is a seasonality to the tourists’ behavior, which tend to go to the region during the summer months (July, August, and September), and during January. These seem to follow the expected trend for good summer weather and Christmas and New Year’s holidays in the winter. Given that the region has many people who have emigrated to other countries, it would be interesting to estimate which percentage of the tourists are emigrants and which are really in the region for “typical” holidays. The information on these trends can help assess which destinations attract people for extended periods of time and which for short ones. This way, local authorities and businesses of a specific location can predict the demand for infrastructure and better allocate resources for certain periods of time. Longer stays also tend to imply higher spending amounts by the tourists, so its impact on the Figure 17 - Public Transportation Tickets Dashboard (Part 2) 31 local economy can be estimated for several activities such as lodging, food, attractions, shopping, and transportation. The report (Figure 18) allows for the filtering of the data by the country of origin of the tourists and municipality. From this, it is assessed that for the whole Viseu Dão Lafões region, the tourists tend to come from France, Germany, Spain, United Kingdom, and Switzerland. Since this does not mean that each month and year follow the same tendencies and the top five countries of origin are constant during the year, the report also allows for filtering by time period. Figure 18 - Visitors' Movements & Dynamics Dashboard (Part 1) Proceeding now to the results of the visitors’ stay time, by number of hours in each parish, it is observed that generally (Figure 19), people being general visitors, tourists, or others do not tend to spend more than 4 hours in each parish, with about 40% staying up to 1 hour, around 20% staying between 1 hour and 2 hours and another 20% staying from 2 to 4 hours. No real differences are seen between weekdays and weekends, as the results are very similar in terms of breakdown by percentage of stay time for both instances. Nonetheless, the outcomes vary significantly between parish, which is a field that can be filtered on the report (by selecting the parish on the map), and the municipality (by using the slicer). In 2022, during the month of August until mid-September, there was a considerable decrease in the 1-hour stays in the region, with a substantial increase in the more than 8 hours stays. One reason to explain this alteration is that the “Feira de São Mateus” event took place in Viseu (the parish with the highest concentration of individuals) during this time, namely from the 4th of August until the 21st of September. Again, there is a change in behavior, which starts in October 2023, where a massive increase in the percentage of more than 8 hours stays is seen, with the symmetrical reduction on the 1-hour ones. It could really be a change in behavior of the region’s visitors; however, it is more likely that there might have been a change in the calculation of the number of visitors by period of time. There could be some other reasons as well, such as changes in the data collection methods, data processing issues (software glitches) or even the altering of reporting practices (how data is aggregated over the day period). Given 32 this situation and to avoid the risk of misinterpretation, the results derived from this data should be taken as having issues and not as a true reflection of the trends. Since data is only useful if reliable, the work developed on this specific report could be taken as a framework for visualizing this type of data and not as a final solution and source of insights. For future developments, this kind of data could help stakeholders of the region make the connection between certain events (fairs, concerts, etc) and the opening of amenities in the area, such as public pools, with the number of people attracted to the area as well as the time they spent there. Understanding which of these factors influence the visitors’ stays durations can aid the development of the marketing and promotion efforts of the region, as well as assess their economic impact. As for the third set of results regarding the visitors’ movements, two reports were developed for their presentation. On the first one (Figure 20), two maps are presented, one on the left with the origin of the movements and one on the right with their destination. Looking at the data for the whole year of 2023, it is noticeable that Viseu serves the region as the movements’ center hub, both in terms of the movements' origin and the destination. The same applies to the bordering parishes. One note for the interpretation of the results is that the “No movements” were removed from the visualizations, which means that when the origin and destination codes are the same, they are not considered for analysis. This behavior, however, is not stable between visitor types, if the filter is done on residents for example, it is found that they tend to come from specific parishes outside the Viseu one like Queiriga, União de Freguesias de Mangualde, Senhorim, Mões, etc and concentrate mainly on the Viseu one as a destination. Tourists, however, seem to come mainly from Viseu and go into the whole CIM region, covering additional parishes of the area. This report allows the user to filter the data by the 2-hour interval, time period, visitor type (as mentioned before), weekday type, and parish. For the differences between weekends and workdays, there were not many found. With this type of data, travel patterns can be found and linked to specific events, and their impact on transportation networks can be evaluated for better planning for future ones. The same can be Figure 19 - Visitors' Movements & Dynamics Dashboard (Part 2) 33 done for the tourism industry in terms of marketing efforts and well-positioned infrastructure. Moreover, and especially for the local authorities, it could help with spatial planning to identify the areas with higher connectivity and the ones that are more isolated and may need more investment to contradict the trend. It was found, though, that there might be some issues in terms of the data’s reliability, which is clearer by analyzing the second report, namely the area chart shown on the top right corner of the dashboard. This chart (Figure 21) illustrates that the interval with the most individuals moving from one place to the other (considering the “No Movements” as already being excluded) is between 2:00 am and 6:00 am, which is highly unlikely. While this is valid both for residents and tourists, the “normal” visitor type follows an expected pattern, with a striking rise in movements during working hours (8:00 am to 4:00 pm) and reducing steadily between 6:00 pm until 10:00 pm. These results undermine the trust in the data’s dependability and, hence once again, the reports created should be presumed as bases for future developments with data that does not demonstrate these inconsistencies. Figure 20 - Visitors' Movements & Dynamics Dashboard (Part 3) Figure 21 - Visitors' Movements over time by Type Visual 40 Yeon, H., Eom, T., Jang, K., & Yeo, J. (2023). DTUMOS, digital twin for large-scale urban mobility operating system. Scientific Reports, 13(1), 5154. https://doi.org/10.1038/s41598-023-32326-9 41 APPENDICES Appendix A – Final Dimensional Model in Power BI Figure 23 - Final dimensional model in Power BI 42