<?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 Imalidissanayaka on Medium]]></title>
        <description><![CDATA[Stories by Imalidissanayaka on Medium]]></description>
        <link>https://medium.com/@punsaradissanayaka16?source=rss-46ee83a5cf0c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nZ47cSMtT09W3gKKhmV5Ew.jpeg</url>
            <title>Stories by Imalidissanayaka on Medium</title>
            <link>https://medium.com/@punsaradissanayaka16?source=rss-46ee83a5cf0c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:56:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@punsaradissanayaka16/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[POWER BI PLATFORMS:]]></title>
            <link>https://medium.com/@punsaradissanayaka16/power-bi-platforms-d20bfc5b5f1e?source=rss-46ee83a5cf0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d20bfc5b5f1e</guid>
            <dc:creator><![CDATA[Imalidissanayaka]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 04:51:20 GMT</pubDate>
            <atom:updated>2024-07-23T04:51:20.096Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3PNBcxpL_Y9WZPSyD6NN8A.jpeg" /></figure><h3><strong>Introduction</strong></h3><p>Power BI is a powerful business analytics tool developed by Microsoft. It allows users to connect to various data sources, visualize and analyze data, and share insights across the organization. These are then used to analyze the data to better understand the needs of the organization.</p><h3><strong>Power BI Platforms</strong></h3><p>Power BI offers users the ability to choose from various platforms depending on their needs:</p><p>■ Power BI service</p><p>■ Power BI Desktop</p><p>■ Power BI Premium</p><h3><strong><em>Comparing Differences &amp; Similarities of Power BI Platforms:</em></strong></h3><h3><strong><em>&gt;Power BI service</em></strong></h3><p><strong>#Purpose</strong></p><p>Power BI service is a free, cloud-based platform that works on Microsoft Azure. This version of Power BI is not available on a private cloud or as an internal service. Power Bi service is a business analytics service provided by Microsoft that lets you visualize your data and share insights.it converts data from different sources to build interactive dashboard and Business intelligence reports.</p><p><strong>#Key Features</strong></p><p>&gt;Collaboration: Share reports and dashboards with colleagues and collaborate in real-time.<br>&gt;Data Refresh: Schedule automatic data refreshes to ensure reports and dashboards are always up to date.<br>&gt;App Workspaces:Create workspaces to manage, distribute, and control access to reports and dashboards.<br>&gt;Integration:Integrates with other Microsoft services like Azure, Office 365, and Microsoft Teams.</p><p><strong>#Usage Scenario:</strong><br>- Suitable for organizations that need to share and collaborate on reports and dashboards across teams and departments.</p><h3><strong><em>&gt;Power BI Desktop</em></strong></h3><p><strong>#Purpose</strong></p><p>Power BI Desktop is a free application you install on your local computer that lets you connect to, transform, and visualize your data. With Power BI Desktop, you can connect to multiple different sources of data, and combine them (often called modeling) into a data model.</p><p><strong>#Key Features:</strong><br>&gt;Data Connectivity and Preparation: Connects to various data sources, performs data cleaning and transformation.<br>&gt;Report Building: Allows users to create interactive visualizations and reports.<br>&gt;Data Modeling:Users can build complex data models using DAX (Data Analysis Expressions).<br>&gt;Offline Work: Work offline with data and reports.</p><p><strong>#Usage Scenario:</strong><br>- Ideal for data analysts and developers to design and create comprehensive reports and dashboards on their local machines before publishing them to the Power BI Service.</p><h3><strong><em>&gt;Power BI Premium</em></strong></h3><p><strong>#Purpose</strong></p><p>Power BI Premium includes additional data analysis and visualization features such as AI-driven analysis, modular and reusable dataflows and paginated reports. As its most basic, Power BI Premium is a capacity - based offering, meaning its dedicated, licensed resources for purchase in the cloud. This differs from the old model of licensing, which only had individual per-user licensing plans</p><p><strong>#Key Features:</strong><br>&gt;Dedicated Capacity: Provides dedicated resources for improved performance and reliability.<br>&gt;Enhanced Performance: Supports larger datasets and higher refresh rates.<br>&gt;Advanced Features: Includes features like paginated reports, AI capabilities, and dataflows.<br>- *Licensing Flexibility: Offers capacity-based licensing, which means organizations pay for the capacity rather than per user.</p><p><strong>#Usage Scenario:</strong><br>- Best for large organizations that need advanced features, dedicated performance, and scalability for their BI needs.</p><h3><strong><em>&gt;Similarities</em></strong></h3><p>1.Core Functionality<br>- Data visualization capabilities<br>- Extensive data connectivity options<br>- Data transformation and cleaning using Power Query</p><p>2.Common Interface and Tools<br>- Consistent user interface<br>- Report and dashboard creation and design</p><p>3.Integration Capabilities<br>- Integration with Microsoft products (Excel, Azure, Office 365)<br>- Support for APIs and custom integrations</p><p>4.Security Features<br>- Robust data security measures (row-level security, data encryption)<br>- Compliance with industry standards and regulations</p><p>5.Collaboration and Sharing<br>- Collaboration features for team work on reports and dashboards (Service and Premium)<br>- Sharing capabilities for reports and dashboards</p><p>6.Usage of Common Components<br>- Use of DAX (Data Analysis Expressions) and M language<br>- Support for common and custom visualizations</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d20bfc5b5f1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Tourism Data with R: A Journey into Analysis and Prediction]]></title>
            <link>https://medium.com/@punsaradissanayaka16/exploring-tourism-data-with-r-a-journey-into-analysis-and-prediction-88f39d4d1012?source=rss-46ee83a5cf0c------2</link>
            <guid isPermaLink="false">https://medium.com/p/88f39d4d1012</guid>
            <dc:creator><![CDATA[Imalidissanayaka]]></dc:creator>
            <pubDate>Thu, 30 May 2024 20:43:14 GMT</pubDate>
            <atom:updated>2024-05-30T20:43:14.759Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*Rj4PBS4vTzXv2w_YjhtCOA.jpeg" /><figcaption>world tourism</figcaption></figure><h3>#Introduction:</h3><p>Welcome, fellow data enthusiasts! Today, I invite you to embark on a journey with me as we delve into the realm of tourism data analysis using the powerful tools of R. In this article, we will navigate through the process of exploring, visualizing, and predicting patterns in tourism data.</p><p>To begin, I downloaded the Tourism Dataset from <a href="https://www.kaggle.com/dataset">https://www.kaggle.com/dataset</a>s. This data set consist of Country, year, International tourist arrivals by region and percentage.</p><p>Throughout this article, you’ll not only witness the fascinating insights we uncover but also learn how to leverage R and its libraries for data manipulation, visualization, and predictive modeling.</p><p>Here’s how I prepared the data for analysis in R to explore data:</p><h4><strong>#Import Dataset &amp; Call the Packages.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-J19HP0wH6z_7HJAU2eScw.png" /></figure><p><strong>#View the structure, Summaries the dataset &amp; Categorize the dataset.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9EtZS7ksyWEKsR-d7nQoFw.png" /><figcaption>structure of the dataset</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7sekMaTKmTmgDTkbn8dJJQ.png" /><figcaption>summary of the dataset</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eEiLHRrLRI__Qxmdfp9Jqg.png" /><figcaption>categorize the country</figcaption></figure><p>AS the second step I checked the missing values and found the null values and the result was 0. Then after that I go to the regression and visualization parts.</p><p><strong>#Identify missing values &amp; find null values.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7s8QcKJXzlk5V5_2PsNrSw.png" /><figcaption>missing value</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N-Fi1SWYrqxRTMQxAZ8RBQ.png" /><figcaption>null value</figcaption></figure><p>After that I do the regression. In Regression models, firstly I make Linear regression. After that summarize the regression model and plot the data with the regression line. And finally do the prediction part.</p><p><strong><em>#Linear Regression and regression plot</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTkZEwNgivFBqyGavuO37Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdQcaaJbyXmKSJqUdNmKqA.png" /><figcaption>linear regression model</figcaption></figure><h3><strong># Display the Prediction</strong></h3><p>First I load the data to R studio using “read.csv()” function. The lm() function is used to fit the model, and summary() provides a summary of the model including coefficients, p-values, and goodness-of-fit statistics.</p><p>Here’s the code and the output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MWDtfgzbDO6dvBemoqRldw.png" /></figure><h3><strong><em>DATA VISUALIZATION</em></strong></h3><p>For data visualization part, I used three types of plots scatters plot, box plot and histogram. Also categorize the dataset by Country.</p><h3><strong>#Scatter plot</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j9t5wN2kl5LdfnvxRjk26g.png" /></figure><h3><strong>#Box Plot</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xSLeQiOeb2Y5fKNGu100sA.png" /></figure><h3><strong>#Histograms</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Twdagve-ZvjqCgQXmWBX7g.png" /><figcaption><strong>Histogram of the year</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0p4l_TSw33WmBpv8uz-u1w.png" /><figcaption><strong>Histogram of the international tourist arrivals by region</strong></figcaption></figure><h3><strong>#Working with R shiny</strong></h3><p>To enhance my exploration experience, I employ R Shiny to create interactive graphs and charts. With R Shiny, I transform static visualizations into dynamic, user-friendly tools that allow for deeper engagement with the data. So, from R Shiny users can effortlessly filter and zoom into specific subsets of data, gaining valuable insights at their fingertips.</p><p>R Shiny is an excellent tool for creating interactive web applications. So I used it to build an app that allows users to explore the relationships.</p><p>The output can be seen below when we run the following code:</p><pre><br>library(shiny)<br>library(readr)<br>library(dplyr)<br>#load the data<br>data=read.csv(&quot;C:/Users/singhagiri/Desktop/dataset/international-tourist new.csv&quot;)<br><br>#convert the year column to numeric type<br>data$International.tourist.arrivals.by.region=as.numeric(data$International.tourist.arrivals.by.region)<br><br># Define UI for application that draws a histogram<br>ui &lt;- fluidPage(<br><br>  titlePanel(&quot;Tourism dataset&quot;),<br>  sidebarLayout(<br>    sidebarPanel(<br>      selectInput(&quot;International.tourist.arrivals.by.region&quot;,<br>                  &quot;select International.tourist.arrivals.by.region&quot;,<br>                  choices = unique(data$International.tourist.arrivals.by.region),<br>                  selected = unique(data$International.tourist.arrivals.by.region)[1]),<br>    ),<br>    mainPanel(<br>      tabsetPanel(<br>        tabPanel(&quot;International.tourist.arrivals.by.region Scatter Plot&quot;, plotOutput(&quot;scatterPlot&quot;)),<br>        tabPanel(&quot;International.tourist.arrivals.by.region Histogram&quot;, plotOutput(&quot;histogram&quot;)),<br>      )<br>    )<br>  )<br>)<br><br># Define server logic required to draw a histogram<br>server &lt;- function(input, output) {<br>  filtered_data=reactive({<br>    data[data$International.tourist.arrivals.by.region == input$International.tourist.arrivals.by.region, ]<br>  })<br>  <br>  output$scatterPlot=renderPlot({<br>    data=filtered_data()<br>    plot(data$International.tourist.arrivals.by.region, data$year,<br>         main = paste(&quot;Scatter Plot of International.tourist.arrivals.by.region vs year&quot;, input$International.tourist.arrivals.by.region),<br>         xlab = &quot;International.tourist.arrivals.by.region&quot;, ylab = &quot;year&quot;,<br>         pch = 19, col = &quot;red&quot;)<br>  })<br>  <br>  output$histogram=renderPlot({<br>    data=data$International.tourist.arrivals.by.region<br>    hist(data,<br>         main = &quot;Histogram of Tourism dataset&quot;,<br>         xlab = &quot;International.tourist.arrivals.by.region&quot;,<br>         col = &quot;green&quot;, breaks = 30)<br>  })<br>}<br># Run the application <br>shinyApp(ui = ui, server = server)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZWecfVmX7be_f8OHhnk7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_XU-LGOqOAuxaqW3X_vzPg.png" /></figure><h3>Seeing Patterns:</h3><p>As we navigate through the data, distinct patterns begin to emerge. We observe recurring trends in tourist behavior.</p><p>These patterns offer important insights into consumer behavior, market dynamics, and external factors influencing tourism trends. By understanding these patterns, stakeholders can make informed decisions, ranging from resource allocation to marketing strategies, to capitalize on emerging opportunities and mitigate risks.</p><p><strong>Putting It All Together:</strong></p><p>In the final leg of our journey, we bring together our predictions and visualizations to gain a comprehensive understanding of the tourism landscape. By integrating predictive insights with interactive graphs and charts, we paint a vivid picture of future trends and opportunities in the tourism industry.</p><p>Through this holistic approach, I uncover actionable insights that empower stakeholders to make informed decisions, drive innovation, and shape the future of tourism.</p><p><strong>Conclusion:</strong></p><p>In conclusion, our expedition into tourism data analysis using R has been both enlightening and rewarding. I’ve explored the nuances of tourist behavior, uncovered hidden patterns, and made accurate predictions about the future of tourism activity.</p><p>I encourage you, dear readers, to embark on your own data exploration journeys. Armed with the tools and techniques shared in this article, you too can uncover valuable insights and make meaningful contributions to your domain of interest.</p><p>THANK YOU!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88f39d4d1012" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>