Executive Summary

The analysis of the International Automotive Components (IAC) plant in Toluca, Mexico, for the year 2023 reveals significant patterns and correlations in transportation and logistics. In oceanic transport, “DSV AIR & SEA SA DE CV” stands out as the primary carrier, handling the majority of shipments, with notable costs and peaks in March, indicating potential seasonality. The truckload (TL) analysis shows a correlation between increases in shipment volumes and costs in specific months, such as January and March, suggesting possible seasonal demand. For less than truckload (LTL) shipments, “PROTRANS INTERNATIONAL INC” emerges as the key carrier on crucial routes, and temporal patterns in cost peaks are detected, particularly in November. The distance distribution reveals that oceanic and truckload routes tend to cover moderate distances, while less than truckload routes focus on shorter distances. The analysis of weight and volume shows a positive correlation in all categories, indicating that as volume increases, so does the weight of shipments. In summary, there is temporality in the data, with peaks in activity and costs in certain months, suggesting the need for specific strategies to handle seasonal demand and optimize logistical costs.

Objective

The primary goal of this analysis is to assess the operational performance of the International Automotive Components (IAC) plant in Toluca, Mexico, throughout 2023, focusing on logistics and transportation. The objective is to extract valuable insights for enhancing efficiency, informed decision-making, and resource optimization. Ultimately, the analysis aims to propose cost-saving solutions and improve overall operational effectiveness by addressing specific objectives:

Specific Objectives

  • Shipment Pattern Analysis:
    • Uncover monthly shipment trends to identify seasonality and operational patterns.
    • Distance distribution
    • Carrier distribution
  • Weight and Volume of Loads:
    • Distribution of weights and volumes of transported loads.
  • Cost Analysis:
    • Costs associated with transportation and logistics.

These specific objectives contribute to the overarching goal of proposing targeted cost-saving measures and optimizing operational efficiency.

Additional information

Color palette assigned to each mode type:

  • Light blue: Ocean
  • Green: TL
  • Orange: LTL

Exploratory Analysis

Data cleansing and transformation

The dataset consists of 8,595 rows and 65 columns. The structure of the columns reveals a combination of categorical and numerical variables, with 57 of the columns being of character type and 8 of numeric type. Some key variables include information about the domain, account name, business unit code, primary reference numbers, carriers, transportation modes, order types, service levels, load numbers, quantities, handling units, management, intermediate stops, and more.

Before proceeding with the analysis, changes will be made to the data types to ensure consistency and appropriateness of the variables. Appropriate conversions will be considered to enhance efficiency in the analysis and interpretation of results. The goal is to provide a solid and homogeneous database to address specific questions about the logistics operations of the International Automotive Components (IAC) plant in Toluca throughout the year 2023.

datos<-read.csv('~/Desktop/prueba/108/RPT00108-Basic-Load-Info23.csv')
datos_filt<-datos%>%filter(Business.Unit.Code=='TOLUCA')
col_erase<-c('Contract.Number.s.','Secondary.Reference.s.','Customer.PO.Number','Destination.Loading.Type','Transaction.Adjust.Management','Line.of.Business','Non.Managed','Oversize.Indicator..Y.N.','Sales.Order.Number','SO.Project.ID','Duties')
datos_filt<-datos_filt%>%select(-one_of(col_erase))
skim(datos_filt)
Data summary
Name datos_filt
Number of rows 8595
Number of columns 65
_______________________
Column type frequency:
character 57
numeric 8
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
Domain.Name 0 1 13 13 0 1 0
Account.Name 0 1 13 13 0 1 0
Business.Unit.Code 0 1 6 6 0 1 0
Primary.Reference.Number.s. 0 1 3 184 0 7621 0
Carrier.SCAC 0 1 0 5 1694 27 0
Carrier.Name 0 1 15 48 0 26 0
Mode.Provider.Selection.Method 0 1 0 20 1694 4 0
Mode.Type 0 1 2 5 0 3 0
Order.Type.s. 0 1 6 31 0 7 0
Service.Level 2 1 8 9 0 2 0
Bill.To.Code 0 1 0 8 1710 3 0
Miles 0 1 1 5 0 493 0
Volume 0 1 0 7 860 422 0
Weight 0 1 0 10 4 1316 0
Weight.UOM 0 1 0 3 4 3 0
Equip.Type 0 1 3 25 0 15 0
Shipper.Code 0 1 2 30 0 301 0
Shipper.Name 0 1 3 38 0 297 0
Shipper.City 0 1 4 29 0 170 0
Shipper.State 0 1 2 2 0 48 0
Shipper.Zip 0 1 3 7 0 212 0
Scheduled.Ship.Date 0 1 8 10 0 350 0
Actual.Ship.Date 0 1 0 10 1738 354 0
Origin.Loading.Type 0 1 0 10 7428 4 0
Top.Customer.Name 0 1 5 5 0 1 0
Receiver.Code 0 1 2 26 0 73 0
Receiver.Name 0 1 4 38 0 72 0
Receiver.City 0 1 4 19 0 44 0
Receiver.State 0 1 2 2 0 23 0
Receiver.Zip 0 1 5 6 0 54 0
Scheduled.Delivery.Date 0 1 8 10 0 374 0
Actual.Delivery.Date 0 1 0 10 1863 356 0
Tender.Accept.Date 0 1 0 10 1913 335 0
Ready.For.Books.Date 0 1 0 10 140 355 0
Line.Haul 0 1 1 10 0 1169 0
Fuel.Surcharge 0 1 1 7 0 872 0
Accessorials 0 1 1 11 0 728 0
Freight.Cost 0 1 1 11 0 1937 0
Currency 0 1 0 3 1710 3 0
Cost.Per.Ton 0 1 1 14 0 2793 0
Created.By 0 1 11 24 0 26 0
Load.Created.Datetime 0 1 13 22 0 2140 0
ME.Status 0 1 7 13 0 7 0
Haz..Materials 0 1 1 1 0 2 0
Products 0 1 0 58 7253 92 0
Product.Description 0 1 0 99 7274 481 0
Method.of.Payment 0 1 2 2 0 4 0
HOT 0 1 1 1 0 2 0
Pro.Number 0 1 0 75 7170 1414 0
Receiver.Region 0 1 7 9 0 4 0
Minimum.Charge.Indicator 0 1 1 1 0 2 0
Shipment.Created.By 0 1 0 11 118 3 0
Created.by 0 1 10 23 0 26 0
User.Type 0 1 8 8 0 2 0
Order.Created.By 0 1 0 23 118 30 0
Order.Method 0 1 0 11 118 3 0
Order.User.Type 0 1 0 8 118 3 0

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
Load.Number 0 1.00 8.61932e+08 6397926.10 850106482 856659844 862025825 867491292 873826271 ▆▇▇▇▆
Quantity 427 0.95 2.27276e+03 1581.01 0 2500 2500 2500 76500 ▇▁▁▁▁
Handling.Units 12 1.00 1.40400e+01 41.38 0 3 8 24 2600 ▇▁▁▁▁
Management 0 1.00 0.00000e+00 0.00 0 0 0 0 0 ▁▁▇▁▁
Intermediate.Stops…Pickup 0 1.00 8.00000e-02 0.38 0 0 0 0 4 ▇▁▁▁▁
Intermediate.Stops…Delivery 0 1.00 2.00000e-02 0.15 0 0 0 0 2 ▇▁▁▁▁
Consource.Indicator 0 1.00 0.00000e+00 0.00 0 0 0 0 0 ▁▁▇▁▁
Customer.Routed 0 1.00 0.00000e+00 0.00 0 0 0 0 0 ▁▁▇▁▁
datos_filt<-datos_filt%>%
  mutate(AMPM=substr(Load.Created.Datetime,nchar(Load.Created.Datetime)-1,nchar(Load.Created.Datetime)),
         Load.Created.Datetime=substr(Load.Created.Datetime,1,nchar(Load.Created.Datetime)-2))
datos_filt<-as.data.table(datos_filt)
datos_filt$Load.Created.Datetime1<-datos_filt$Load.Created.Datetime
datos_filt$Load.Created.Datetime1<-trimws(datos_filt$Load.Created.Datetime1,which='right')
datos_filt$Load.Created.Datetime1<-ifelse(nchar(datos_filt$Load.Created.Datetime1)<8,
                                           str_pad(datos_filt$Load.Created.Datetime1,width=8,side='left',pad='0'),
                                           datos_filt$Load.Created.Datetime1)

datos_filt<-datos_filt %>%
  mutate(Hour=str_sub(Load.Created.Datetime1,nchar(Load.Created.Datetime1)-7,nchar(Load.Created.Datetime1)-6),
         Date=str_sub(Load.Created.Datetime1,1,nchar(Load.Created.Datetime1)-9),
         Load.Created.Datetime1=sprintf('%02d%s',ifelse(AMPM=='PM',as.numeric(Hour)+12,as.numeric(Hour)),
                                           str_sub(Load.Created.Datetime1,nchar(Load.Created.Datetime1)-5)))

datos_filt$Date<-ifelse(str_sub(datos_filt$Date,-1)=='2',paste0(datos_filt$Date,'3'),datos_filt$Date)
datos_filt$Date<-ifelse(nchar(datos_filt$Date)<=9,paste0('0',datos_filt$Date),datos_filt$Date)
datos_filt$Date<-ifelse(nchar(datos_filt$Date)==9,paste0(substr(datos_filt$Date,1,3),'0',substr(datos_filt$Date,4,9)),datos_filt$Date)
datos_filt$Load.Created.Datetime1<-ifelse(nchar(datos_filt$Load.Created.Datetime1)<=5,str_c(datos_filt$Load.Created.Datetime1,':00'),datos_filt$Load.Created.Datetime1)

datos_filt<-datos_filt%>%mutate(Load.Created.Datetime1=ifelse(str_sub(Load.Created.Datetime1,1,2)=='24',paste0('23',str_sub(Load.Created.Datetime1,3)),Load.Created.Datetime1))

datos_filt<-datos_filt%>%mutate(Load.Created.Datetime2=paste(Date,Load.Created.Datetime1,sep=' '))
datos_filt$Date<-NULL
datos_filt$Hour<-NULL
datos_filt$AMPM<-NULL
datos_filt$Load.Created.Datetime1<-NULL
datos_filt$Load.Created.Datetime<-NULL
colnames(datos_filt)[colnames(datos_filt)=='Load.Created.Datetime2']<-'Load.Created.Datetime'
datos_filt$Load.Created.Datetime<-as.POSIXct(datos_filt$Load.Created.Datetime,format='%m/%d/%Y %H:%M:%S',tz='UTC',na.rm = TRUE)
datos_filt$Scheduled.Ship.Date<-as.Date(datos_filt$Scheduled.Ship.Date,format='%m/%d/%Y')
datos_filt$Actual.Ship.Date<-as.Date(datos_filt$Actual.Ship.Date,format='%m/%d/%Y')
datos_filt$Scheduled.Delivery.Date<-as.Date(datos_filt$Scheduled.Delivery.Date,format='%m/%d/%Y')
datos_filt$Actual.Delivery.Date<-as.Date(datos_filt$Actual.Delivery.Date,format='%m/%d/%Y')
datos_filt$Tender.Accept.Date<-as.Date(datos_filt$Tender.Accept.Date,format='%m/%d/%Y')
datos_filt$Ready.For.Books.Date<-as.Date(datos_filt$Ready.For.Books.Date,format='%m/%d/%Y')
datos_filt$Load.Number<-as.character(datos_filt$Load.Number)
datos_filt$Miles<-gsub(',','',datos_filt$Miles)
datos_filt$Miles<-as.numeric(datos_filt$Miles)
datos_filt$Volume<-gsub(',','',datos_filt$Volume)
datos_filt$Volume<-as.numeric(datos_filt$Volume)
datos_filt$Weight<-gsub(',','',datos_filt$Weight)
datos_filt$Weight<-as.numeric(datos_filt$Weight)

datos_filt$Line.Haul<-gsub(',','',datos_filt$Line.Haul)
datos_filt$Line.Haul<-as.numeric(gsub('\\$','',datos_filt$Line.Haul))

datos_filt$Fuel.Surcharge<-gsub(',','',datos_filt$Fuel.Surcharge)
datos_filt$Fuel.Surcharge<-as.numeric(gsub('\\$','',datos_filt$Fuel.Surcharge))

datos_filt$Accessorials<-gsub(',','',datos_filt$Accessorials)
datos_filt$Accessorials<-as.numeric(gsub('\\$','',datos_filt$Accessorials))

datos_filt$Freight.Cost<-gsub(',','',datos_filt$Freight.Cost)
datos_filt$Freight.Cost<-as.numeric(gsub('\\$','',datos_filt$Freight.Cost))

datos_filt$Cost.Per.Ton<-gsub(',','',datos_filt$Cost.Per.Ton)
datos_filt$Cost.Per.Ton<-as.numeric(gsub('\\$','',datos_filt$Cost.Per.Ton))

datos_filt$Carrier.Name<-gsub('LOESA EXPEDITED SERVICES LLC','LOESA EXPEDITED SERVICES SA DE CV',datos_filt$Carrier.Name)
datos_filt$Carrier.Name<-gsub('TRANSPLACE MEXICO, LLC','TRANSPLACE DE MEXICO',datos_filt$Carrier.Name)
datos_filt$Mode.Type[grepl("PROTRANS INTERNATIONAL INC",datos_filt$Carrier.Name)]<-"LTL"

#Exchange rate 17.0492 (Banxico, 2024)
#https://www.banxico.org.mx/
datos_filt$Cost.Per.Ton[datos_filt$Currency=='MXN']<-datos_filt$Cost.Per.Ton[datos_filt$Currency=='MXN']/17.0492
datos_filt$Freight.Cost[datos_filt$Currency=='MXN']<-datos_filt$Freight.Cost[datos_filt$Currency=='MXN']/17.0492
datos_filt$Line.Haul[datos_filt$Currency=='MXN']<-datos_filt$Line.Haul[datos_filt$Currency=='MXN']/17.0492
datos_filt$Currency[datos_filt$Currency=='MXN']<-'USD'
datos_filt$Currency[datos_filt$Currency=='']<-'USD'
ocean<-datos_filt[grepl('OCEAN',datos_filt$Mode.Type,ignore.case=TRUE,fixed=TRUE),]
ltl<-datos_filt[grepl('LTL',datos_filt$Mode.Type,ignore.case=TRUE,fixed=TRUE),]
tl<-datos_filt[grepl('TL',datos_filt$Mode.Type,ignore.case=TRUE),]
tl<-datos_filt[grepl('^TL$',datos_filt$Mode.Type,ignore.case=TRUE),]
unique(tl$Mode.Type)
## [1] "TL"

Here is the optimized data structure that will facilitate the detailed analysis of the plant, consisting of 8,595 records distributed across 65 columns.

glimpse(datos_filt)
## Rows: 8,595
## Columns: 65
## $ Domain.Name                    <chr> "IAC GROUP INC", "IAC GROUP INC", "IAC …
## $ Account.Name                   <chr> "IAC GROUP INC", "IAC GROUP INC", "IAC …
## $ Business.Unit.Code             <chr> "TOLUCA", "TOLUCA", "TOLUCA", "TOLUCA",…
## $ Load.Number                    <chr> "851547493", "852870092", "852871161", …
## $ Primary.Reference.Number.s.    <chr> "TOL0208-1_326_23_4; ", "TOL0200-1_153_…
## $ Carrier.SCAC                   <chr> "ICAO", "038B", "038B", "PNII", "", "PN…
## $ Carrier.Name                   <chr> "ICAT LOGISTICS INC", "DSV AIR & SEA SA…
## $ Mode.Provider.Selection.Method <chr> "ME Manual Assignment", "ME Manual Assi…
## $ Mode.Type                      <chr> "OCEAN", "OCEAN", "OCEAN", "LTL", "LTL"…
## $ Order.Type.s.                  <chr> "INBOUND", "INBOUND", "INBOUND", "INBOU…
## $ Service.Level                  <chr> "Standard", "Standard", "Standard", "St…
## $ Bill.To.Code                   <chr> "IACTOLUO", "IACTOLUO", "IACTOLUO", "IA…
## $ Miles                          <dbl> 742, 201, 605, 1550, 1551, 153, 1482, 1…
## $ Volume                         <dbl> 1280, 128, 384, 128, 64, 128, 64, 384, …
## $ Weight                         <dbl> 4000, 400, 1200, 718, 562, 2017, 1500, …
## $ Weight.UOM                     <chr> "LBS", "LBS", "LBS", "LBS", "LBS", "LBS…
## $ Quantity                       <int> 2500, 2500, 2500, 2500, 2500, 2500, 250…
## $ Handling.Units                 <int> 20, 2, 6, 1, 1, 2, 1, 6, 1, 6, 1, 1, 1,…
## $ Equip.Type                     <chr> "20 FT CONTAINER", "20 FT CONTAINER", "…
## $ Shipper.Code                   <chr> "2053334", "2054207", "MURTRA SWEDEN", …
## $ Shipper.Name                   <chr> "FUXIN DARE AUTOMOTIVE PARTS: 02053334"…
## $ Shipper.City                   <chr> "SHENZHEN CITY", "BIELSKO-BIALA", "YSTA…
## $ Shipper.State                  <chr> "GD", "PL", "SE", "MI", "OH", "TX", "NC…
## $ Shipper.Zip                    <chr> "518046", "43-300", "271 39", "48116", …
## $ Scheduled.Ship.Date            <date> 0023-03-05, 0023-03-01, 0023-03-10, 00…
## $ Actual.Ship.Date               <date> 0023-03-08, 0023-03-01, 0023-03-10, 00…
## $ Origin.Loading.Type            <chr> "", "", "", "", "", "", "", "", "", "",…
## $ Top.Customer.Name              <chr> "OTHER", "OTHER", "OTHER", "OTHER", "OT…
## $ Receiver.Code                  <chr> "OG5", "OG5", "OG5", "DICEX INTERNATION…
## $ Receiver.Name                  <chr> "IACNA TOLUCA", "IACNA TOLUCA", "IACNA …
## $ Receiver.City                  <chr> "TOLUCA", "TOLUCA", "TOLUCA", "LAREDO",…
## $ Receiver.State                 <chr> "MX", "MX", "MX", "TX", "TX", "TX", "TX…
## $ Receiver.Zip                   <chr> "50010", "50010", "50010", "78045", "78…
## $ Scheduled.Delivery.Date        <date> 2023-04-14, 0023-03-06, 0023-04-11, 00…
## $ Actual.Delivery.Date           <date> 2023-04-14, 2023-03-27, 0023-04-11, 00…
## $ Tender.Accept.Date             <date> 0023-03-03, 0023-02-08, 0023-02-08, 20…
## $ Ready.For.Books.Date           <date> 0023-04-05, 2023-03-14, 2023-03-14, 20…
## $ Line.Haul                      <dbl> 13145.000, 2365.700, 2239.000, 0.000, 0…
## $ Fuel.Surcharge                 <dbl> 0.00, 0.00, 0.00, 0.00, 0.00, 30.00, 0.…
## $ Management                     <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ Accessorials                   <dbl> 0.0, 0.0, 0.0, 50.0, 0.0, 10.0, 0.0, 0.…
## $ Freight.Cost                   <dbl> 13145.000, 2365.700, 2239.000, 50.000, …
## $ Currency                       <chr> "USD", "USD", "USD", "USD", "USD", "USD…
## $ Cost.Per.Ton                   <dbl> 6572.5000, 11828.5000, 3731.6700, 0.000…
## $ Created.By                     <chr> "Cardoso Rojas, Nicole", "Cardoso Rojas…
## $ Intermediate.Stops...Pickup    <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ Intermediate.Stops...Delivery  <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ ME.Status                      <chr> "DELIVERED", "DELIVERED", "DELIVERED", …
## $ Haz..Materials                 <chr> "N", "N", "N", "N", "N", "N", "N", "N",…
## $ Products                       <chr> "", "", "", "", "", "", "", "", "L03060…
## $ Product.Description            <chr> "", "", "", "Carrier Northfield Truckin…
## $ Method.of.Payment              <chr> "CC", "CC", "CC", "TP", "TP", "TP", "TP…
## $ HOT                            <chr> "N", "N", "N", "N", "N", "N", "N", "N",…
## $ Pro.Number                     <chr> "", "", "", "S14053515; S14099756; ", "…
## $ Receiver.Region                <chr> "UNKNOWN", "UNKNOWN", "UNKNOWN", "SOUTH…
## $ Consource.Indicator            <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ Customer.Routed                <int> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
## $ Minimum.Charge.Indicator       <chr> "N", "N", "N", "N", "N", "N", "N", "N",…
## $ Shipment.Created.By            <chr> "UI_IMPORT", "UI_IMPORT", "UI_IMPORT", …
## $ Created.by                     <chr> "Nicole Cardoso Rojas", "Nicole Cardoso…
## $ User.Type                      <chr> "Internal", "Internal", "Internal", "In…
## $ Order.Created.By               <chr> "Marijose Obaya", "Marijose Obaya", "Ni…
## $ Order.Method                   <chr> "UI_IMPORT", "UI_IMPORT", "UI_IMPORT", …
## $ Order.User.Type                <chr> "Internal", "Internal", "Internal", "In…
## $ Load.Created.Datetime          <dttm> 2023-01-18 19:08:18, NA, NA, 2023-02-2…
#write.csv(datos_filt,'clean-database-iac-toluca.csv',row.names=FALSE)

Shipment Pattern Analysis

Distance Distribution

  • For Ocean:
    • Most shipments cover moderate distances, as the box extends from the first quartile (Q1) at 69.5 to the third quartile (Q3) at 2405, with a median at 201.
    • However, there are some extremely long shipments, as seen in the points outside the box, reaching a maximum of 5279 miles.
  • For TL:
    • Most shipments also cover moderate distances, with the box extending from the first quartile (Q1) at 338 to the third quartile (Q3) at 2328, and a median at 1767.
    • However, there are some extremely long shipments, as seen in the points outside the box, reaching a maximum of 5297 miles.
  • For LTL:
    • Here, most shipments cover shorter distances, with the box extending from the first quartile (Q1) at 1244 to the third quartile (Q3) at 1727, and a median at 1467.
    • There is an outlier at the lower end, beyond the “lower fence” at 1 mile, and another outlier at the upper end, beyond the “upper fence” at 2503 miles, represented as solitary points outside the box.
gg_boxplot_ocean<-ggplot(ocean,aes(x='',y=Miles))+geom_boxplot(fill='#95BCDA',color='#0077B6')+labs(title='Distance Distribution',y='Distance (Miles)')+theme(axis.text.x=element_blank(),axis.ticks.x=element_blank(),axis.title.x=element_blank())+theme_minimal()
g1_ocean<-ggplotly(gg_boxplot_ocean)
gg_boxplot<-ggplot(tl,aes(x='',y=Miles))+geom_boxplot(fill='#A7C957',color='#6A994E')+labs(title='Distance Distribution',y='Distance (Miles)')+theme(axis.text.x=element_blank(),axis.ticks.x=element_blank(),axis.title.x=element_blank())+theme_minimal()
g1_tl<-ggplotly(gg_boxplot)
gg_boxplot_ltl<-ggplot(ltl,aes(x='',y=Miles))+geom_boxplot(fill='#E76F51',color='#FB5607')+labs(title='Distance Distribution by Ocean, TL & LTL',y='Distance (Miles)')+theme(axis.text.x=element_blank(),axis.ticks.x=element_blank(),axis.title.x=element_blank())+theme_minimal()
g1_ltl<-ggplotly(gg_boxplot_ltl)
combined_plots3<-subplot(g1_ocean,g1_tl,g1_ltl,nrows=1,shareY=TRUE,titleX=FALSE)
combined_plots3

Carrier Distribution

  • For Ocean:
    • The majority of shipments in this category are handled by “DSV AIR & SEA SA DE CV,” with a total of 512 shipments.
    • “ICAT LOGISTICS INC” is also present, although to a lesser extent, with only 2 shipments.
  • For TL:
    • The top five carriers in this category are:
      • “NUBARY LOGISTICS S DE RL” leads with 1639 shipments.
      • Followed by “EXPRESS NACIONAL DE CARGA SA DE CV” with 1206 shipments.
      • In third place is “UNLIMITED LOGISTICS” with 469 shipments.
      • “DSV AIR & SEA SA DE CV” takes the fourth position with 436 shipments.
      • Finally, “TRANSPORTES MON-RO SA DE CV” completes the top 5 with 413 shipments.
  • For LTL:
    • In this category, “PROTRANS INTERNATIONAL INC” is the only carrier mentioned, with a total of 1139 shipments.

This more comprehensive analysis provides a holistic view of how shipments are distributed among different carriers in each category, highlighting the key players in Full Truckload (“TL”) along with those in the other categories.

cost_by_carrier_ocean_count<-ocean%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(Carrier.Name)%>%summarize(Total_Count=n())
cost_by_carrier_ocean_count$Carrier.Name<-factor(cost_by_carrier_ocean_count$Carrier.Name,levels=cost_by_carrier_ocean_count$Carrier.Name[order(cost_by_carrier_ocean_count$Total_Count)])

histogram_ocean_count<-plot_ly(cost_by_carrier_ocean_count,x=~Total_Count,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#95BCDA'))

layout_hist_ocean_count<-list(title='Total Count by Carrier (Ocean)',xaxis=list(title='Total Count'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_ocean_count$yaxis$y<-2.0
histogram1_ocean_count<-histogram_ocean_count%>%layout(layout_hist_ocean_count,title='Total Count by Carrier (Ocean)')

cost_by_carrier_tl_count<-tl%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(Carrier.Name)%>%summarize(Total_Count=n())%>%arrange(desc(Total_Count))%>%top_n(5)

cost_by_carrier_tl_count$Carrier.Name<-factor(cost_by_carrier_tl_count$Carrier.Name,levels=cost_by_carrier_tl_count$Carrier.Name[order(cost_by_carrier_tl_count$Total_Count)])

histogram_tl_count<-plot_ly(cost_by_carrier_tl_count,x=~Total_Count,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#A7C957'))

layout_hist_tl_count<-list(title='Total Count by Carrier (TL)',xaxis=list(title='Total Count'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_tl_count$yaxis$y<-2.0
histogram1_tl_count<-histogram_tl_count%>%layout(layout_hist_tl_count,title='Total Count by Carrier (TL)')

cost_by_carrier_ltl_count <- ltl %>%
  filter(Carrier.Name != 'CARRIER NOT FOUND') %>%
  group_by(Carrier.Name) %>%
  summarize(Total_Count = n())

cost_by_carrier_ltl_count$Carrier.Name<-factor(cost_by_carrier_ltl_count$Carrier.Name,levels=cost_by_carrier_ltl_count$Carrier.Name[order(cost_by_carrier_ltl_count$Total_Count)])

histogram_ltl_count<-plot_ly(cost_by_carrier_ltl_count,x=~Total_Count,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#E76F51'))

layout_hist_ltl_count<-list(title='Total Count by Carrier (LTL)',xaxis=list(title='Total Count'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_ltl_count$yaxis$y<-2.0
histogram1_ltl_count<-histogram_ltl_count%>%layout(layout_hist_ltl_count,title='Total Count by Carrier by Ocean, TL & LTL')

combined_plots_count<-subplot(histogram1_ocean_count,histogram1_tl_count,histogram1_ltl_count,nrows=3,titleX=FALSE,titleY=FALSE,shareX=FALSE)%>%layout(showlegend=FALSE,margin=list(l=50,r=20,t=50,b=50))
combined_plots_count

Weight and Volume of Loads

Distribution of weights and volumes of transported loads.

  • For Ocean:
    • “DSV AIR & SEA SA DE CV” handles a total volume of 316,529 kilograms.
    • “ICAT LOGISTICS INC” manages a total volume of 2,560 kilograms.
  • For TL:
    • The top five carriers in this category and their respective total volumes are:
      • “EXPRESS NACIONAL DE CARGA SA DE CV” with a total volume of 3,381,583 kilograms.
      • “NUBARY LOGISTICS S DE RL” with a total volume of 2,534,034 kilograms.
      • “TRANSPORTES MON-RO SA DE CV” with a total volume of 1,111,948 kilograms.
      • “DICEX LOGISTICA SA DE CV” with a total volume of 946,534 kilograms.
      • “UNLIMITED LOGISTICS LLC” with a total volume of 769,909 kilograms.
  • For LTL:
    • In this category, “PROTRANS INTERNATIONAL INC” manages a total volume of 316,766.3 kilograms.

This analysis provides insights into the distribution of total volume among different carriers in each category.

cost_by_carrier_ocean_volume<-ocean%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%
  group_by(Carrier.Name)%>%
  summarize(Total_Volume=sum(Volume,na.rm=TRUE))

cost_by_carrier_ocean_volume$Carrier.Name<-factor(cost_by_carrier_ocean_volume$Carrier.Name,levels=cost_by_carrier_ocean_volume$Carrier.Name[order(cost_by_carrier_ocean_volume$Total_Volume)])

histogram_ocean_volume<-plot_ly(cost_by_carrier_ocean_volume,x=~Total_Volume,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#95BCDA'))
layout_hist_ocean_volume<-list(title='Total Volume by Carrier (Ocean)',xaxis=list(title='Total Volume'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_ocean_volume$yaxis$y<-2.0

histogram1_ocean_volume<-histogram_ocean_volume%>%layout(layout_hist_ocean_volume,title='Total Volume by Carrier (Ocean)')

cost_by_carrier_tl_volume<-tl%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(Carrier.Name)%>%summarize(Total_Volume=sum(Volume,na.rm=TRUE))%>%arrange(desc(Total_Volume))%>%top_n(5)

cost_by_carrier_tl_volume$Carrier.Name<-factor(cost_by_carrier_tl_volume$Carrier.Name,levels=cost_by_carrier_tl_volume$Carrier.Name[order(cost_by_carrier_tl_volume$Total_Volume)])

histogram_tl_volume<-plot_ly(cost_by_carrier_tl_volume,x=~Total_Volume,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#A7C957'))

layout_hist_tl_volume<-list(title='Total Volume by Carrier (TL)',xaxis=list(title='Total Volume'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_tl_volume$yaxis$y<-2.0

histogram1_tl_volume<-histogram_tl_volume%>%layout(layout_hist_tl_volume,title='Total Volume by Carrier (TL)')

cost_by_carrier_ltl_volume<-ltl%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(Carrier.Name)%>%summarize(Total_Volume=sum(Volume,na.rm=TRUE))

cost_by_carrier_ltl_volume$Carrier.Name<-factor(cost_by_carrier_ltl_volume$Carrier.Name,levels=cost_by_carrier_ltl_volume$Carrier.Name[order(cost_by_carrier_ltl_volume$Total_Volume)])

histogram_ltl_volume<-plot_ly(cost_by_carrier_ltl_volume,x=~Total_Volume,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#E76F51'))

layout_hist_ltl_volume<-list(title='Total Volume by Carrier (LTL)',xaxis=list(title='Total Volume'),yaxis=list(title='Carrier.Name',automargin=FALSE))
layout_hist_ltl_volume$yaxis$y<-2.0
histogram1_ltl_volume<-histogram_ltl_volume%>%layout(layout_hist_ltl_volume,title='Total Volume by Carrier by Ocean,TL & LTL')


combined_plots_volume<-subplot(histogram1_ocean_volume,histogram1_tl_volume,histogram1_ltl_volume,nrows=3,titleX=FALSE,titleY=FALSE,shareX=FALSE)%>%layout(showlegend=FALSE,margin=list(l=50,r=20,t=50,b=50))
combined_plots_volume

This scatterplot illustrates the relationship between volume and weight for three different categories: Ocean, Truckload (TL), and Less than Truckload (LTL). Despite differences in scale, all three scatterplots share a similar pattern, with points accumulating in the bottom-left corner and extending towards the upper-right corner.

  • For Ocean:
    • The majority of points cluster in the volume range of 0 to 1000, with corresponding weights mostly around 5000.
    • However, there are several outliers with weights extending up to 42,000, indicating instances of significantly heavier shipments compared to the majority.
  • For TL:
    • Most points concentrate in the volume range of 0 to 3600, with associated weights predominantly up to 10,000.
    • Some outliers deviate from this trend, with weights reaching as high as 60,000, suggesting instances of exceptionally heavy shipments.
  • For LTL:
    • The majority of points are situated in the volume range of 0 to 1000, with corresponding weights primarily up to 5000.
    • However, there are outliers with weights extending up to 40,000, signifying instances of heavier shipments compared to the general trend.

The consistent pattern of points accumulating in the lower-left corner and extending towards the upper-right corner suggests a positive correlation between volume and weight across all three categories. The presence of outliers indicates the existence of shipments that deviate from the general trend, highlighting the need for further investigation into these particular cases.

p2_ocean<-plot_ly(ocean,x=~Volume,y=~Weight,color=~Business.Unit.Code,
                   type='scatter',mode='markers',
                   text=~paste('<br>Volume:',Volume,'<br>Weight:',Weight),
                   hoverinfo='text',
                   marker=list(color='#95BCDA'))%>%
  layout(title='Relationship between Volume and Weight',
         xaxis=list(title='Volume'),
         yaxis=list(title='Weight'),
         legend=list(orientation='h',y=1.1,x=0.5),
         showlegend=FALSE)%>%
  style(hoverlabel=list(bgcolor='white',bordercolor='black'))
p2_tl<-plot_ly(tl,x=~Volume,y=~Weight,color=~Business.Unit.Code,
                 type='scatter',mode='markers',
                 text=~paste('<br>Volume:',Volume,'<br>Weight:',Weight),
                 hoverinfo='text',
                 marker=list(color='#A7C957'))%>%
  layout(title='Relationship between Volume and Weight',
         xaxis=list(title='Volume'),
         yaxis=list(title='Weight'),
         legend=list(orientation='h',y=1.1,x=0.5),
         showlegend=FALSE)%>%
  style(hoverlabel=list(bgcolor='white',bordercolor='black'))
p2_ltl<-plot_ly(ltl,x=~Volume,y=~Weight,color=~Business.Unit.Code,
                  type='scatter',mode='markers',
                  text=~paste('<br>Volume:',Volume,'<br>Weight:',Weight),
                  hoverinfo='text',
                  marker=list(color='#E76F51'))%>%
  layout(title='Relationship between Volume and Weight by Ocean, TL & LTL',
         xaxis=list(title='Volume'),
         yaxis=list(title='Weight'),
         legend=list(orientation='h',y=1.1,x=0.5),
         showlegend=FALSE)%>%
  style(hoverlabel=list(bgcolor='white',bordercolor='black'))
#p2_ltl<-p2_ltl%>%layout(layout_scatter_ltl,title='Relationship between Volume and Weight by Ocean, TL & LTL')
combined_plots1<-subplot(p2_ocean,p2_tl,p2_ltl,nrows=1,titleX=TRUE,titleY=TRUE,shareX=TRUE)
combined_plots1

Cost Analysis

Costs associated with transportation and logistics.

  • For Ocean:
    • “DSV AIR & SEA SA DE CV” incurs the highest total freight cost, amounting to 1,893,470 USD.
    • “ICAT LOGISTICS INC” has a much lower total cost, with 26,290 USD.
  • For TL:
    • The top five carriers in this category and their respective total freight costs are:
      • “NUBARY LOGISTICS S DE RL” with the highest cost at 2,849,212 USD.
      • “UNLIMITED LOGISTICS LLC” follows with a total cost of 1,790,434 USD.
      • “EXPRESS NACIONAL DE CARGA SA DE CV” incurs a total cost of 1,067,896 USD.
      • “TRANSPORTES MON-RO SA DE CV” has a total cost of 703,278.4 USD.
      • “QUALITY FREIGHT LOGISTICS INC” incurs a total cost of 579,215.8 USD.
  • For LTL:
    • In this category, “PROTRANS INTERNATIONAL INC” has the lowest total freight cost, amounting to 219,540 USD.
cost_by_carrier_ocean<-ocean%>%
  filter(Carrier.Name!='CARRIER NOT FOUND')%>%
  group_by(Carrier.Name)%>%
  summarize(Total_Freight_Cost=sum(Freight.Cost,na.rm=TRUE))
cost_by_carrier_ocean$Carrier.Name<-factor(cost_by_carrier_ocean$Carrier.Name,levels=cost_by_carrier_ocean$Carrier.Name[order(cost_by_carrier_ocean$Total_Freight_Cost)])
histogram_ocean<-plot_ly(cost_by_carrier_ocean,x=~Total_Freight_Cost,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#95BCDA'))
layout_hist_ocean<-list(title='Total Freight Cost by Carrier',xaxis=list(title='Total Freight Cost'),yaxis = list(title = 'Carrier.Name', automargin = FALSE))
layout_hist_ocean$yaxis$y <- 2.0
histogram1_ocean<-histogram_ocean%>%layout(layout_hist_ocean,title='Total Freight Cost by Carrier')
cost_by_carrier_tl<-tl%>%
  filter(Carrier.Name!='CARRIER NOT FOUND')%>%
  group_by(Carrier.Name)%>%
  summarize(Total_Freight_Cost=sum(Freight.Cost,na.rm=TRUE))%>%
  arrange(desc(Total_Freight_Cost))%>%
  top_n(5)
cost_by_carrier_tl$Carrier.Name<-factor(cost_by_carrier_tl$Carrier.Name,levels=cost_by_carrier_tl$Carrier.Name[order(cost_by_carrier_tl$Total_Freight_Cost)])
histogram_tl<-plot_ly(cost_by_carrier_tl,x=~Total_Freight_Cost,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#A7C957'))
layout_hist_tl<-list(title='Total Freight Cost by Carrier',xaxis=list(title='Total Freight Cost'))
histogram1_tl<-histogram_tl%>%layout(layout_hist_tl,title='Total Freight Cost by Carrier')
cost_by_carrier_ltl<-ltl%>%
  filter(Carrier.Name!='CARRIER NOT FOUND')%>%
  group_by(Carrier.Name)%>%
  summarize(Total_Freight_Cost=sum(Freight.Cost,na.rm=TRUE))
cost_by_carrier_ltl$Carrier.Name<-factor(cost_by_carrier_ltl$Carrier.Name,levels=cost_by_carrier_ltl$Carrier.Name[order(cost_by_carrier_ltl$Total_Freight_Cost)])
histogram_ltl<-plot_ly(cost_by_carrier_ltl,x=~Total_Freight_Cost,y=~Carrier.Name,type='bar',orientation='h',marker=list(color='#E76F51'))
layout_hist_ltl<-list(title='Total Freight Cost by Carrier',xaxis=list(title='Total Freight Cost'))
histogram1_ltl<-histogram_ltl%>%layout(layout_hist_ltl,title='Total Freight Cost by Carrier by Ocean, TL & LTL')
combined_plots<-subplot(histogram1_ocean,histogram1_tl,histogram1_ltl,nrows=3,titleX=FALSE,titleY=FALSE,shareX=FALSE)%>%layout(showlegend=FALSE,margin=list(l=50,r=20,t=50,b=50))
combined_plots

Ocean

  • January to February: Average costs remain relatively stable around 9,000 to 13,000 USD.
  • March: A significant peak is observed with an average of 31,100 USD. Additionally, there are multiple peaks above the average, ranging between 9,000 and 13,000 USD, indicating notable variation in costs during this month.
  • April to June: Costs return to a range of 6,000 to 7,000 USD, showing some stability.
  • July: Average costs remain relatively low around 4,000 to 5,500 USD, indicating a significant decrease in costs during this month.
  • August to December: Average costs stabilize again in the range of 5,500 to 8,500 USD, similar to the months of April to June.
datos_filt_2023_ocean<-ocean%>%filter(lubridate::year(Actual.Ship.Date)==2023)
promedio_costo_ocean<-mean(datos_filt_2023_ocean$Freight.Cost,na.rm=TRUE)
p3_ocean<-plot_ly(datos_filt_2023_ocean,x=~Actual.Ship.Date,y=~Freight.Cost,type='scatter',mode='lines',line=list(color='#95BCDA'),text=~paste('Freight Cost:',Freight.Cost),hoverinfo='text')%>%add_trace(x=datos_filt_2023_ocean$Actual.Ship.Date,y=rep(promedio_costo_ocean,nrow(datos_filt_2023_ocean)),type='scatter',mode='lines',name='Average Cost')%>%layout(title='Temporal Evolution of Average Costs -Ocean',xaxis=list(title='Shipment Date'),yaxis=list(title='Avg Freight Cost'),showlegend=FALSE)%>%style(hoverlabel=list(bgcolor='white',bordercolor='black'))
p3_ocean

Truckload (TL)

  • January to February: Costs experience a peak, starting high with the highest peak of the year at 14,565 USD, then decreasing to 5,650 USD and stabilizing around these amounts.
  • March: The peak continues into March, with the second-largest peak at 13,000 USD, followed by another peak at 12,000, 9,000, etc.
  • April: Costs gradually decrease to 8,000 USD.
  • May: Stabilizes at 6,000 USD and then drops to 1,000 USD.
  • June: Peaks at 7,000 USD and 6,000 USD.
  • July: Stabilizes at 6,000 USD with a peak at 8,000 USD.
  • August: Decreases to 5,900 USD and 3,600 USD.
  • September: Stabilizes at 6,000 USD.
  • October to November: Decreases to 5,700 USD.
  • December: Decreases to 3,600 USD with peaks at 6,000 USD.
datos_filt_2023_tl<-tl%>%filter(lubridate::year(Actual.Ship.Date)==2023)
promedio_costo_tl<-mean(datos_filt_2023_tl$Freight.Cost,na.rm=TRUE)
p3_tl<-plot_ly(datos_filt_2023_tl,x=~Actual.Ship.Date,y=~Freight.Cost,type='scatter',mode='lines',line=list(color='#A7C957'),text=~paste('Freight Cost (TL):',Freight.Cost),hoverinfo='text')%>%add_trace(x=datos_filt_2023_tl$Actual.Ship.Date,y=rep(promedio_costo_tl,nrow(datos_filt_2023_tl)),type='scatter',mode='lines',name='Average Cost (TL)')%>%layout(title='Temporal Evolution of Average Costs -TL',xaxis=list(title='Shipment Date'),yaxis=list(title='Avg Freight Cost'),showlegend=FALSE)%>%style(hoverlabel=list(bgcolor='white',bordercolor='black'))
p3_tl

Less than Truckload (LTL)

  • January to March: There are significant peaks, reaching up to 2,000 USD, until late March when it decreases to 1,200 USD.
  • April: The peak continues into April, with costs up to 1,500 USD.
  • May to June: Costs remain at the lower range, between 300 USD to 500 USD.
  • July: Peaks of around 1,000 USD are observed.
  • August to October: Costs stabilize at around 1,000 USD, and also values of 50o USD can be observed.
  • November to December: A very large peak of 1,900 USD is observed, followed by a decrease to 500 USD.
datos_filt_2023_ltl<-ltl%>%filter(lubridate::year(Actual.Ship.Date)==2023)
promedio_costo_ltl<-mean(datos_filt_2023_ltl$Freight.Cost,na.rm=TRUE)
p3_ltl<-plot_ly(datos_filt_2023_ltl,x=~Actual.Ship.Date,y=~Freight.Cost,type='scatter',mode='lines',line=list(color='#E76F51'),text=~paste('Freight Cost (LTL):',Freight.Cost),hoverinfo='text')%>%add_trace(x=datos_filt_2023_ltl$Actual.Ship.Date,y=rep(promedio_costo_ltl,nrow(datos_filt_2023_ltl)),type='scatter',mode='lines',name = 'Average Cost (LTL)')%>%layout(title='Temporal Evolution of Average Costs -LTL',xaxis=list(title='Shipment Date'),yaxis=list(title='Avg Freight Cost'),showlegend=FALSE)%>%style(hoverlabel=list(bgcolor='white',bordercolor='black'))
p3_ltl

Ocean

The dataset provides insights into the top 10 logistic routes for ocean transportation in 2023. Notably, the majority of these routes involve shipments from various international locations, such as China (Kunshan, JS), Germany (Vilsbiburg, DE), Spain (Gernika-Lumo, ES), Poland (Nekla, PL), Italy (Marcallo con Casone, IT), and Hungary (Ipolytolgyes, HU), all destined for Toluca, Mexico. DSV AIR & SEA SA DE CV emerges as the primary carrier handling these routes. The distances covered vary widely, ranging from short-haul routes like Vilsbiburg, Germany, to Toluca, Mexico, spanning 45 miles, to longer-haul routes like Ipolytolgyes, Hungary, to Toluca, Mexico, covering 5,261 miles. The count of shipments on these routes ranges from 21 to 38, showcasing varying levels of shipping activity. Additionally, the freight costs associated with these routes vary, with notable peaks in costs correlating with longer distances or specific shipping routes.

df_ocean<-ocean%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(across(c(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles)))%>%summarise(Count=n(),Freight.Cost=sum(Freight.Cost),.groups='drop')%>%arrange(desc(Count),.by_group=TRUE)%>%select(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles,Count,Freight.Cost)
df_ocean<-head(df_ocean,10)
kable(df_ocean,caption='Top 10 Logistic Routes and Counts for Ocean')
Top 10 Logistic Routes and Counts for Ocean
Shipper.City Shipper.State Receiver.City Receiver.State Carrier.Name Miles Count Freight.Cost
KUNSHAN JS TOLUCA MX DSV AIR & SEA SA DE CV 2420 38 113880.33
VILSBIBURG DE TOLUCA MX DSV AIR & SEA SA DE CV 45 37 89338.31
GERNIKA-LUMO ES TOLUCA MX DSV AIR & SEA SA DE CV 2405 35 60543.22
NEKLA PL TOLUCA MX DSV AIR & SEA SA DE CV 169 35 160580.59
MARCALLO CON CASONE IT TOLUCA MX DSV AIR & SEA SA DE CV 941 33 224001.17
ITTLINGEN DE TOLUCA MX DSV AIR & SEA SA DE CV 107 31 90718.64
IPOLYTOLGYES HU TOLUCA MX DSV AIR & SEA SA DE CV 5261 30 91229.69
CTVERIN CZ TOLUCA MX DSV AIR & SEA SA DE CV 2791 28 151169.64
HARTHA DE TOLUCA MX DSV AIR & SEA SA DE CV 34 27 68629.19
BIELSKO-BIALA PL TOLUCA MX DSV AIR & SEA SA DE CV 201 21 58562.71

Truckload (TL)

The top 10 TL logistic routes for 2023 reveal key patterns and trends in shipping activities, primarily involving transportation within Mexico, with Toluca serving as a central hub. The data showcase a mix of short-haul and long-haul routes, indicating a diverse range of shipping needs. Notable routes include shipments between Laredo, TX, and Toluca, MX, spanning 1,767 miles, showcasing significant cross-border transportation. Moreover, local routes like Toluca to Cuautitlan Izcalli, covering just 55 miles, demonstrate consistent and frequent shipping activity. Carriers such as EXPRESS NACIONAL DE CARGA SA DE CV and TRANSPORTES MON-RO SA DE CV play crucial roles in facilitating these shipments. Additionally, the variation in freight costs across routes suggests differing cost dynamics influenced by factors like distance and shipping demand.

df_tl<-tl%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(across(c(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles)))%>%summarise(Count=n(),Freight.Cost=sum(Freight.Cost),.groups='drop')%>%arrange(desc(Count),.by_group=TRUE)%>%select(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles,Count,Freight.Cost)
df_tl<-head(df_tl,10)
kable(df_tl,caption='Top 10 Logistic Routes and Counts for TL')
Top 10 Logistic Routes and Counts for TL
Shipper.City Shipper.State Receiver.City Receiver.State Carrier.Name Miles Count Freight.Cost
TOLUCA MX CUAUTITLAN IZCALLI MX EXPRESS NACIONAL DE CARGA SA DE CV 55 698 431048.64
LAREDO TX TOLUCA MX TRANSPORTES MON-RO SA DE CV 1767 381 656417.05
VERACRUZ VL VERACRUZ VL DSV AIR & SEA SA DE CV 1 362 86732.60
TOLUCA MX SAN LUIS POTOSI SL EXPRESS NACIONAL DE CARGA SA DE CV 2217 323 388061.00
TOLUCA DE LERDO MX TOLUCA MX DICEX LOGISTICA S A DE C V 338 192 23518.28
TOLUCA DE LERDO MX TOLUCA MX EXPRESS NACIONAL DE CARGA SA DE CV 338 161 220132.47
ATIZAPAN DE ZARAGOZA MX TOLUCA MX NUBARY LOGISTICS S DE RL 2492 151 187760.79
VERACRUZ VL TOLUCA MX DICEX LOGISTICA S A DE C V 2418 123 294199.33
SILAO GJ TOLUCA MX NUBARY LOGISTICS S DE RL 2348 94 156120.87
TOLUCA MX VANCE AL UNLIMITED LOGISTICS LLC 849 93 528655.10

Less than Truckload (LTL)

The top 10 logistic routes for LTL transportation in 2023 provide insights into key shipping corridors, particularly between various locations in the United States and Laredo, TX. PROTRANS INTERNATIONAL INC. emerges as a dominant carrier, handling the majority of these routes. Noteworthy routes include shipments from El Paso, TX, to Laredo, TX, covering 604 miles, and Elmhurst, IL, to Laredo, TX, spanning 1,344 miles. These routes showcase both short-haul and mid-range distances, indicating diverse shipping needs. The consistent involvement of PROTRANS INTERNATIONAL INC. across these routes underscores its significant role in facilitating LTL shipments.

df_ltl<-ltl%>%filter(Carrier.Name!='CARRIER NOT FOUND')%>%group_by(across(c(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles)))%>%summarise(Count=n(),Freight.Cost=sum(Freight.Cost),.groups='drop')%>%arrange(desc(Count),.by_group=TRUE)%>%select(Shipper.City,Shipper.State,Receiver.City,Receiver.State,Carrier.Name,Miles,Count,Freight.Cost)
df_ltl<-head(df_ltl,10)
kable(df_ltl,caption='Top 10 Logistic Routes and Counts for LTL')
Top 10 Logistic Routes and Counts for LTL
Shipper.City Shipper.State Receiver.City Receiver.State Carrier.Name Miles Count Freight.Cost
EL PASO TX LAREDO TX PROTRANS INTERNATIONAL INC 604 75 8047.15
ELMHURST IL LAREDO TX PROTRANS INTERNATIONAL INC 1344 48 5441.15
HOUSTON TX LAREDO TX PROTRANS INTERNATIONAL INC 352 48 6749.34
KITCHENER ON LAREDO TX PROTRANS INTERNATIONAL INC 1727 47 10898.30
MISSISSAUGA ON LAREDO TX PROTRANS INTERNATIONAL INC 1763 47 11687.53
HOLLAND MI LAREDO TX PROTRANS INTERNATIONAL INC 1467 45 5818.78
GOSHEN IN LAREDO TX PROTRANS INTERNATIONAL INC 1412 44 6997.50
MCALLEN TX LAREDO TX PROTRANS INTERNATIONAL INC 144 42 4114.53
LAKE ZURICH IL LAREDO TX PROTRANS INTERNATIONAL INC 1361 41 7273.19
DURHAM NC LAREDO TX PROTRANS INTERNATIONAL INC 1482 40 11541.53

Main findings

The comprehensive analysis of the International Automotive Components (IAC) plant in Toluca, Mexico, for 2023 reveals pivotal insights essential for operational enhancement:

  1. Monthly Shipment Patterns:
    • Noteworthy variations in monthly shipment patterns, with a substantial surge in March, indicating potential seasonality or heightened demand during that month. Key figures: March - 31 loads, May - 33 loads.
  2. Distribution of Distances and Carriers:
    • Optimization opportunities identified in distance distribution, especially for shorter routes. Focus on negotiating favorable rates with primary carriers like “DSV AIR & SEA SA DE CV” for efficiency. Key distances: Ocean - Ipolytolgyes, Hungary, to Toluca, Mexico, 5,261 miles. TL - Laredo, TX, to Toluca, MX, 1,767 miles. LTL - Elmhurst, IL, to Laredo, TX, 1,344 miles.
  3. Weight and Volume of Loads:
    • Emphasis on real-time monitoring technologies for precise load management. Top carriers by volume: Ocean - “DSV AIR & SEA SA DE CV” - 316,529 kg. TL - “EXPRESS NACIONAL DE CARGA SA DE CV” - 3,381,583 kg. LTL - “PROTRANS INTERNATIONAL INC” - 316,766.3 kg.
  4. Cost Analysis:
    • Strategic cost analysis recommended. Focus on cost reduction while ensuring service quality. Key insights: TL costs peak in January - 14,565 USD, stabilize in March - 13,000 USD, drop to 1,000 USD in May. LTL costs peak in November - 1,900 USD, stabilize around 500 USD. Ocean costs exhibit temporal trends: July - 4,000 USD to 5,500 USD, August to December - 5,500 USD to 8,500 USD.

These critical findings underscore the importance of addressing specific areas such as route optimization, negotiation strategies with carriers, implementation of monitoring technologies, and nuanced cost management for significant operational improvements at the IAC plant in Toluca.