Most companies have laborious tasks that demand a long time. One of the purposes of data science or analysis is to automate those kinds of processes, reducing expenses and allowing focus on other important aspects for companies. In this project, we drastically reduced the time spent on the creation of reports for a company in charge of occupational health and safety at work.


The aim was to parse thousands of reports collected from construction works in operation, showing analytics by category and company, charting quantities such as the number of work stoppages, and rates of risk, and counting the number of warning signals found during visits for every company. This was done with the purpose of presenting monthly reports to the construction companies.


The project had a duration of six weeks. It began with an understanding of how information is stored in the database. The next step was to create a tool that facilitates the creation of reports by construction work, which can display information by days, months, or weeks. After the tool of analysis was created, weekly reports are currently being generated.


The first step was to collect all the reports generated between 2022 and 2023 for all the construction companies, using APIs to extract all the information saved, cleaning the data, and removing empty entries. Failures in the database were also verified, taking into account that there were over 3600 reports, each with around 20 stratified questions and 5 possible answers.

Once the previous task was completed, the next step was to work on and manipulate the correct columns of information, as we had a vast database with redundant or unnecessary columns that were not useful for our target.

Continuing with the process, it was required to group the information by customer code (the reference number for every construction company) and the associated site for every construction company. The purpose of this was to show and track the progress of each construction work.

Later counting with many levels of risk (Low, high, Medium, Stop work)  there are by work construction and by category, all of these  along of the time

By allowing the presentation of categorized charts for every construction work, company, and type of risk, it becomes easier to understand the current state of each construction project at any given time. The tool is used to graphically display the number of risk signals for each construction company, with each company’s data presented in columns for easy viewing.

 Another really useful tool is the availability of a display by category, focusing on each construction company and the number of levels of risk at any given time


Enabling the creation of reports for companies can enhance productivity by reducing time-consuming tasks and making them less laborious.

Are you decided to improve the report generation procesess ? .