<?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 Gayathri Rasangika on Medium]]></title>
        <description><![CDATA[Stories by Gayathri Rasangika on Medium]]></description>
        <link>https://medium.com/@gayathrirasangikahw?source=rss-9049802793fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xON-L0oNqmKHoA41</url>
            <title>Stories by Gayathri Rasangika on Medium</title>
            <link>https://medium.com/@gayathrirasangikahw?source=rss-9049802793fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:32:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gayathrirasangikahw/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[Crop Recommendation System: Leveraging Data Science for Sustainable Agriculture]]></title>
            <link>https://medium.com/@gayathrirasangikahw/crop-recommendation-system-leveraging-data-science-for-sustainable-agriculture-f21be8f7ad97?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f21be8f7ad97</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Tue, 20 May 2025 06:25:03 GMT</pubDate>
            <atom:updated>2025-05-20T06:25:03.094Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MwbpP-UHsliFlhxyUkdI4A.png" /><figcaption>Home Page of the AgriSense Application</figcaption></figure><p>In an era where agricultural efficiency and sustainability are paramount concerns, data-driven approaches to farming decisions are becoming increasingly valuable. The crop recommendation system demonstrated in the notebook represents a significant step toward precision agriculture, helping farmers make informed decisions about which crops to plant based on soil and environmental conditions.</p><h3>Understanding the Dataset</h3><p>The system utilizes a comprehensive dataset containing critical agricultural parameters that influence crop growth and yield:</p><ul><li>Soil Nutrients: Nitrogen (N), Phosphorus (P), and Potassium (K) levels, which are fundamental to plant growth</li><li>Environmental Factors: Temperature and humidity measurements that affect plant metabolism and disease susceptibility</li><li>Soil Properties: pH levels that determine nutrient availability</li><li>Precipitation: Rainfall measurements that indicate water availability</li></ul><p>The dataset shows considerable variation in these parameters, with nitrogen levels ranging from 0 to 140 units, phosphorus from 5 to 145 units, potassium from 5 to 205 units, and rainfall from approximately 20mm to 298mm. This wide range reflects the diverse growing conditions across different agricultural regions.</p><h3>Data Analysis Insights</h3><p>Correlation analysis reveals interesting relationships between different agricultural parameters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*VEO5XO7_WYcFhaE_5rSNaw.png" /><figcaption>Visual Representation of Correlation Analysis</figcaption></figure><ul><li>Phosphorus and potassium show a strong positive correlation (0.736), suggesting they often occur together in soil</li><li>Temperature has a slight positive correlation with humidity (0.205)</li><li>Soil pH shows a negative correlation with rainfall (-0.109), indicating that higher rainfall might lead to more acidic soils</li></ul><p>These relationships help in understanding how different factors interact in agricultural ecosystems and how they collectively influence crop suitability.</p><h3>Applications and Benefits</h3><p>This crop recommendation system offers several advantages for modern agriculture:</p><ol><li>Resource Optimization: By recommending crops best suited to existing soil conditions, farmers can minimize the need for excessive fertilizers and amendments</li><li>Risk Reduction: Planting crops suited to local environmental conditions reduces crop failure risk</li><li>Yield Improvement: Matching crops to optimal growing conditions naturally leads to better productivity</li><li>Sustainability: Appropriate crop selection reduces the environmental impact of agriculture by minimizing unnecessary inputs</li></ol><h3>Future Directions</h3><p>As climate patterns change and agricultural challenges evolve, such data-driven recommendation systems will become increasingly important. Future enhancements could include:</p><ul><li>Integration with real-time weather forecasting</li><li>Incorporation of economic factors such as market demand and crop prices</li><li>Expansion to include intercropping and crop rotation recommendations</li><li>Mobile applications for easy field-based decision support</li></ul><p>By bridging the gap between agricultural science and data analytics, crop recommendation systems represent a promising approach to addressing food security challenges while promoting sustainable farming practices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f21be8f7ad97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AgriSense.]]></title>
            <link>https://medium.com/@gayathrirasangikahw/agrisense-cb22787d4de4?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb22787d4de4</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Sun, 09 Feb 2025 14:50:12 GMT</pubDate>
            <atom:updated>2025-02-09T14:50:12.037Z</atom:updated>
            <content:encoded><![CDATA[<h3>Revolutionizing Agriculture with Smart Crop Recommendations.</h3><p>In today’s fast-paced world, agriculture is no longer just about traditional farming practices. With the advent of technology, farmers and agricultural enthusiasts now have access to innovative tools that can significantly enhance productivity and sustainability. One such tool is <strong>AgriSense</strong>, a smart crop recommendation system designed to help farmers make informed decisions about what to plant based on soil and environmental conditions.</p><h3>What is AgriSense?</h3><p>AgriSense is an intelligent system that provides personalized crop recommendations by analyzing various soil and environmental parameters. By considering factors such as Nitrogen, Phosphorus, Potassium levels, temperature, humidity, pH, and rainfall, AgriSense helps farmers optimize their crop yields and make the most efficient use of their resources.</p><h3>Why AgriSense Matters</h3><p>Agriculture is the backbone of many economies, and the success of farming largely depends on making the right decisions at the right time. However, with unpredictable weather patterns, soil degradation, and resource constraints, farmers often face challenges in choosing the best crops for their land. This is where AgriSense comes in.</p><h3>Key Benefits of AgriSense:</h3><ul><li><strong>Data-Driven Decisions</strong>: AgriSense uses advanced algorithms to analyze soil and environmental data, providing accurate crop recommendations.</li><li><strong>Resource Optimization</strong>: By suggesting the most suitable crops, AgriSense helps farmers make efficient use of water, fertilizers, and other resources.</li><li><strong>Increased Yields</strong>: With tailored recommendations, farmers can maximize their crop yields and improve their livelihoods.</li><li><strong>Sustainability</strong>: AgriSense promotes sustainable farming practices by encouraging the cultivation of crops that are well-suited to the local environment.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-5RlJb_ikB4lqz1vE2LrNQ.png" /></figure><h3>How AgriSense Works</h3><p>AgriSense simplifies the decision-making process for farmers by following these steps:</p><ol><li><strong>Input Parameters</strong>: Farmers provide essential data about their soil and environment, such as Nitrogen, Phosphorus, Potassium levels, temperature, humidity, pH, and rainfall.</li><li><strong>Data Analysis</strong>: AgriSense processes this data using a pre-trained machine learning model to identify patterns and correlations.</li><li><strong>Crop Recommendation</strong>: Based on the analysis, AgriSense suggests the most suitable crops for cultivation.</li><li><strong>Real-Time Results</strong>: Farmers receive instant recommendations, enabling them to plan their farming activities effectively.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lhSAiDuuGigqqIL3qdVk6w.png" /></figure><h3>The Impact of AgriSense</h3><p>AgriSense is more than just a tool — it’s a game-changer for the agricultural sector. Here’s how it’s making a difference:</p><ul><li><strong>Empowering Farmers</strong>: AgriSense puts the power of data and technology in the hands of farmers, enabling them to make informed decisions.</li><li><strong>Promoting Sustainability</strong>: By recommending crops that are well-suited to the local environment, AgriSense encourages sustainable farming practices.</li><li><strong>Boosting Productivity</strong>: With accurate recommendations, farmers can optimize their yields and improve their economic outcomes.</li><li><strong>Adapting to Climate Change</strong>: AgriSense helps farmers adapt to changing weather patterns by suggesting crops that are resilient to local conditions.</li></ul><h3>The Future of AgriSense</h3><p>As technology continues to evolve, AgriSense has the potential to become an indispensable tool for farmers worldwide. Future developments could include:</p><ul><li><strong>Integration with IoT Devices</strong>: Connecting AgriSense with sensors and drones to collect real-time soil and weather data.</li><li><strong>Mobile Accessibility</strong>: Developing a mobile app to make AgriSense accessible to farmers in remote areas.</li><li><strong>Expanding Crop Databases</strong>: Incorporating more crops and regional variations to provide even more accurate recommendations.</li></ul><h3>Conclusion</h3><p>AgriSense is revolutionizing the way farmers approach crop cultivation. By leveraging data and technology, it empowers farmers to make smarter decisions, optimize resources, and achieve better yields. In a world where agriculture faces numerous challenges, AgriSense offers a beacon of hope for a sustainable and prosperous future.</p><p>Thank you for reading, and let’s work together to make agriculture smarter and more sustainable with AgriSense!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb22787d4de4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Clean Architecture Pattern?]]></title>
            <link>https://medium.com/@gayathrirasangikahw/why-clean-architecture-pattern-42185422ba9c?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/42185422ba9c</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 06:20:38 GMT</pubDate>
            <atom:updated>2025-01-24T06:20:38.149Z</atom:updated>
            <content:encoded><![CDATA[<p>In the fast-paced world of software development, creating systems that are scalable, maintainable, and easy to test is a recurring challenge. Clean Architecture, introduced by <strong>Robert C. Martin</strong> (commonly known as <strong>Uncle Bob</strong>), addresses these challenges by emphasizing separation of concerns, independence from frameworks, and a focus on core business logic. This architectural approach has become a benchmark for building robust, future-proof software systems.</p><p><strong>What is Clean Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRciiJ8HlStyH3Ud1xcIyQ.png" /><figcaption>Clean Architecture Design</figcaption></figure><p>Clean Architecture structures software into concentric layers, each with a clear responsibility. At its core lies the business logic, while the outer layers handle implementation details such as frameworks, databases, and user interfaces. A fundamental principle of this approach is the Dependency Rule: dependencies always point inward toward the core layers, ensuring the business logic remains independent of external influences.</p><h4>Real-World Example: A Crop and Weather Recommendation App</h4><p>Consider an application designed to assist farmers by providing crop recommendations and weather updates. Clean Architecture can structure this application as follows:</p><ol><li><strong>Entities (Core Business Rules):</strong></li></ol><ul><li>This layer contains the fundamental rules and algorithms, such as crop selection based on soil quality, weather patterns, and historical data.</li></ul><p><strong>2. Use Cases (Application Logic):</strong></p><ul><li>This layer defines specific tasks, such as generating daily recommendations or sending weather alerts. It uses the entities to fulfill its responsibilities.</li></ul><p><strong>3. Interface Adapters (Controllers, Presenters):</strong></p><ul><li>This layer adapts data from the use cases into formats suitable for the user interface or external systems, such as formatting weather alerts for notifications.</li></ul><p><strong>4. Frameworks and Drivers (External Systems):</strong></p><ul><li>This outer layer manages the implementation details, including databases, APIs for weather data, and user interfaces like mobile apps or websites.</li></ul><p>By organizing the application in this way, changes in external systems (e.g., switching to a new weather API) do not impact the core business logic, ensuring adaptability and maintainability.</p><h3>Comparison with other Architecture Patterns</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqRfUSrRlJJPKTYf7bEx7g.png" /></figure><h3>Advantages of Clean Architecture</h3><p>Clean Architecture stands out for its focus on independence and separation of concerns, making it ideal for complex and evolving applications. Key benefits include:</p><ol><li>Core business logic is insulated from changes in frameworks, tools, or external systems.</li><li>Independent layers simplify testing, allowing for thorough unit and integration testing.</li><li>Clear boundaries and separation of concerns result in a codebase that is easier to understand, modify, and extend.</li><li>The architecture adapts well to new features and the growing complexity of systems.</li></ol><h3>Challenges of Clean Architecture</h3><p>Despite its benefits, Clean Architecture may not suit every project. Some common challenges include:</p><ol><li>Initial implementation requires careful planning and may feel overwhelming for smaller teams or projects.</li><li>Enforcing separation between layers can lead to increased boilerplate code.</li><li>Developers unfamiliar with the principles may require time and training to adopt this approach.</li><li>For smaller applications, the additional structure may not justify the effort.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42185422ba9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Fabric Medallion Architecture Design]]></title>
            <link>https://medium.com/@gayathrirasangikahw/microsoft-fabric-medallion-architecture-design-4d8e1ab4d632?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d8e1ab4d632</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 07:01:28 GMT</pubDate>
            <atom:updated>2025-01-11T07:07:41.734Z</atom:updated>
            <content:encoded><![CDATA[<p>The Fabric lakehouse seamlessly integrates the capabilities of data lakes and data warehouses, providing a robust platform for data management and analysis. Leveraging the medallion architecture, a widely adopted standard in the industry, it introduces a layered approach that enhances the organization and performance of analytics workflows. This architecture ensures a streamlined and efficient structure for handling complex data environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xjY6DYAntao05vH1H8gKRQ.png" /></figure><p>The medallion architecture is a logical data design approach commonly used in lakehouses to streamline data organization and processing. This pattern enhances data quality by structuring it into distinct layers</p><ol><li><strong>Bronze</strong> for <em>raw data</em></li><li><strong>Silver</strong> for <em>validated data</em></li><li><strong>Gold</strong> for <em>enriched</em>, high-quality insights.</li></ol><p>Often referred to as a “<strong><em>multi-hop</em></strong>” architecture, it allows data to transition through these layers, ensuring a progressive refinement process tailored to analytics and business needs.</p><p>The medallion architecture enhances existing data organization methods rather than replacing them. It serves as a robust framework for data cleaning and refinement, offering compatibility and flexibility to integrate seamlessly with current data models. This approach empowers businesses to tailor data solutions to their unique needs, preserving existing expertise while staying adaptable in the dynamic world of data management.</p><h3>Bronze Layer</h3><p>The bronze layer, also known as the raw layer, is the foundational stage of the medallion architecture within a lakehouse. It acts as the initial landing zone for all incoming data, regardless of whether it is structured, semi-structured, or unstructured. In this layer, data is preserved in its original form without any modifications or transformations.</p><p>Tools : <strong><em>Pipelines, dataflows, notebooks</em></strong></p><h3>Silver Layer</h3><p>The silver layer, also referred to as the <strong>validated layer</strong>, represents the second stage of the lakehouse architecture. This is where data undergoes validation and refinement processes. Common tasks at this stage include <em>merging datasets</em>, <strong>applying data quality rules</strong> such as <em>deduplication and null value removal</em>, and <em>organizing data into a consistent format</em>. The silver layer serves as a centralized repository for teams or organizations, ensuring data is clean, accessible, and prepared for further enrichment and modeling in the gold layer.</p><p>Tools: <strong><em>Dataflows or notebooks</em></strong></p><h3><strong>Gold Layer</strong></h3><p>The gold layer, also known as <strong>the enriched layer</strong>, is the third stage of the lakehouse architecture. At this stage, data is <em>further refined and tailored to meet specific business and analytical requirements</em>. This refinement may include <strong><em>aggregating data to desired granularities</em></strong>, such as hourly or daily, or enhancing it with external data sources. Once data reaches the gold layer, it is fully prepared for use by downstream teams, including those focused on analytics, data science, and machine learning operations.</p><p>Tools: <strong><em>SQL analytics endpoint or semantic model</em></strong></p><h3><strong>Customizability of the Medallion Architecture</strong></h3><ul><li>Depending on the unique needs of organization, may require additional layers beyond the standard structure.</li><li>For instance, a “raw” layer could be used to store data in a specific format before it is transformed into the bronze layer. Alternatively, a “platinum” layer might be introduced for highly refined and enriched data tailored for specialized use cases.</li><li>The medallion architecture is highly adaptable, allowing you to customize the number and naming of layers to fit your organization’s specific data needs.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d8e1ab4d632" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End-to-End Data Engineering Project Using Microsoft Fabric.]]></title>
            <link>https://medium.com/@gayathrirasangikahw/end-to-end-data-engineering-project-using-microsoft-fabric-c3caf96a99b4?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3caf96a99b4</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Thu, 19 Dec 2024 16:51:15 GMT</pubDate>
            <atom:updated>2024-12-19T16:51:15.580Z</atom:updated>
            <content:encoded><![CDATA[<p>This project is design to analyze NYCTaxi Data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bq3T3RIyXgvXnSI9f-r5gw.png" /></figure><p><strong>Step 1</strong></p><p>Create a data lake house to upload data files. Under the data lakehouse folder, there are two types of folders to upload data files. First folder is <strong>NYCTaxi_Lookup_Zones</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x16XFg-Qyek24TCXdxbvOA.png" /></figure><p>Under the <strong>NYCTaxi_Yellow</strong> folder,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RfRkfc88DKDryJwhVry3CA.png" /></figure><p><strong>Step 2</strong></p><p>Under the created <strong>Data Warehouse</strong>, I considered two types of schemas.Considering the <strong>dbo</strong> schema,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wf2MchLqQDBUeMLFHnUxkw.png" /></figure><p>processing log table is under the <strong>metadata</strong> schema,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WIg28S0PTNvH-Jl9td6nSg.png" /></figure><p>These are the queries used to this project.</p><p>This SQL query retrieves the <strong>maximum and minimum pickup dates and times</strong> from the dbo.nyctaxi_yellow table. It is used to determine the range of pickup datetime values within the dataset, providing insights into the time span of the data available in the nyctaxi_yellow table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_mVnxy2SaUQIhS8bef21w.png" /><figcaption>query 1</figcaption></figure><p>This script defines a <strong>stored procedure</strong> named stg.data_cleaning_stg.</p><p>The procedure accepts two parameters:</p><ul><li>@start_date (of type DATETIME2)</li><li>@end_date (of type DATETIME2).</li></ul><p>The procedure performs a <strong>data-cleaning operation</strong> by removing rows from the stg.nyctaxi_yellow table where the tpep_pickup_datetime falls <strong>outside the specified date range</strong> (i.e., earlier than @start_date or later than @end_date)</p><p>Purpose of this query is to ensure that the stg.nyctaxi_yellow table contains only valid records within a specific date range.</p><p>Also this step helps maintain the quality of data by removing outliers or irrelevant entries based on pickup datetime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cl7MscuQ5OlJ06mC3zC6Bg.png" /><figcaption>query 2</figcaption></figure><p>The queries focus on <strong>data cleaning, processing, and metadata tracking</strong> for the NYC Yellow Taxi dataset. Here’s a high-level overview of the key components:</p><p><strong>1.Data Cleaning Procedure</strong>:</p><ul><li>A stored procedure (stg.data_cleaning_stg) is created to delete invalid rows from the stg.nyctaxi_yellow table.</li><li>The procedure removes rows where tpep_pickup_datetime falls outside the specified start or end dates.</li></ul><p><strong>2.Metadata Logging</strong>:</p><ul><li>A summary query extracts metadata from the stg.nyctaxi_yellow table, including the number of rows processed and the latest pickup date.</li><li>A new schema (metadata) and a table (processing_log) are created to store logs for pipeline runs, ensuring traceability of data processing.</li></ul><p>These steps are part of a data pipeline to ensure clean and valid data, track the processing status, and log important metadata for auditing and monitoring purposes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H6FmxpfJAbdC0o646Z5EPA.png" /><figcaption>query 3</figcaption></figure><p>This SQL query defines a stored procedure called metadata.insert_staging_metadata, which logs metadata about data processing runs into a table called metadata.processing_log.</p><h4>Key Elements of the Query:</h4><ol><li><strong>Procedure Parameters</strong>:</li></ol><ul><li>pipeline_run_id (VARCHAR): Identifier for the specific pipeline run.</li><li>table_name (VARCHAR): Name of the processed table.</li><li>processed_date (DATETIME2): Timestamp indicating when the data was processed.</li></ul><p><strong>2. Insert Statement</strong>:</p><ul><li>The INSERT INTO metadata.processing_log statement populates the log table with the following information:</li><li>pipeline_id: The pipeline run ID provided as input.</li><li>table_processed: The table name being processed.</li><li>raws_processed: The total number of rows processed, calculated using COUNT(*).</li><li>latest_processed_pickup: The latest pickup datetime in the source data, determined using MAX(tepp_pickup_datetime).</li><li>processed_datetime: The processing date provided as input.</li></ul><p><strong>3. Data Source</strong>:</p><ul><li>The data is extracted from the staging table stg.nyctaxi_yellow, which presumably contains raw data for yellow taxi pickups in NYC.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nvco19rb_qZrbr6mNVhGTA.png" /><figcaption>query 4</figcaption></figure><p>This SQL query creates a table named dbo.nyctaxi_yellow to store information about yellow taxi trips in NYC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GC3Y9Nl0Ra83k-WZXOnFBQ.png" /><figcaption>query 5</figcaption></figure><p>The procedure logs metadata about data processing into the metadata.processing_log table.</p><p>The information is retrieved from the dbo.nyctaxi_yellow table, which contains raw yellow taxi trip data.</p><p>This is used to track and audit data processing activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxg8snZreYb93qvrwRgFJg.png" /><figcaption>query 6</figcaption></figure><p><strong>Step 3</strong></p><p>This is the Dataflow Gen2 process,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HjbgPCaxYbxSDAEArU4giw.png" /><figcaption>Step 1 under the Dataflow Gen2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-P39FpZJQcpSXD_Z9QquA.png" /><figcaption>Step 2 under the Dataflow Gen2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TbFr3YUvmETGBcD84whggQ.png" /><figcaption>First merge under the Dataflow Gen2</figcaption></figure><p><strong>Step 4</strong></p><p>These are the Pipeline Activities followed during this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IB1oveXuwp55DNUozSViDg.png" /><figcaption>Pipeline Folder</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_m33nF5tsyoDsmRbpUgVA.png" /><figcaption>First Pipeline Activity to Copy Data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XQgBMSz5NlCqN3INMVIUSA.png" /><figcaption>Second Pipeline to Staging process Data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPUA7Dm46PcVGXiYO2qgFA.png" /><figcaption>Third Pipeline to Presentation Processing Data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqAC3hqOS-oewPvAmPdl_A.png" /><figcaption>Fourth Orchestration Pipeline</figcaption></figure><p><strong>Step 5</strong></p><p>Created dashboard for this project,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KxZG-V3koTd_C43LQbfLew.png" /></figure><p><strong><em>Data Sources</em></strong> : <a href="https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page"><em>https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page</em></a></p><p><strong><em>Tutorial Followed</em></strong> :<a href="https://youtu.be/CtH1C2EP7e4?si=M0YJR-TXSXudS2ja"> <em>https://youtu.be/CtH1C2EP7e4?si=M0YJR-TXSXudS2ja</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3caf96a99b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Warehouse Architecture:System Processes]]></title>
            <link>https://medium.com/@gayathrirasangikahw/data-warehouse-architecture-system-processes-abab9cc42f5f?source=rss-9049802793fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/abab9cc42f5f</guid>
            <dc:creator><![CDATA[Gayathri Rasangika]]></dc:creator>
            <pubDate>Sun, 15 Dec 2024 12:39:06 GMT</pubDate>
            <atom:updated>2024-12-15T12:39:06.129Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Introduction</strong></h4><p>Years of operational systems development have taught us what techniques are appropriate to deliver a typical solution, for instance, use of normalized data structures, maintain small-sized tables with one table per entity, and so on.</p><p>In other words, operational systems are tuned to carry out repeatable business functions, whereas decision support systems cannot predict what queries and operations will be executed against them. That is, all the lessons learned from designing operational systems in the last two decades may be inappropriate when applied to data warehousing.</p><h4>Difference between Operational Systems and Data Warehouses</h4><p>Operational systems are built to process transactions wherein the central focus is to efficiently operate day-to-day business. These systems are highly optimized for short, pre-defined, and repetitive transactions. A data warehouse, on the other hand, is built for analytical processing, which needs to aggregate large volumes of historical data and query it to derive insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EbGALl8Lsl6SMmXd-SbDtw.png" /></figure><p><strong>Data Warehouse Architecture</strong></p><p>A general architecture of a data warehouse consists of several components, each of which may be assigned different aspects of data integration, storage, and processing. These components have to work in concert in order to efficiently extract, transform, and analyze data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZIKGViJevh1RWb2FXc0XDA.png" /></figure><h4>1. Data Sources</h4><p>Data warehouses collect data from a variety of sources, such as:</p><ul><li><strong>Operational Systems</strong>: CRM, ERP, and other transactional systems.</li><li><strong>External Sources</strong>: Third-party data, social media, IoT sensors, and cloud applications.</li><li><strong>Legacy Systems</strong>: Historical databases and outdated platforms.</li></ul><h4>2. ETL Process (Extract, Transform, Load)</h4><p>The ETL process is the backbone of any data warehouse system and involves:</p><ul><li><strong>Extract</strong>: Data is extracted from multiple, heterogeneous sources.</li><li><strong>Transform</strong>: Extracted data is cleaned, standardized, and transformed into a consistent format to ensure quality and reliability.</li><li><strong>Load</strong>: Transformed data is loaded into the data warehouse for storage and analysis.</li></ul><p>This process ensures that data entering the warehouse is accurate, consistent, and ready for querying.</p><h4>3. Data Storage</h4><p>Data storage in a data warehouse is structured to facilitate efficient querying and analysis. There are two main approaches to data storage:</p><ul><li><strong>Star Schema</strong>: A simple structure with a central fact table connected to dimension tables.</li><li><strong>Snowflake Schema</strong>: A more complex design where dimension tables are normalized into multiple related tables.</li></ul><p>Data is typically stored in a denormalized format to optimize performance for analytical queries.</p><h4>4. Metadata</h4><p>Metadata plays a critical role in the data warehouse. It provides information about the data, including its source, meaning, relationships, and usage. Metadata can be classified into two types:</p><ul><li><strong>Technical Metadata</strong>: Information about the structure of data (e.g., tables, columns, and ETL processes).</li><li><strong>Business Metadata</strong>: Contextual information that helps users understand the meaning and purpose of the data.</li></ul><h4>5. Data Marts</h4><p>A data mart is a subset of the data warehouse that focuses on a specific business area, such as sales, finance, or marketing. Data marts allow departments to quickly access relevant data without querying the entire warehouse.</p><h4>6. OLAP (Online Analytical Processing)</h4><p>OLAP systems are used to perform multidimensional analysis on the data stored in the warehouse. OLAP enables users to:</p><ul><li>Slice and dice data for detailed insights.</li><li>Drill down or roll up to analyze data at different levels of granularity.</li><li>Pivot data to view it from different perspectives.</li></ul><h4>7. Data Visualization and Reporting</h4><p>The final layer of the data warehouse architecture involves data visualization tools and reporting systems. These tools allow users to:</p><ul><li>Generate interactive dashboards and reports.</li><li>Conduct ad hoc analysis.</li><li>Share insights across the organization.</li></ul><h3>System Processes in Data Warehousing</h3><p>To deliver an efficient and robust data warehouse, several system processes must be executed effectively:</p><ol><li><strong>Data Integration</strong>: Combining data from different sources into a unified format.</li><li><strong>Data Cleaning</strong>: Identifying and correcting errors, inconsistencies, and duplications in the data.</li><li><strong>Data Transformation</strong>: Converting raw data into meaningful and usable formats.</li><li><strong>Data Loading</strong>: Periodic or real-time data loading into the data warehouse.</li><li><strong>Performance Tuning</strong>: Optimizing queries and system processes for faster response times.</li><li><strong>Data Backup and Recovery</strong>: Ensuring data integrity and availability through regular backups and disaster recovery plans.</li><li><strong>Monitoring and Maintenance</strong>: Continuously monitoring data processes, ensuring data quality, and resolving any issues.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abab9cc42f5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>