Authors: Sun, Y; Kalm, H; Hsiao, E; Crouse, PE

Open access courtesy of:


Cite As:
Sun, Y, Kalm, H, Hsiao, E & Crouse, PE 2023, 'The use of R programming languages for geotechnical data processing and visualization: Techniques to manage geotechnical data for a post-closure tailings storage facility', in B Abbasi, J Parshley, A Fourie & M Tibbett (eds), Mine Closure 2023: Proceedings of the 16th International Conference on Mine Closure, Australian Centre for Geomechanics, Perth,

Download citation as:   ris   bibtex   endnote   text   Zotero

Mine closure requires regular updates of the site-specific knowledge base of the facility. Effective processing and visualization of the data acquired in tailings storage facilities (TSF) are vital in mine closure data management to ensure that all relevant information is evaluated. Digital geotechnical data can be stored and presented in systems such as Geographical Information Systems (GIS). Although GIS is a powerful tool for record keeping and spatial data visualization, it usually requires significant initial efforts to integrate the data into GIS. This study presents an alternative technique using R language to sort and present the digital data. A hypothetical TSF will be used to demonstrate the workflow that includes specifying the suitable data formats, pre-processing the data to check for inconsistencies, loading the data into the R scripts, extracting the relevant data columns for the desired calculations, performing the calculations, interpreting the results, and exporting the results. R language has a comprehensive library that provides a wide selection of statistics and graphics packages that makes the data analysis and visualization flexible. For the data visualization, this study will demonstrate several examples to display the geotechnical data in a one-dimensional drilling log that documented soil properties at one spot, a two-dimensional subsurface cross-section can be used to delineate subsurface layering, and a three-dimensional model that can be used to identify potential areas of concern. The choice of data processing and visualization techniques will depend on the specific geotechnical data being analyzed and the questions being asked. It is often useful to use a combination of techniques to get a comprehensive understanding of the subsurface conditions at a site. The techniques discussed in this study have been demonstrated to be a process that is flexible to expand and apply to knowledge bases of other mine closure disciplines.

Keywords: geotech data analysis; data visualization; mine closure knowledge base; CPT data processing

Ankit, R. 2022, ‘WebPlotDigitizer Version 4.6’, California, USA, , Pacifica.
Deaton, S. L. 2018, ‘What are the benefits of geotechnical data interchange’, 69th Highway Geology Symposium.
Microsoft Corporation, 2018. ‘Microsoft Excel’, Retrieved from
Jaksa, M.; Liu, Z. 2021, ‘Editorial for Special Issue Applications of Artificial Intelligence and Machine Learning in Geotechnical Engineering’, Geosciences, vol. 11, iss. 10, pp. 399.
ICMM, 2019. Integrated Mine Closure Good Practice Guide, 2nd Edition.
Ligges, U.; Mächler, M. 2003, ‘Scatterplot3d - an R Package for Visualizing Multivariate Data’, Journal of Statistical Software, 8(11), 1–20.
Ooms, J. 2023, ‘tesseract: Open Source OCR Engine’, .
Player, R.S.V 2006, ‘Geographic Information System (GIS) Use in Geotechnical Engineering’, American Society of Civil Engineers, Reston, VA, USA.
R Core Team, 2021. ‘R: A language and environment for statistical computing’, R Foundation for Statistical Computing, Vienna, Austria.
Singh, A.; Noor, S.; Chitra, R.; Gupta, M 2018, ‘Applications of GIS in Geotechnical Engineering: Some Case Studies’, Int. J. Sci. Eng. Sci., vol.2, pp. 34–38.
Sievert, C 2020, ‘Interactive Web-Based Data Visualization with R, plotly, and shiny’, Chapman and Hall/CRC, ISBN 9781138331457, .
Wickham, H. 2016, ‘ggplot2: Elegant Graphics for Data Analysis’, Springer-Verlag New York, ISBN 978-3-319-24277-4, .
Wickham, H.; Averick, M.; Bryan, J.; Chang, W.; McGowan, LD.; François, R.; Grolemund, G.; Hayes, A.; Henry, L.; Hester, J.; Kuhn, M.; Pedersen, TL.; Miller, E.; Bache, SM.; Müller, K.; Ooms, J.; Robinson, D.; Seidel, DP.; Spinu, V.; Takahashi, K.; Vaughan, D.; Wilke, C.; Woo, K.; Yutani, H. 2019, ‘Welcome to the tidyverse’, Journal of Open Source Software, 4(43), 1686.
Wickham, H. 2022, ‘stringr: Simple, Consistent Wrappers for Common String Operations’, , .

© Copyright 2024, Australian Centre for Geomechanics (ACG), The University of Western Australia. All rights reserved.
View copyright/legal information
Please direct any queries or error reports to