<?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 Rajendran S P on Medium]]></title>
        <description><![CDATA[Stories by Rajendran S P on Medium]]></description>
        <link>https://medium.com/@rajendransp?source=rss-39c04e56bc87------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*o6rbKe6XpEzYj9016oPUSA.jpeg</url>
            <title>Stories by Rajendran S P on Medium</title>
            <link>https://medium.com/@rajendransp?source=rss-39c04e56bc87------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 15:25:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rajendransp/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[The Art of Reassurance: How to Turn Risks into Stakeholder Confidence]]></title>
            <link>https://rajendransp.medium.com/the-art-of-reassurance-how-to-turn-risks-into-stakeholder-confidence-4410eb7ce059?source=rss-39c04e56bc87------2</link>
            <guid isPermaLink="false">https://medium.com/p/4410eb7ce059</guid>
            <category><![CDATA[leadership-communication]]></category>
            <category><![CDATA[trust-building]]></category>
            <category><![CDATA[stakeholder-management]]></category>
            <category><![CDATA[risk-management]]></category>
            <dc:creator><![CDATA[Rajendran S P]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 10:48:46 GMT</pubDate>
            <atom:updated>2025-08-31T10:48:46.569Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTr9fN6AtELbXYAHUTocig.png" /></figure><p>Have you ever noticed this?</p><p>In a Friday status call,</p><ul><li>In most projects, everyone <em>knows</em> the deadline might slip.</li><li>Everyone <em>feels</em> the risks.</li><li>Yet when updates are shared, the tone is calm, the plan is clear, trust remains intact, the language is filled with <strong>assurance and confidence</strong>.</li></ul><p>Why? Because stakeholder handling isn’t just about reporting facts. It’s about <strong>building trust</strong>.</p><p><strong>🎯 The Stakeholder Paradox</strong></p><p>If you say:</p><p>❌ <em>“We’re delayed. It won’t be ready on time.”</em></p><p>— you may be stating the truth, but you’re also creating panic and eroding confidence.</p><p>If instead you say:</p><p>✅ <em>“There’s a risk of delay due to X. We’ve already reallocated resources and adjusted the plan. The critical functionality will still land on time, with the rest following shortly after.”</em></p><p>— the reality hasn’t changed, but the perception of <strong>control and ownership</strong> has.</p><p>That’s the real difference.</p><p><strong>Why Raw Transparency Often Backfires</strong></p><p>Leaders and customers don’t just want information — they want confidence. That’s why many teams hesitate to share unfiltered risks. Common reasons:</p><ol><li><strong>The Need for Assurance vs. Harsh Reality<br>Executives &amp; stakeholders</strong> want confidence that the team is in control, even if timelines are shaky. <br>Saying <em>“We’ll deliver on time”</em> is often less about the literal truth and more about <strong>signaling competence and control</strong>. <br>Constantly highlighting uncertainty or delays can be perceived as <strong>weakness, lack of ownership, or inability to manage risks</strong> — even when it’s just being factual.</li><li><strong>Why Transparency Feels Discouraged<br>Fear of panic or loss of trust:</strong> If stakeholders hear too many problems, they may lose faith in the team’s ability, even if the problems are normal.<br><strong>Corporate culture:</strong> Many organizations reward <em>optimism and confidence</em> more than <em>nuanced truth</em>. Leaders sometimes prefer to manage bad news behind the scenes rather than broadcast it openly.<br><strong>Information asymmetry:</strong> Stakeholders may already suspect slippage but prefer a “positive narrative” until it’s unavoidable, so that escalation looks controlled rather than chaotic.</li><li><strong>The Subtle Encouragement of Optimism<br></strong>Teams are coached to frame updates as <strong>assurances (“we’re on track”)</strong> with caveats handled privately.<br>Status reports often lean on “green/yellow” coding until the very last moment before a shift to “red.” <br>The unwritten rule becomes: <em>Delay the bad news as long as possible, deliver it only with mitigation plans attached.</em></li></ol><h3><strong>The Middle Ground: Confident Realism</strong></h3><p>The mature approach isn’t blind optimism or blunt negativity — it’s <strong>confident realism</strong>:</p><ul><li>Instead of: <br> ❌ <em>“We’re delayed; we won’t make it.”<br> </em>Use: <br> ✅ <em>“We’re at risk of missing the date, but here are three options to keep scope, quality, and delivery balanced.”</em></li><li>Pair <strong>facts with solutions</strong> so that stakeholders hear <em>assurance in the plan</em>, not <em>denial of the problem</em>.</li></ul><p><strong>🔑 A Simple Formula: Assurance → Reassurance → Confidence</strong></p><p>Think of stakeholder communication as a cycle:</p><ul><li><strong>Assure</strong>: “Yes, we’re on top of it.”</li><li><strong>Reassure</strong>: “Here’s how we’re managing the risk.”</li><li><strong>Confidence</strong>: “This will deliver business value without surprises.”</li></ul><p>This isn’t about sugar-coating delays. It’s about presenting facts <strong>with a plan attached</strong>.</p><p>In short: It’s not that facts aren’t valued — it’s that <strong>facts without a story of control erode confidence</strong>. The “assurance → reassurance → confidence” cycle is about maintaining trust and protecting relationships, even if everyone quietly knows the timeline is slipping.</p><p><strong>The Traffic Light Method</strong></p><p>One simple way to do this is by using the classic <strong>Green / Yellow / Red</strong> update:</p><p>🟢 <strong>Green = On Track</strong> — everything’s fine.</p><p>🟡 <strong>Yellow = At Risk</strong> — yes, there’s risk, but it’s being managed.</p><p>🔴 <strong>Red = Delayed</strong> — slippage is confirmed, but with a clear recovery plan.</p><p>It’s visual, simple, and instantly tells stakeholders you’re <strong>proactive, not reactive</strong>.</p><p><strong>Language That inspires Trust</strong></p><p>Instead of blunt negatives, use confident realism:</p><ul><li>“At risk but under control.”</li><li>“Critical path intact, secondary tasks adjusted.”</li><li>“Delivery confidence is improving with the revised plan.”</li></ul><p>Notice how these phrases communicate <strong>control + progress</strong>, not just problems.</p><p><strong>How to Communicate Delays (4 Scenarios)</strong></p><p><strong>1. When Delay is Likely but Not Yet Confirmed</strong></p><p><strong>Tone:</strong> Confidence + risk awareness + proactive control</p><ul><li><em>“We are currently tracking towards the date, but there’s a risk due to [specific factor]. We’re mitigating it by [action], and I’ll keep you updated.”</em></li><li><em>“At this stage, delivery is on plan, but we’re monitoring [X]. If it impacts, we have a fallback approach.”</em></li></ul><p>👉 This keeps stakeholders calm while signalling you’re on top of risks.</p><p><strong>2. When Delay is Confirmed, but You Want to Reassure</strong></p><p><strong>Tone:</strong> Transparency + ownership + solution-oriented framing</p><ul><li><em>“We’ve identified a delay of [X days/weeks] due to [reason]. To minimize impact, we are adjusting [scope/resources]. With this approach, we’ll deliver [critical parts] by [date] and the rest by [new date].”</em></li><li><em>“Given the quality standards we must uphold, we need [extra time]. This ensures stability at launch rather than risking rework later. We’re confident this is the right call.”</em></li></ul><p>👉 You admit the delay but frame it as a responsible, controlled decision.</p><p><strong>3. When Stakeholders Already Know About Issues</strong></p><p><strong>Tone:</strong> Alignment + reassurance + forward-looking</p><ul><li><em>“Yes, as you’ve noticed, [area] is behind. We’ve reallocated resources and expect to recover [X%] of the delay by [date]. This keeps us aligned with the broader timeline.”</em></li><li><em>“We’re all aware of the challenges here. The important thing is we now have a clear path and buffer built in. Delivery confidence is higher with this revised plan.”</em></li></ul><p>👉 You acknowledge shared awareness but shift focus to how you’re regaining control.</p><p><strong>4. When You Want to Reassure Without Overpromising</strong></p><p><strong>Tone:</strong> Balanced optimism + action-oriented updates</p><ul><li><em>“We are working through the blockers and expect clarity by [date]. Once resolved, I’ll share the adjusted timeline.”</em></li><li><em>“There’s pressure on the original date, but by phasing delivery we can ensure the most critical elements land on time while final refinements follow shortly after.”</em></li></ul><p>👉 This avoids “false promises” while still reassuring.</p><p><strong>Power Phrases That Work Well</strong></p><ul><li>“At risk but under control.”</li><li>“We’re mitigating proactively.”</li><li>“Critical path intact, secondary tasks adjusted.”</li><li>“Balancing speed with quality for long-term value.”</li><li>“Confidence level is improving with the revised plan.”</li></ul><p>✅<strong>Golden Rule:</strong> Never state delays as raw negatives. Always <strong>package facts with a path forward</strong> → problem + mitigation + reassurance.</p><p><strong>📩 A Reusable Stakeholder Update Template</strong></p><p><strong>Subject:</strong> Project [Name] — Status Update</p><p>Dear [Stakeholder/Team],</p><p>Here’s the latest update on <strong>Project [Name]</strong> as of [Date].</p><p><strong>✅ Current Status</strong></p><ul><li>Overall delivery is <strong>[On Track / At Risk / Adjusted]</strong>.</li><li>Critical milestones remain aligned with the broader timeline.</li></ul><p><strong>⚠️ Risks / Challenges</strong></p><ul><li>[Briefly describe the issue, e.g., “Integration with external API took longer than expected”]</li><li>[Optional: Quantify the impact, e.g., “Potential delay of 1–2 weeks on this module”]</li></ul><p><strong>🛠️ Mitigation Plan</strong></p><ul><li>We are addressing this by:</li></ul><ol><li>[Action: Reallocating resources / adding buffer / parallel testing]</li><li>[Action: Phased delivery approach / prioritizing critical modules]</li></ol><ul><li>This ensures <strong>critical functionality is delivered by [date]</strong>, with [remaining items] following soon after.</li></ul><p><strong>📊 Confidence Level</strong></p><ul><li>With the above actions, <strong>delivery confidence is [High / Medium with clear path to High]</strong>.</li><li>We’ll continue to track closely and share any adjustments immediately.</li></ul><p><strong>🚀 Next Steps</strong></p><ul><li>[Next milestone / demo / decision point] on [Date].</li><li>Stakeholder touchpoint scheduled for [Date/Meeting].</li></ul><p>Thank you for your continued support. We remain committed to delivering with <strong>quality and predictability</strong>.</p><p>Best regards,</p><p>[Your Name]</p><p>[Your Role]</p><p><strong>Why This Matters</strong></p><ul><li><strong>Customer-facing teams</strong> → Customers buy confidence as much as they buy solutions.</li><li><strong>Leaders</strong> → Inspire upwards and sideways by balancing optimism with realism.</li><li><strong>PMs &amp; stakeholder managers</strong> → Protect relationships by pairing facts with action.</li></ul><p><strong>Closing Thought</strong></p><p>Stakeholder handling is not about hiding reality.</p><p>It’s about <strong>owning the narrative</strong>.</p><p>When stakeholders walk away thinking:</p><p><em>“Yes, there are challenges… but this team has it under control.”</em></p><p>— you’ve done your job well.</p><p><em>In the end, projects succeed not just on delivery, but on the trust, you build along the way.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4410eb7ce059" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improve Dashboard Performance by Optimizing Data Access | Bold BI]]></title>
            <link>https://medium.com/bold-bi/improve-dashboard-performance-by-optimizing-data-access-bold-bi-11e24a7614ef?source=rss-39c04e56bc87------2</link>
            <guid isPermaLink="false">https://medium.com/p/11e24a7614ef</guid>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[sql-server]]></category>
            <dc:creator><![CDATA[Rajendran S P]]></dc:creator>
            <pubDate>Thu, 17 Oct 2019 11:01:02 GMT</pubDate>
            <atom:updated>2021-07-28T13:06:56.126Z</atom:updated>
            <content:encoded><![CDATA[<h3>Improve Dashboard Performance by Optimizing Data Access</h3><figure><img alt="Improve Dashboard Performance by Optimizing Data Access" src="https://cdn-images-1.medium.com/max/698/1*sqyxNOqcEBQPfbg7RMB4-Q.jpeg" /></figure><p>Business dashboards provide visualizations of business data to communicate metrics and other key points to users at a glance. Such a dashboard should respond quickly to any dynamic user interaction. The loading performance of a dashboard not only affects the dashboard objects’ rendering but also the connected database’s querying performance. In this article, let’s explore how SQL Server database columnar storage and indexing help to load dashboards much faster.</p><h3>Setting up SQL Server database with sample data set and recordings</h3><p>Take a sample data set of over 25 million records. For this example, we downloaded the UK HM Land Registry Price paid data set from this <a href="https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads">government site</a>. Then move the data from the CSV file to a SQL Server database running in a local machine with 16 GB RAM.</p><p>Executing a simple count statement, it takes one minute and seven seconds for the first run to complete query execution. The second run takes only two seconds since it utilizes the SQL Server default caching operations of previous query results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*3OEzL4QEGjrjbyC_My5ZTg.png" /></figure><p><strong>Note</strong>: I have used SQL Server Management Studio to run these queries and get these metrics.</p><p>Here are two more sample queries with recordings for testing purposes during both runs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*EWyNGsS-52K6krRphMzI4Q.png" /></figure><h3>Actions for improved performance</h3><p>As a business user, we expect our business dashboards to load in seconds. So, to speed up data access and aggregation, perform the following two actions:</p><ol><li>Convert the row store to columnar store. This will give high performance gains for analytic queries that require scanning large amounts of data. Execute the following command to created clustered columnar store.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*VRgi1o0TXLF-Xl5RbLJH9g.png" /></figure><p>To learn more about column store in SQL Server, refer to this <a href="https://docs.microsoft.com/en-us/sql/relational-databases/indexes/columnstore-indexes-overview?view=sql-server-2017">Microsoft documentation</a>.</p><p>2. Starting with SQL Server 2016, you can combine row store index and column store index on the same table. Create a non clustered row index on the same table using the following command. This row index will improve table seek performance, so queries that look for matching values or return a range of values will perform better in row index than columnar index.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*q9DYeqOjEfUtLDJ_PFw0zw.png" /></figure><p>To verify whether the index has been created, try running the following command. This will describe the table details fully. At the bottom of the results, you can see that two indexes are present</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*RWPTByBIJiiWCRIfZwWD4Q.png" /></figure><figure><img alt="Table Information showing Indexes" src="https://cdn-images-1.medium.com/max/670/0*rXPSOjM_q-s13kTh.png" /><figcaption>Table Information showing Indexes</figcaption></figure><p>Now let us rerun the sample queries to test the indexing performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*IbqfK0bZrcmJDXDBKfoP0g.png" /></figure><p>You can see that there is monumental improvement in SQL Query performance once columnar indexing and row indexing is done. To learn more about combining column and row indexing for data warehousing needs, refer to this <a href="https://docs.microsoft.com/en-us/sql/relational-databases/indexes/columnstore-indexes-data-warehouse?view=sql-server-2017">documentation</a>.</p><h3>Creating a dashboard</h3><p>Now let’s <a href="https://www.youtube.com/watch?v=k6yeUz0NqQ4">build</a> a dashboard connecting to this SQL Server database using <a href="https://www.boldbi.com/">Bold BI</a>. To learn about how to connect with SQL Server from Bold BI, read this <a href="https://www.boldbi.com/blog/sales-dashboard-example-with-microsoft-sql-server-database-using-bold-bi">blog post</a>. Consider the following widgets and data configuration to prepare a dashboard on the HM Land Registry Price paid data set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*YYm300uhs2wRPu7SvlFHlQ.png" /></figure><p>Now the dashboard is ready.</p><figure><img alt="Land Registry Dashboard on Price Paid Data" src="https://cdn-images-1.medium.com/max/1024/0*P0FGkBIkCE2XKcH8.png" /><figcaption>Land Registry Dashboard on Price Paid Data</figcaption></figure><h3>Performance metrics</h3><p>The average performance of this dashboard is given in the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*olqvVxbK_9jz8H8NsCHx5Q.png" /></figure><p>To capture the query generated by Bold BI, use the SQL profiler trace option by connecting with the database server. Using the traced SQL queries for the previous dashboard, we have listed out the performance metrics for each of the queries before and after indexing separately for understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*vg8kl27xDgVaxiupBhoxcQ.png" /></figure><h3>Conclusion</h3><p>With this blog, we can conclude that for data warehousing, data analytics, and dashboarding use cases, we should leverage the indexing support provided by SQL Server in order to gain high performance on analytics queries running on large data. If you have any questions on this blog, please feel free to post them in the following comment section. To get started with Bold BI, please request a <a href="https://www.boldbi.com/embedded/get-free-demo">free 30-minute demo</a> with our experts to discuss creating dashboards and any other features you would like to learn more about. You can also contact us by submitting your questions through the <a href="https://www.boldbi.com/contact">Bold BI website</a> or, if you already have an account, you can <a href="https://www.boldbi.com/account">log in</a> to submit your support question.</p><p><em>Originally published at </em><a href="https://www.boldbi.com/blog/improve-dashboard-performance-by-optimized-data-access">www.boldbi.com</a> <em>on October 8, 2019</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11e24a7614ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bold-bi/improve-dashboard-performance-by-optimizing-data-access-bold-bi-11e24a7614ef">Improve Dashboard Performance by Optimizing Data Access | Bold BI</a> was originally published in <a href="https://medium.com/bold-bi">Bold BI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Twitter Sentiment Analysis Dashboard On Event Management]]></title>
            <link>https://medium.com/syncfusion/twitter-sentiment-analysis-dashboard-on-event-management-fd97c3154671?source=rss-39c04e56bc87------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd97c3154671</guid>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-integration]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Rajendran S P]]></dc:creator>
            <pubDate>Thu, 16 May 2019 10:13:01 GMT</pubDate>
            <atom:updated>2019-06-03T07:02:34.131Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*dFPgauL9LfhzFk88piZwzQ.png" /></figure><p>In this blog post, we will see how to effectively use Syncfusion Dashboard and Data Integration Platforms in analyzing the sentiments of the attendees of a workshop through effective processing of live Twitter tweets.</p><p>Recently, <a href="https://www.syncfusion.com/">Syncfusion</a> had an opportunity to give a workshop on <a href="https://en.wikipedia.org/wiki/Big_data">big data</a> and dashboards on the cloud at the <a href="https://www.microsoft.com/">Microsoft</a> campus in Chennai. It was an all-day event at which we encouraged the attendees to post tweets with two hashtags (#syncfusion, #dashboardcloud) with their honest feedback on the session and products on Twitter. Attendees from various organizations at varied levels came to this workshop. In it, we focused on providing introductory content for our <a href="https://www.syncfusion.com/products/big-data">Big Data</a> and <a href="https://www.syncfusion.com/products/data-integration">Data Integration Platforms</a> and then showcased the data in the <a href="https://www.syncfusion.com/products/dashboard">Syncfusion Dashboard Cloud</a>. Finally, we showed them how effectively we can bring in data from <a href="https://twitter.com/">Twitter</a> in real time, process it in <a href="https://spark.apache.org/">Spark</a>, integrate it within SQL Server, and finally showcase it in the Dashboard Platform during the hands-on session.</p><p>Here, I am going to briefly explain the tweet processing, how it helped us gauge the sentiment of the attendees on the overall workshop, and the insights we gained as a feedback tool.</p><h4>Steps involved:</h4><p>Using Syncfusion Data Integration Platform:</p><ol><li>Bring in real-time tweets with the hashtags #syncfusion and #dashboardcloud.</li><li>Clean and process JSON data into required flat schema.</li><li>Perform sentiment analysis over the tweeted text using Stanford CoreNLP.</li><li>Move the final processed data along with sentiment score into a SQL database.</li></ol><p>Using Syncfusion Dashboard:</p><p>5. Create a dashboard to showcase real-time Twitter sentiment analysis.</p><p>For steps 1 to 4, we will be defining a data-flow in the Data Integration Platform as shown in the following image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/322/0*6yWd6sYW3Gk_oahC.png" /><figcaption><em>Data flow in Data Integration Platform</em></figcaption></figure><h4>Step 1: Use the Get twitter component to bring in real-time tweets with the hashtags #syncfusion and #dashboardcloud.</h4><p>Ensure that you get the consumer key, consumer secret, access token, and access token secret from the Twitter developer site by referring to this <a href="https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html">guide</a> before creating the dataflow. Refer to the following configurations, where you can provide your own hashtags under the Terms to filter on property.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/0*-NYhCYD2vhQ903R-.png" /></figure><h4>Step 2: Data preparation — clean and process JSON data into required fields (attributes) using the processors — Evaluate Json Path and Update attribute.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/0*ZmYvuN8KmoXKGYeI.png" /><figcaption><em>Data preparation workflow</em></figcaption></figure><p>Evaluate Json Path is used to filter the fields like user details, tweeted text, created date, retweet details, language, friends count, followers count, favourites count, and location.</p><p>Note: These attribute and property names will be used as column names in the SQL table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i9spGjzYARBmtz8k.png" /><figcaption><em>Property names as column in SQL table</em></figcaption></figure><p>In the <a href="https://help.syncfusion.com/data-integration/processors/updateattribute">update attribute processor</a>,</p><ul><li>We use a conditional expression to fetch the exact tweeted text based on the following conditions. We then add hashtags as an additional attribute. To learn more about tweets, refer <a href="https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json.html">to the Twitter documentation</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hP2qdq8hlwPsw1o-1a82Rg.png" /></figure><ul><li>Also cleansed the data for extracting created date suitable for creating dashboard.</li></ul><h4>Step 3: Perform Sentiment analysis over the processed tweet using Stanford core NLP.</h4><p>We use the Execute Stream command processor to run the Python script with Stanford CoreNLP service to process the tweeted text and evaluate its sentiment (mood and the score).</p><p><em>To configure the environment to run Python sentiment analysis script within DIP, follow these steps:</em></p><ol><li>Install Stanford NLP package from this <a href="https://stanfordnlp.github.io/CoreNLP/">location</a>.</li><li>Start the server using the following command.<br>C:\&lt;installed location&gt;\stanford-corenlp-full-2018-10-05&gt;<strong> java -mx5g -cp &quot;*&quot; edu.stanford.nlp.pipeline.StanfordCoreNLPServer -timeout 10000<br></strong>Note: Java in the command refers to JAVA_PATH, If the JAVA_PATH is set already just run the above command or else mention the JAVA_PATH in place of java used in the command.</li><li>Install the “pycorenlp” python package using below command.<br>- pip install pycorenlp</li><li>We use the following Python script to perform sentiment analysis. It is a very basic one that uses default settings in CoreNLP to gauge sentiment.</li></ol><pre>from pycorenlp import StanfordCoreNLP<br>import sys<br>import re</pre><pre>nlp = StanfordCoreNLP(&#39;<a href="http://localhost:9000&#39;">http://localhost:9000&#39;</a>)<br>#handle the invalid characters in input data<br>text = re.sub(&#39;[^a-zA-Z0-9 \n\.]&#39;,&#39;&#39;,sys.argv[1])<br>res = nlp.annotate(text,<br>properties={<br>&#39;annotators&#39;: &#39;sentiment&#39;,<br>&#39;outputFormat&#39;: &#39;json&#39;,<br>&#39;timeout&#39;: 1000,<br>})</pre><pre>for s in res[&quot;sentences&quot;]:<br>print(&quot;&#39;%s&#39;, %s , %s&quot; % (&quot; &quot;.join([t[&quot;word&quot;] for t in s[&quot;tokens&quot;]]),<br>s[&quot;sentimentValue&quot;],s[&quot;sentiment&quot;]))</pre><p>Save the previous code in a file named (sentiment.py) and provide this file location as command line arguments for the Execute Stream Command processor as depicted in the following screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*l_t8fU8LwgAEjssJ.png" /></figure><p>Command Arguments: &lt;python script file location&gt; &lt;tweeted text&gt;</p><p>Command Path: Python exe (installed location)</p><h4>Step 4: Move the processed data along with sentiment score into a SQL table.</h4><p>We use following processors in this step:</p><ol><li>Extract Text — Extract the sentiment results from the Python script into an attribute.</li><li>Update Attribute — Update sentiment and sentiment score attributes from the sentiment results.</li><li>Attributes to Json — Create JSON out of the attributes (fields) we want to track in the dashboard.</li><li>ConvertJsontoSQL — Convert the JSON string into SQL insert statements.</li><li>PutSQL — Execute the insert statements generated.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/0*VsY7F_ZohFXnvvhS.png" /><figcaption><em>Data flow — Moving predicted output to SQL server</em></figcaption></figure><p><strong>Note</strong>: Make sure you have created a SQL table (tweetssentiment) using the following query and create a controller service for it in the Data Integration Platform. For more details on controller settings, refer to <a href="https://www.syncfusion.com/kb/7678/how-to-create-dbcpconnectionpool-in-syncfusion-data-integration-platform">our documentation</a>.</p><pre>CREATE TABLE [dbo].[tweetssentiment](<br>[tweetid] [bigint] NULL,<br>[userid] [bigint] NULL,<br>[username] [varchar](500) NULL,<br>[screenname] [varchar](500) NULL,<br>[tweetedtext] [varchar](500) Null,<br>[language] [varchar](500) NULL,<br>[location] [varchar](500) NULL,<br>[created_at] [varchar](500) NULL,<br>[hashtag] [varchar](500) NULL,<br>[retweetcount] [int] NULL,<br>[favouritecount] [int] NULL,<br>[friendscount] [int] NULL,<br>[followerscount] [int] NULL,<br>[sentiment] [varchar](500) NULL,<br>[sentimentscore] [varchar](500) NULL<br>) ON [PRIMARY]<br>GO</pre><p>The data integration workflow can be scheduled in real time by setting it as “0 sec” so that it looks for input tweets constantly, or it can be scheduled in intervals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/0*-WF4PhzFrYs4ldoG.png" /></figure><h4>Step 5: Final step is to create a Twitter sentiment analysis dashboard like the following in the Syncfusion Dashboard Cloud.</h4><p>To learn the basics of creating a dashboard, refer to these links:</p><ul><li><a href="https://www.syncfusion.io/blog/create-business-dashboards-online">Create business dashboards online</a></li><li><a href="https://www.syncfusion.io/blog/creating-a-sales-dashboard-with-sql-server-and-syncfusion-dashboards">Creating a sales dashboard with SQL Server and Syncfusion dashboards</a></li></ul><p>You can follow the steps covered in these links to create your own dashboards easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ogjJWRJjULQo-ziz.png" /><figcaption><em>Twitter sentiment analysis dashboard</em></figcaption></figure><h4>Conclusion:</h4><p>With the final dashboard, we can understand that, overall, the experience of the workshop ended on a positive note. We also got valuable feedback asking us to slow down and suggesting a few more aspects to cover.</p><p>This is just one of the sample use cases gauging sentiments using Dashboard Cloud and using the Data Integration Platform. You can further extend usage of this to any number of social media sites, online feedback surveys for any event, or you can track TV shows for positive remarks on relevant sites like IMDB, Twitter, or Facebook. When you think out of the box, you can always find any number of practical applications to review the sentiment for products, events, TV shows, companies, and industries. You can then make better-informed decisions to improve your services, product recommendations, and other aspects of your business.</p><p>Apart from sentiment analysis, you can also run other machine-learning algorithms using extensible Python libraries and showcase the results in a dashboard with more insights for decision-makers.</p><h4>References:</h4><p>You can find the Data Integration Platform sample template and the Python script file in this <a href="https://github.com/SyncfusionExamples/twitter-sentiment-analysis">GitHub</a> location.</p><p>Tweets and access tokens:</p><ul><li><a href="https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html">https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html</a></li><li><a href="https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json.html">https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/intro-to-tweet-json.html</a></li></ul><p>Stanford CoreNLP: <a href="https://stanfordnlp.github.io/CoreNLP/">https://stanfordnlp.github.io/CoreNLP/</a></p><p>Data Integration Platform:</p><ul><li><a href="https://help.syncfusion.com/data-integration/getting-started">https://help.syncfusion.com/data-integration/getting-started</a></li><li><a href="https://www.syncfusion.com/kb/7678/how-to-create-dbcpconnectionpool-in-syncfusion-data-integration-platform">https://www.syncfusion.com/kb/7678/how-to-create-dbcpconnectionpool-in-syncfusion-data-integration-platform</a></li></ul><p>Dashboard Cloud:</p><ul><li><a href="https://help.syncfusion.com/dashboard-cloud/getting-started">https://help.syncfusion.com/dashboard-cloud/getting-started</a></li><li><a href="https://www.boldbi.com/blog/create-business-dashboards-online">https://www.boldbi.com/blog/create-business-dashboards-online</a></li><li><a href="https://www.boldbi.com/blog/creating-a-sales-dashboard-with-sql-server-and-bold-bi-dashboards">https://www.boldbi.com/blog/creating-a-sales-dashboard-with-sql-server-and-bold-bi-dashboards</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd97c3154671" width="1" height="1" alt=""><hr><p><a href="https://medium.com/syncfusion/twitter-sentiment-analysis-dashboard-on-event-management-fd97c3154671">Twitter Sentiment Analysis Dashboard On Event Management</a> was originally published in <a href="https://medium.com/syncfusion">Syncfusion, Inc.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>