You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,13 @@
1
+
# QCkit v0.1.6
1
2
2024-03-07
2
3
* Update error warning in `check_te()` to not reference VPN since NPS no longer uses VPN.
4
+
* add private function `.get_unit_bondaries()`: hits ArcGIS API to pull more precise park unit boundaries than `get_park_polgyon()`
5
+
* add `validate_coord_list()` function that takes advantage of improved precision of `.get_unit_boundaries()` and is vectorized, enabling users to input multiple coordinate combinations and park units directly from a data frame.
3
6
4
7
# QCkit v0.1.5
5
8
2024-02-09
6
9
* This version adds the DRR template, example files, and associated documentation to the QCkit package.
7
-
* Bugfix in `get_custom_flag()`: it was counting both A (accepted) and AE (Accepted, estiamted) as Accepted. Fixed the regex such that it Accepted will include all cells that start with A followed by nothing or by any character except AE such that flags can have explanation codes added to them (e.g. A_jenkins if "Jenkins" flagged the data as accepted)
10
+
* Bugfix in `get_custom_flag()`: it was counting both A (accepted) and AE (Accepted, estimated) as Accepted. Fixed the regex such that it Accepted will include all cells that start with A followed by nothing or by any character except AE such that flags can have explanation codes added to them (e.g. A_jenkins if "Jenkins" flagged the data as accepted)
Copy file name to clipboardExpand all lines: R/geography.R
+34-23Lines changed: 34 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,15 @@
1
-
2
1
#' Test whether decimal GPS coordinates are inside a park unit
3
2
#'
4
-
#' This function can take a list of coordinates and park units as input. In addition to being vectorized, depending on the park borders, it can be a major improvement on `validate_coord()`. Known issues with this function include problems with overlapping unit boundaries. If two park unit boundaries overlap the function will through an error (e.g. Dry Tortugas National Park and Big Cypress National Preserve).
3
+
#' This function can take a list of coordinates and park units as input. In
4
+
#' adddition to being vectorized, depending on the park borders, it can be a
5
+
#' major improvement on `validate_coord()`.
5
6
#'
6
-
#' @param lat numeric. An individual or vector of numeric values representing the decimal degree latitude of a coordinate
7
-
#' @param lon numeric. An individual or vector of numeric values representing the decimal degree longitude of a coordinate
8
-
#' @param park_unit String. Or list of strings each containing the four letter park unit designation
7
+
#' @param lat numeric. An individual or vector of numeric values representing
8
+
#' the decimal degree latitude of a coordinate
9
+
#' @param lon numeric. An individual or vector of numeric values representing
10
+
#' the decimal degree longitude of a coordinate
11
+
#' @param park_unit String. Or list of strings each containing the four letter
0 commit comments