Hi all,
Since we standardize…well, everything, I was wondering if it may be useful to those who develop R packages to have a set of standard function parameter descriptions. For example, we all tend to pass in a connectionDetails object or a cdmDatabaseSchema or resultsDatabaseSchema to functions. When writing metadata in ROxygen, I just go and copy it from one of the existing OHDSI R packages.
For connectionDetails: “An R object of type \code{connectionDetails} created using the function \code{createConnectionDetails} in the \code{DatabaseConnector} package.”
Instead, perhaps frequently used function parameters can be displayed here: http://www.ohdsi.org/web/wiki/doku.php?id=development:ohdsi_documentation_guidelines. The benefit would be that the easier it is to write R function documentation, the more likely we all will do it.
Anyone agree?
Thanks,
Ajit