-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hake): Adds data object for Big hake
called hake. The data was added programatically using usethis, which is now included as a suggested dependency.
- Loading branch information
1 parent
1641eba
commit 8004682
Showing
7 changed files
with
264,820 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
^\.Rproj\.user$ | ||
^\.github$ | ||
^LICENSE\.md$ | ||
^data-raw$ |
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 |
---|---|---|
|
@@ -29,5 +29,7 @@ Imports: | |
stringr, | ||
tidyr, | ||
utils | ||
Suggests: | ||
usethis | ||
Remotes: | ||
nmfs-fish-tools/nmfspalette |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#' Example `dat` object using Big Hake | ||
#' | ||
#' A subset of data from the World Health Organization Global Tuberculosis | ||
#' Report ... | ||
#' | ||
#' @format ## `who` | ||
#' A data frame with 26,4713 rows and 31 columns: | ||
#' \describe{ | ||
#' \item{label} {} | ||
#' \item{estimate} {} | ||
#' \item{year} {} | ||
#' \item{fleet} {} | ||
#' \item{sex} {} | ||
#' \item{area} {} | ||
#' \item{growth_pattern} {} | ||
#' \item{module_name} {} | ||
#' \item{uncertainty_label} {} | ||
#' \item{uncertainty} {} | ||
#' \item{time} {} | ||
#' \item{season} {} | ||
#' \item{subseason} {} | ||
#' \item{age} {} | ||
#' \item{len_bins} {} | ||
#' \item{initial} {} | ||
#' \item{likelihood} {} | ||
#' \item{gradient} {} | ||
#' \item{estimated} {} | ||
#' \item{bio_pattern} {} | ||
#' \item{birthseas} {} | ||
#' \item{settlement} {} | ||
#' \item{morph} {} | ||
#' \item{type} {} | ||
#' \item{factor} {} | ||
#' \item{platoon} {} | ||
#' \item{month} {} | ||
#' \item{sexes} {} | ||
#' \item{part} {} | ||
#' \item{bin} {} | ||
#' \item{kind} {} | ||
#' } | ||
#' @source <https://www.who.int/teams/global-tuberculosis-programme/data> | ||
"hake" |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Big_Hake_std_res_2023.csv was downloaded from google drive | ||
# and moved to the repository data-raw folder | ||
hake <- utils::read.csv( | ||
file.path("data-raw", "hake.csv") | ||
) | ||
|
||
usethis::use_data(hake, overwrite = TRUE) |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.