Reproducible Data Science in R: Writing Better Functions

talk
data science
Author

Dr. Joscelin Rocha-Hidalgo

Published

February 20, 2025

Buy me a coffeeBuy me a coffee


By Anthony Martinez and Elise Hinman

This article explores best practices for writing clear and efficient functions in R. It covers function names, arguments, return values, and documentation, using examples from the dataRetrieval package to improve code structure and reusability.

  1. Link to article here: https://waterdata.usgs.gov/blog/rds-better-functions/

Back to top