-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
50 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
#' @keywords internal | ||
#' @title Creates summaries of the Portal data | ||
#' | ||
#' @description This package is designed to be an interface to the Portal data, which resides online at \url{https://github.com/weecology/portalData}. Its contains a set of functions to download, clean, and summarize the data. | ||
#' | ||
#' @name portalr | ||
#' @docType package | ||
#' @keywords package | ||
#' | ||
#' @importFrom lubridate "%m+%" | ||
#' @importFrom rlang "!!" "!!!" ":=" .data | ||
#' @importFrom utils head download.file read.csv unzip read.table tail | ||
#' @importFrom stats median na.omit | ||
#' @importFrom httr content GET stop_for_status | ||
|
||
NULL | ||
"_PACKAGE" | ||
|
||
## quiets concerns of R CMD check re: variables used in NSE functions | ||
if (getRversion() >= "2.15.1") utils::globalVariables( | ||
c(".", "n") | ||
) | ||
c(".", "n") | ||
) | ||
|
||
#' @title Return Citation for Portal Data | ||
#' | ||
#' @return An object of class "citation". For more details, see `citation()` | ||
#' @export | ||
get_dataset_citation <- function() | ||
{ | ||
path <- system.file("CITATION-PORTAL-DATA", | ||
package = "portalr", mustWork = TRUE) | ||
utils::readCitationFile(path) | ||
path <- system.file("CITATION-PORTAL-DATA", | ||
package = "portalr", mustWork = TRUE) | ||
utils::readCitationFile(path) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters