Poli Usp Pro
November 19, 2026
CRISP-DM Methodology for identifying Analytics solutions in a citrus company
Pedro Campos de Paula Braga; Christian Eric Barrantes Briceño
DOI: 10.22167/2675-6528-202603826
Article derived from a Final Course Work (TCC), with content based on the student’s original work and adapted to the editorial format of the E&S Magazine with the support of the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege for textual synthesis and organization.
Summary
Brazilian agriculture, particularly orange production in the state of São Paulo, generates vast volumes of data that are often underutilized by small family businesses. This work aimed to apply the CRISP-DM methodology to identify management opportunities and develop a Data Analytics solution for a company in the citrus sector. A quantitative exploratory case study was conducted, starting with interviews with the owners to map business pain points, followed by the data understanding, preparation, modeling, and evaluation stages of the CRISP-DM methodology. The results indicated that the company’s main difficulty lay in the lack of long-term financial visibility, due to restricted access to data from the local ERP system. Faced with this scenario, a cloud-based data architecture was designed to centralize information, and analytical dashboards were developed for cash flow control and revenue projection. The implementation of the solution in a development environment validated its effectiveness, providing greater transparency and agility in strategic decision-making for managers, with the potential for operational gains across the entire financial process.
Keywords: Data Analysis; Cloud Architecture; Business Intelligence; Financial Management; Citrus Sector.
1. Introduction
Agriculture plays a fundamental role in the Brazilian economy, characterized by its vast arable land and its position in global food and raw material production (Flexor et al., 2023). In this context, oranges stand out as one of the most relevant products, both for the trade balance and for the domestic market. The state of São Paulo is the largest national producer, accounting for more than seventy-five percent of production, with an impact of nine billion reais on the Gross Domestic Product and the generation of more than four hundred thousand jobs, direct and indirect (Maruca, 2022; IBGE, 2022).
A significant portion of this orange production is marketed in supply centers, such as the Companhia de Entrepostos e Armazéns Gerais de São Paulo (CEAGESP), a federal public company that serves as one of the largest distribution centers for fruits, vegetables, and greens in South America (CEAGESP, 2025). At the Entreposto Terminal São Paulo (ETSP), oranges are the most traded fruit, with the majority coming from family businesses involved in production and marketing (De Souza and Castilho, 2023). These operations generate large volumes of data that are often underutilized by these small businesses.
Although many of these family businesses have computerized systems, such as Enterprise Resource Planning (ERP), for managing invoices and inventory control, the stored data is rarely used strategically to aid in decision-making. The underutilization of available information is a common bottleneck in smaller companies, where the existence of data does not automatically translate into strategic use (Becker et al., 2023).
In recent years, technological advancements in software and hardware have driven the collection and storage of large volumes of data, transforming them into a valuable strategic input. This scenario gave rise to Data Science, an area that integrates knowledge from mathematics, statistics, and computing. With the evolution of storage and processing technologies, the application of Data Science and Analytics has become feasible not only for large corporations but also for small businesses (Foreman, 2016).
To initiate a Data Science and Analytics project in a company, it is essential to understand the business context, its challenges, and objectives. The Cross Industry Standard Process for Data Mining (CRISP-DM) methodology is widely recognized for guiding this process, structuring it into six phases: Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment (Provost, 2016). This systematic approach allows for the continuous identification and solution of problems.
However, even with ERP systems and available data, family businesses in the citrus sector frequently face the problem of a lack of long-term financial visibility. Analytical access to local ERP system data is restricted, limiting managers’ strategic planning capabilities, especially regarding accounts payable and receivable notes. This practical gap prevents in-depth exploratory analysis, essential for addressing the business’s main pain points and optimizing financial management (Colangelo, 2001).
Given this scenario, the need to develop a Data Analytics solution that transforms existing data into strategic information is justified, providing greater transparency and agility in decision-making. The present work aims to use the CRISP-DM methodology for problem identification and for the development of a solution using Data Science and Analytics concepts for a family business that operates in both orange production and commercialization at ETESP.
2. Material and Methods
The present study was characterized as an exploratory research, with a quantitative approach, configuring itself as a case study. The central objective was the application of the Cross Industry Standard Process for Data Mining (CRISP-DM) methodology to identify management challenges and develop a Data Analytics solution for a family business in the citrus sector. This company operates in both the production and commercialization of oranges at the São Paulo Terminal Market (ETSP) of CEAGESP, with production, sanitization, and packaging activities carried out in Pirangi, São Paulo.
The CRISP-DM methodology, recognized for its six-step structure, guided the project development (Provost, 2016). The steps were sequentially applied: Business Understanding, Data Understanding, Data Preparation, Modeling, Evaluation, and Deployment. This iterative approach allowed for continuous adaptation and improvement of the proposed solution, aligning it with specific business needs.
In the Business Understanding stage, an interview was conducted with the company owners at the beginning of 2026. The data collection instrument aimed to map the main difficulties and challenges related to data management, daily information generation, the existence and use of Enterprise Resource Planning (ERP) systems, digitized processes, and data storage methods. The focus of the investigation was on data analysis processes, financial monitoring, and the overall functioning of the company.
The Data Understanding stage involved the analysis of available inputs for the construction of the solution. Existing reports, information about data sources, and desired analytical views were requested from collaborators. It was verified that the company’s administrative sector used a local ERP system, whose database was stored in Paradox (.db) format, a legacy technology, but functional for daily operations (Colangelo, 2001).
Data Preparation consisted of implementing a two-step Extract, Transform, Load (ETL) process, developed in Python. The first step focused on extracting raw data from the Paradox database and converting it to CSV format. To this end, a Python routine was developed to automatically scan the source folder, identify .db files, test text encodings (ascii, latin-1, and cp1252), read and process binary fields and corrupted rows, and export each table as a CSV file in UTF-8 encoding. 46 tables were processed, of which 38 contained valid records.
The second stage of ETL was responsible for loading the CSV files into the cloud environment, using Google BigQuery as the managed Data Warehouse platform. The Python routine checked the file sizes, discarded empty ones, cleaned column names (replacing special characters with underscores), and converted all columns to text type, sending each table to the BigQuery dataset with a full overwrite policy. Of the 38 tables loaded, four were identified as relevant to the solution: accounts receivable, accounts payable, customer registration, and supplier registration.
In these four tables, specific treatments were performed: fields with null values in mandatory columns were replaced by empty strings; duplicate records, originated by ERP synchronization failures, were eliminated by primary key; and date fields in text format were converted to the DATE type in BigQuery. The data architecture was designed in three zones: the local ERP database as the source, a cloud environment with Data Lake, the ETL algorithm, and a Data Warehouse, and a Business Intelligence and Analytics structure for data consumption.
The Modeling stage focused on the construction of analytical dashboards. These dashboards were developed to be used by the company’s administration, aiming for cash flow control and financial projection. The choice of dashboards as the main deliverable aligned with the need to transform raw data into interpretable and accessible visualizations for decision-makers, without requiring specialized technical knowledge (Provost, 2016).
In the Evaluation phase, success indicators were established to verify the satisfaction and reliability of the results. Initial designs of visualizations and indicators were digitized and presented to the company’s managers for testing and validation. This validation process with stakeholders ensured that the constructed solution addressed the mapped business pains, according to the iterative nature of the CRISP-DM methodology (Becker et al., 2023).
The project implementation was carried out in a development environment, with a local copy of the database and a mirror of the ERP system, so as not to compromise the company’s production environment during the testing and validation phase. After the concepts were approved, the infrastructure was replicated in a production system and securely connected to the company’s existing architecture, ensuring the security of operational data (Foreman, 2016).
3. Results and Discussion
The research revealed that the family business in the citrus sector, despite having a functional ERP system and storing a considerable volume of data, faced underutilization of this information for strategic purposes. The main difficulty identified lay in the absence of long-term financial visibility, resulting from restricted access to the local ERP system data. This scenario limited the managers’ capacity for planning and decision-making, especially concerning the control of accounts payable and receivable invoices, which prevented an in-depth exploratory analysis of the business’s pain points.
The application of the CRISP-DM methodology was fundamental to structuring the problem identification and solution development. Initially, the company concentrated its commercial operations at CEAGESP, in São Paulo, and its production, sanitation, and packaging activities in Pirangi, also in the state of São Paulo. Administrative processes, such as inventory management and general activities, were already well-defined, but the analysis focused specifically on the accounts payable and incoming payment processes, carried out in the São Paulo office, which directly impacted the commercial and financial areas.
This finding corroborates the perspective of Becker et al. (2023), who, in their systematic review on Big Data in micro and small enterprises, highlight that the mere existence of stored data does not automatically translate into its strategic use. The underutilization of available information emerges as a significant bottleneck for smaller companies, which, despite having computerized systems, lack an adequate analytical infrastructure to transform this data into business intelligence.
Business understanding
In the first stage of the CRISP-DM methodology, business understanding, it was possible to map the company’s operations and its main activities. It was verified that the company operates its commercial activity and part of its operational activity at CEAGESP, while the rest of the operation, including production, sanitation, and packaging, takes place in the city of Pirangi, São Paulo. For these activities, well-defined processes already existed for both inventory management and administrative activities, which provided a solid foundation for the investigation.
The in-depth analysis focused on one of the crucial administrative processes, carried out at the São Paulo office: the control of accounts payable and receivables, directly linked to the commercial and financial areas. This scope delimitation was essential to focus the efforts of analysis and solution development, aligning with Provost’s (2016) premise that the business understanding stage is the foundation for clearly defining the problem to be solved in any successful Data Science project.
Data comprehension
In the data comprehension stage, it was found that the company’s administrative sector used an ERP system developed for its activities, whose database was stored locally on one of the company’s machines. Although there was a good amount of digitized processes, access to this data and the ability to perform detailed, long-term analyses of payments and receipts were extremely restricted, limiting the managers’ planning capacity.
The monitoring reports and access to raw data were limited to the basic functionalities of the contracted ERP, preventing an in-depth exploratory analysis that could address the company’s business pain points. Faced with this limitation, it was decided to focus on data related to accounts payable and receivable invoices, as one of the owners identified this area as the main barrier to long-term planning, given the lack of clarity on available resources and future financial commitments.
This finding is in line with Colangelo’s (2001) view, which points out that, although ERP systems centralize processes and eliminate operational fragmentation, they are often not designed for advanced analytical use. The ERP’s ability to meet business needs depends directly on the modules contracted and how the company uses them, which was confirmed in the case study, where only the modules for tax invoice control, purchasing, and payroll were active, reinforcing the need for an external analytical layer.
Data preparation
The data preparation stage represented a significant technical challenge, as the ERP system data was stored in a local database in Paradox (.db) format, a legacy technology, but still functional for small-scale systems. The first objective was to extract this information without compromising the company’s production environment, ensuring the integrity of operational data throughout the solution development process.
To overcome this challenge, a two-stage ETL (Extract, Transform, Load) process was implemented, developed in Python. The first stage focused on extracting raw data from the Paradox database and converting it to CSV format. An automated routine was created to scan the source folder, identify all available .db files, and test different text encodings, such as ascii, latin-1, and cp1252, ensuring the correct reading of special characters present in the company’s records.
This routine was also designed to read each table field by field, individually handling binary fields and corrupted rows that could interrupt processing, and export each table as a UTF-8 encoded CSV file, compatible with visualization tools. At the end of this phase, 46 tables from the ERP database were identified and processed, of which 38 contained valid records, while the others were ignored for being empty or corresponding to modules not used by the company.
The second stage of the ETL process was responsible for loading the CSV files into the cloud environment, specifically Google BigQuery. This managed Data Warehouse platform was chosen for its scalability, affordable cost for the company’s data volume, and native integration with Business Intelligence tools. The Python routine, in this phase, checked the size of each file before sending, discarding empty files, and performed cleaning of column names, replacing special characters with underscores to ensure compatibility with SQL syntax.
Additionally, the routine converted all columns to text type, avoiding type inference errors in fields with mixed or null values, and sent each table to the BigQuery dataset with a full overwrite policy. This approach ensured that each ETL process execution reflected the most recent state of the local database, maintaining the consistency and currency of the information available for analysis.
Of the 38 tables loaded into the Data Lake, only four contained the relevant fields for the proposed solution: accounts receivable, accounts payable, customer registration, and supplier registration. The remaining tables were kept in the Data Lake for future use. Within the selected tables, fields with null values in mandatory columns were identified and treated, being replaced by empty strings, and duplicate records, originated by ERP synchronization failures, were eliminated by primary key.
Date fields that were in text format were converted to the DATE type in BigQuery before being consumed by the dashboard. For the project, work was also done on the data architecture, creating a routine for periodic updates in a cloud environment, which offers greater security and the possibility of building dashboards for monitoring financial activities. Initially, a mirror of the ERP system was built on another machine, as well as a cloned database, so as not to affect operations during the development and testing phase.
Foreman (2016) emphasizes that the data preparation stage often represents the greatest effort in an analytics project, as it involves not only the transformation of raw data but also architectural decisions that impact the scalability of the solution. In the context of this research, the choice of a cloud architecture proved particularly suitable for the company’s size, offering security, remote access, and the possibility of future expansion without the need for significant investments in physical infrastructure, an aspect especially relevant for small family businesses, as pointed out by Becker et al. (2023).
Modeling
For the modeling stage, the construction of analytical dashboards was chosen as the main deliverable of the solution. These dashboards were designed to be used by the company’s administration with the objective of controlling cash flow and making financial projections. The choice of this approach aligns with what Provost (2016) classifies as descriptive and predictive analytics applied to business, prioritizing the transformation of raw data into visualizations that can be interpreted and directly used by decision-makers, without the need for specialized technical knowledge.
This approach is particularly effective in the context of small family businesses, where managers need quick and accessible answers, rather than complex statistical models. The developed dashboards aim to provide a clear and objective view of the financial situation, allowing the company to monitor its receipts and payments efficiently and make future projections with greater accuracy, facilitating strategic planning and financial decision-making.
Evaluation
In the evaluation stage, with the available constructions, a qualitative and quantitative improvement is expected in the company’s data management, generating greater confidence in decision-making. Furthermore, an evolution of analyses is foreseen for other fronts, such as inventory control and sales planning. This validation process with stakeholders is in line with the iterative nature of the CRISP-DM methodology, which, according to Provost (2016), assumes that the results of each stage are evaluated before moving on to the next, ensuring that the constructed solution actually addresses the business pain points originally mapped.
Becker et al. (2023) reinforce the importance of managers’ active participation in validating results in analytics projects in small companies, as this increases confidence in the delivered tools and raises the probability of continuous use. Presenting the initial designs of digitized visualizations and indicators to company managers allowed for testing and validation, ensuring the accuracy of the data and the adequacy of the solution to the real business needs.
Implementation
For the implementation stage, all solution development was carried out in a development environment, with the objective of evaluating and validating the data. After the testing phase and approval of concepts, the model will be transferred to the production environment. It is important to emphasize that the implementation in a development environment represents a limitation of the present work, since the practical results in production could not yet be measured.
However, this choice was deliberate and justified by the need to preserve the integrity of the company’s operational data during the development phase, a practice recommended by Foreman (2016) when dealing with analytics projects in critical production environments. The transition to the production environment, planned as the next step, will allow for the measurement of real gains in terms of analysis time, assertiveness in financial decisions, and reduction of unidentified default, consolidating the solution’s benefits.
Data architecture
For the work developed, the data architecture for the company’s infrastructure was divided into three distinct zones. The first zone corresponds to the ERP system, which acts as the original database, collecting and storing diverse information in a single environment and making it available in the format of reports and databases. In this zone, data is neither altered nor loaded, functioning exclusively as the source of information that will be transferred to the cloud environment.
The second zone is the cloud environment, which integrates a Data Lake for the ingestion of raw data from the ERP system. In this zone, an ETL (Extract, Transform, Load) algorithm performs data processing, and a Data Warehouse stores the structured data. This cloud structure offers scalability, security, and remote access, essential characteristics for the company.
Finally, the third zone is the Business Intelligence and Analytics structure, which consumes data directly from the Data Warehouse. This zone provides analytical charts and tables so that company teams can make the necessary decisions quickly and informedly. All project development was worked on in a development environment, with a local copy of the database and a mirror of the ERP system, ensuring the security and non-interruption of productive operations during the testing phase.
After the completion of all steps of the CRISP-DM methodology and the approval of the company owners, the infrastructure was replicated in a productive system and securely connected to the company’s current architecture. With the studies carried out and the understanding of business pain points, the vision of a customer payment control dashboard was validated. It allowed for historically tracking on-time and/or overdue payments, as well as projecting, based on customer payment history and boleto expiration dates, a trend of receipts for the coming months, significantly facilitating the company’s financial planning.
Project implementation and insights
After the development and construction period of automation and the cloud environment, the project was presented to the company managers so they could validate the data, evaluate the constructions, and provide feedback on the delivered functionalities. One of the great advantages of using dashboards and robust data structures for decision-making is the visibility and transparency they provide to decision-makers. Data analysis is increasingly becoming a competitive advantage for businesses, generating positive results in its daily application and use (Provost, 2016).
With the data now available, managers can daily, automatically, track the evolution of payment and receipt flows being monitored, as well as the entry of new orders and financial obligations, processes that previously depended on more detailed and time-consuming analysis. In addition to the analysis tools, the company’s managers now have an additional layer of data protection, as, besides physical storage on their own machine, there is a cloud backup that can be restored and stores different versions of the data, accessible remotely from various machines.
The application of the CRISP-DM methodology allowed for the identification of learnings and opportunities that were not previously evident. Firstly, data stored without a clear purpose of use and structured analysis processes have limited value. The research showed that the company possessed a wealth of data under its control, but the lack of processes and tools prevented this data from translating into real business value.
Secondly, manual processes often stifle business vision, restricting the ability to cross-reference different types of information. The implementation of the methodology allowed us to identify that some existing follow-ups within the company were too restrictive and did not provide an integrated view. Finally, the research demonstrated that the mere construction of tools does not guarantee value generation; it is fundamental that follow-up processes and indicators that represent the reality of operations are created and followed by collaborators so that the company can capture the value of the developed solutions.
In summary, the research demonstrated that the main barrier faced by the company was not the absence of data, but rather the lack of an adequate structure to access and transform it into inputs for strategic decision-making. The developed solution, composed of a three-zone architecture (Data Lake, ETL process, Data Warehouse, and Business Intelligence layer), proved to be technically viable and suitable for the company’s size and needs, directly addressing the central question about expected revenues and future financial commitments, providing greater transparency and agility in financial management.
4. Conclusion
This work sought to apply the CRISP-DM methodology to identify management challenges and develop a Data Analytics solution for a family business in the citrus sector, involved in the production and commercialization of oranges at ETESP. It was found that the company’s main difficulty lay in the underutilization of data from its local ERP system, which resulted in a lack of long-term financial visibility and limited strategic planning. The systematic application of the CRISP-DM methodology allowed for structuring the understanding of the business and data, preparation, and modeling, culminating in the development of a cloud data architecture. This architecture centralized information and enabled the creation of analytical dashboards focused on cash flow control and revenue projection. The implementation of the solution in a development environment demonstrated its effectiveness, providing greater transparency and agility in managers’ decision-making, with the potential to significantly optimize the company’s financial process.
Although the solution was validated in a development environment, a limitation of the study lies in the impossibility of measuring practical results in a production environment, which would be the next step to consolidate operational gains. However, the iterative nature of the CRISP-DM methodology suggests paths for the continuous evolution of the solution. Future studies can focus on incorporating sales data for the construction of predictive demand models, monitoring inventory indicators, and integrating external data, such as seasonal orange price variations at CEAGESP, to enrich analyses and support commercial and pricing decisions. This work highlights that the implementation of a responsive data architecture and the use of analytics tools are no longer a privilege of large corporations, becoming accessible to smaller companies and offering a solid foundation for more data-driven management.
Bibliographic References
Becker, M.; Venancio, F.; Rolt, C.R.; Fiates, G.G.S.2023. Big data em micro e pequenas empresas: uma revisão sistemática. Revista de Gestão e Secretariado 14(3): 3420-3442
Colangelo Filho, L. 2001. Implantação de sistemas ERP: um enfoque de longo prazo. Editora Atlas., São Paulo, SP, Brasil.
Companhia de Entrepostos e Armazéns Gerais de São Paulo [CEAGESP]. Institucional Histórico [s.d.]. Disponível em: https://ceagesp.gov.br/acesso-a-informacao/institucional/historico/. Acesso em: 20 Nov. 2025
De Souza, P.H.M.; Castilho, R.A. 2023. Comercialização De Produtos Hortigranjeiros: Análise Da Função Da Ceagesp Capital Como Centro De Distribuição Da Produção Local E Regional. Caderno de Geografia 33(72): 1-1.
Flexor, G.G.; Kato, K.Y.M.; Leite, S.P. 2023. Transformações na agricultura brasileira e os desafios para a segurança alimentar e nutricional no século XXI. Alimentação e nutrição no Brasil: perspectivas na segurança e soberania alimentar. 1ed. Fundação Oswaldo Cruz. Rio de Janeiro, RJ, Brasil.
Foreman, W. F. 2016. Data Smart: : usando Data Science para transformar informação em insight. Editora Alta Books, Rio de Janeiro, RJ, Brasil. Disponível em: https://app.minhabiblioteca.com.br/reader/books/9788555084330?library_return_url=https%3A%2F%2Fapp.minhabiblioteca.com.br%2Fhome%2Fmy-library. Acesso em: 10 Out. 2025
Instituto Brasileiro de Geografia e Estatística [IBGE]. 2022. Censo Agropecuário: Tabela 6588 – Série histórica da estimativa anual da área plantada, área colhida, produção e rendimento médio dos produtos das lavouras. Disponível em: https://sidra.ibge.gov.br/tabela/6588. Acesso em: 20 nov. 2025.
Maruca, H.C. 2022. Efeitos de doses de maturadores na cultura do citros. Trabalho de conclusão de curso. Faculdade de Ciências Agrárias e Veterinárias. UNESP, Jaboticabal, SP, Brasil.
Provost, F. 2016. Data Science para negócios – O que você precisa saber sobre mineração de dados e pensamento analítico de dados. 1ed. Editora Alta Books, Rio de Janeiro, RJ, Brasil
Article originating from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq
To learn more about the course, click here and access the MBX Academy platform