Skip to content

Commit

Permalink
Merge pull request #57 from inbo/51-modify-reference-page-to-group-fu…
Browse files Browse the repository at this point in the history
…nctions-by-family

51 modify reference page to group functions by family
  • Loading branch information
SanderDevisscher authored Aug 8, 2024
2 parents 8b1ed36 + 020a7e0 commit e80e1f5
Show file tree
Hide file tree
Showing 38 changed files with 231 additions and 26 deletions.
2 changes: 2 additions & 0 deletions R/CRS_extracter.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#'
#' @return A CRS object
#'
#' @family spatial
#'
#' @examples
#' \dontrun{
#' # Example of how to use the CRS_extracter function
Expand Down
2 changes: 2 additions & 0 deletions R/apply_grtsdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#'
#' @export
#'
#' @family spatial
#'
#' @examples
#' \dontrun{
#' # Preparation
Expand Down
1 change: 1 addition & 0 deletions R/boswachterijen.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
#' \item{telefoon}{Telefoon nr van de boswachter}
#' ...
#' }
#' @family dataset
#' @source <https://www.who.int/teams/global-tuberculosis-programme/data>
"boswachterijen"
2 changes: 2 additions & 0 deletions R/calculate_polygon_centroid.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#'
#' @return A data frame with the unique identifier, latitude, longitude and uncertainty of the centroid
#'
#' @family spatial
#'
#' @examples
#' \dontrun{
#' # Example of how to use the calculate_polygon_centroid function
Expand Down
2 changes: 2 additions & 0 deletions R/col_content_compare.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#' @param df2 A data frame
#' @param col2 A column name of df2
#'
#' @family dataframe_comparison
#'
#' @return A list of values missing from the first column, missing from the second column,
#' and the values that are in both columns.
#'
Expand Down
2 changes: 2 additions & 0 deletions R/colcompare.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#' a list of columns present in x but not in y and a list of columns
#' present in y and not in x.
#'
#' @family dataframe_comparison
#'
#' @examples
#' \dontrun{
#' # create example dataframes
Expand Down
2 changes: 2 additions & 0 deletions R/collect_osm_features.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#' osm_polygons, osm_lines, osm_points. Each sf data frame contains the
#' corresponding geometry types.
#'
#' @family spatial
#'
#' @details
#' dplyr and osmdata are automatically installed when missing from your system.
#'
Expand Down
2 changes: 2 additions & 0 deletions R/download_dep_media.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#' If you are getting an Authorization Error (#403), this probably means your Agouti project has Restrict Images on. This needs to be turned off.
#' If depID = "all" and favorite = TRUE, the function will download all favorited pictures in the whole dataset.
#'
#' @family download
#'
#' @returns Downloads the specified media files into the outputfolder
#'
#' @examples
Expand Down
2 changes: 2 additions & 0 deletions R/download_gdrive_if_missing.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#' @returns If the destination file was missing it is downloaded from the
#' googledrive.
#'
#' @family download
#'
#' @examples
#' \dontrun{
#' # download newest version of the team charter
Expand Down
2 changes: 2 additions & 0 deletions R/download_seq_media.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#' @details
#' If you are getting an Authorization Error (#403), this probably means your Agouti project has Restrict Images on. This needs to be turned off.
#'
#' @family download
#'
#' @returns Downloads the specified media files into the outputfolder
#'
#' @examples
Expand Down
3 changes: 3 additions & 0 deletions R/drg_example.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
#' \item{observations}{Observaties van de geselecteerde deployments}
#' \item{media}{Lijst van media-urls van de geselecteerde deployments}
#' }
#'
#' @family dataset
#'
#' @source <https://www.agouti.eu>
"drg_example"
3 changes: 3 additions & 0 deletions R/lib_crs.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
#' \item{Proj4s}{Javascript Object Notation (JSON) of the CRS}
#' \item{ESPG}{EPSG code of the CRS}
#' }
#'
#' @family library
#'
#' @source WGS <https://epsg.io/4326>
#' @source BEL72 <https://epsg.io/31300>
"lib_crs"
27 changes: 27 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pandoc: 2.9.2.1
pkgdown: 2.1.0
pkgdown_sha: ~
last_built: 2024-07-31T18:46Z

reference:
- title: Spatial functions
contents:
- has_concept("spatial")
- title: Dataframe comparison functions
contents:
- has_concept("dataframe_comparison")
- title: Download functions
contents:
- has_concept("download")
- title: Datasets
contents:
- has_concept("dataset")
- title: Libraries
contents:
- has_concept("library")
- title: Other functions
contents:
- lacks_concepts(c("spatial", "dataframe_comparison", "dataset", "library", "download"))

build:
without_rdb: true
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pandoc: 2.9.2.1
pkgdown: 2.1.0
pkgdown_sha: ~
articles: {}
last_built: 2024-08-06T14:20Z
last_built: 2024-08-07T11:00Z
7 changes: 7 additions & 0 deletions docs/reference/CRS_extracter.html

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

7 changes: 7 additions & 0 deletions docs/reference/apply_grtsdb.html

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

5 changes: 5 additions & 0 deletions docs/reference/boswachterijen.html

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

7 changes: 7 additions & 0 deletions docs/reference/calculate_polygon_centroid.html

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

5 changes: 5 additions & 0 deletions docs/reference/col_content_compare.html

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

5 changes: 5 additions & 0 deletions docs/reference/colcompare.html

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

7 changes: 7 additions & 0 deletions docs/reference/collect_osm_features.html

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

6 changes: 6 additions & 0 deletions docs/reference/download_dep_media.html

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

6 changes: 6 additions & 0 deletions docs/reference/download_gdrive_if_missing.html

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

6 changes: 6 additions & 0 deletions docs/reference/download_seq_media.html

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

5 changes: 5 additions & 0 deletions docs/reference/drg_example.html

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

Loading

0 comments on commit e80e1f5

Please sign in to comment.