Skip to content

Commit

Permalink
improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
NewGraphEnvironment committed Jun 16, 2024
1 parent 204f265 commit 22436b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 6 additions & 2 deletions R/fpr_sp_assign_sf_from_utm.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
#' easting and northing from a NAD 83 UTM Zone coordinate systems. It prepares a spatial data frame
#' by grouping based on a specified column (UTM zone), converting to a spatial data frame, transforming
#' the coordinate reference system, and then binding the rows back together. The returned dataframe
#' must be in a Geographic Coordinate System (BC Albers or vs a Spatial coordinate system like UTM.
#' must be in a Geographic Coordinate System (ex. BC Albers or WSG84 vs a Spatial coordinate system like UTM.).
#'
#' The reason the returned dataframe must be in a Geographic Coordinate System is to avoid issues when
#' input points are located in different spatial zones.
#'
#' @param dat A data frame.
#' @param col_utm_zone The name of the column to group by. Default is "utm_zone".
#' @param col_easting The name of the easting coordinate column. Default is "easting".
#' @param col_northing The name of the northing coordinate column. Default is "northing".
#' @param crs_return Numeric. The EPSG code to transform the coordinate reference system to. Must be Geographic (ex. Albers or WSG84). Default is BC Albers - 3005.
#' @param crs_return Numeric. The EPSG code to transform the coordinate reference system to. Must be Geographic
#' (ex. Albers - 3005 or WSG84 - 4326). Default is BC Albers.
#' @return A spatial data frame.
#' @importFrom dplyr group_split bind_rows arrange
#' @importFrom purrr map
Expand Down
9 changes: 7 additions & 2 deletions man/fpr_sp_assign_sf_from_utm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22436b6

Please sign in to comment.