diff --git a/DESCRIPTION b/DESCRIPTION index b464bca..3322540 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -52,7 +52,10 @@ Imports: jsonlite, here, tibble, - tidyselect + tidyselect, + glue, + sp, + withr RoxygenNote: 7.3.1 Suggests: knitr, diff --git a/R/geography.R b/R/geography.R index 3e63938..767670d 100644 --- a/R/geography.R +++ b/R/geography.R @@ -362,6 +362,7 @@ fuzz_location <- function(lat, #' @param ZoneCol - The column containing the UTM zone, with or without quotations. #' @param DatumCol - The column containing the datum for your UTM coordinates, #' with or without quotations. +#' @param latlong_datum - The datum to use for lat/long coordinates. Defaults to NAD83. #' #' @return The function returns your dataframe, mutated with an additional two #' columns of decimalLongitude and decimalLatitude plus a column LatLong_CRS containing diff --git a/R/utils.R b/R/utils.R index 2ecc8c3..33660d8 100644 --- a/R/utils.R +++ b/R/utils.R @@ -35,4 +35,8 @@ globalVariables(c("any_of", "y", "capture.output", "title", - "% Accepted")) \ No newline at end of file + "% Accepted", + "_UTMJOINCOL", + "decimalLatitude", + "decimalLongitude", + "LatLong_CRS")) \ No newline at end of file diff --git a/man/QCkit-package.Rd b/man/QCkit-package.Rd index 8d4991a..67d4e4b 100644 --- a/man/QCkit-package.Rd +++ b/man/QCkit-package.Rd @@ -28,7 +28,7 @@ Authors: Other contributors: \itemize{ - \item Sarah Kelson [contributor] + \item Sarah Kelso (\href{https://orcid.org/0009-0002-8468-6945}{ORCID}) [contributor] \item Amy Sherman (\href{https://orcid.org/0000-0002-9276-0087}{ORCID}) [contributor] } diff --git a/man/generate_ll_from_utm.Rd b/man/generate_ll_from_utm.Rd index daa6726..368c3e1 100644 --- a/man/generate_ll_from_utm.Rd +++ b/man/generate_ll_from_utm.Rd @@ -37,6 +37,10 @@ with or without quotations, ie. NorthingCol and "NorthingCol" are both valid. \item The column containing the datum for your UTM coordinates, with or without quotations. }} + +\item{latlong_datum}{\itemize{ +\item The datum to use for lat/long coordinates. Defaults to NAD83. +}} } \value{ The function returns your dataframe, mutated with an additional two