Skip to content

Commit

Permalink
Adding datapaths as entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Jung committed Dec 5, 2024
1 parent 4d1c830 commit 46b7421
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Config/testthat/edition: 3
LazyData: true
24 changes: 24 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#' Table with default paths to commonly used spatial input files
#'
#' @description
#' This dataset contains path names to commonly-used spatial data files. Given that
#' those files are usually quite large, we here only describe where to find them internally
#' and not upload the data itself.
#' Medium-long-term this could be improved by relying on github LFS systems or our own gitlab
#' instance.
#'
#' @details
#' The file has the following columns:
#'
#' [*] 'drive': The path to drive where the data is stored (Default: \code{'P:/bnr/'}). Can be system dependent (Windows/Linux).
#' [*] 'access': A non-structured field containing the list of people that have access (for example \code{'IBF'} or \code{'bnr'}).
#' [*] 'group': A field entry describing to what this file belongs to (i.e. \code{"EPIC"}).
#' [*] 'filename': The actual filename
#'
#' @note
#' To update or overwrite, load the file and update, then apply
#' \code{usethis::use_data(bnr_datapaths, overwrite = TRUE) }.
#'
#' @format A [data.frame] containing paths to key spatial data sources.
#' @source Manually updated and curated by BNR researchers
"bnr_datapaths"
Binary file added data/bnr_datapaths.rda
Binary file not shown.
35 changes: 35 additions & 0 deletions man/bnr_datapaths.Rd

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

0 comments on commit 46b7421

Please sign in to comment.