R/get_lon_from_data.R

Defines functions get_lon_from_data

Documented in get_lon_from_data

#' Get the longitude coordinate from the data
#'
#' @param datafile TODO
#'
#' @return
#' @export
#'
#' @examples # TODO
get_lon_from_data <- function(datafile) {
  return(stats::na.omit(as.numeric(unique(t(datafile[5,2:ncol(datafile)])))))
}
IDEMSInternational/RInstatClimatic documentation built on June 30, 2023, 7:40 p.m.