-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from sebpardo/master
Update internal taxonomy file to reflect 2019 Taxonomy update
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
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,8 +1,14 @@ | ||
# eBird taxonomy to look up species codes | ||
# | ||
# This creates the internal taxonomy data frame used by rebird, which | ||
# is stored ind 'R/sysdata.rda'. We update the package in CRAN when | ||
# the eBird taxonomy update is completed, but in the event you need | ||
# to update the taxonomy yourself you can do so by running the code below. | ||
|
||
library(dplyr) | ||
|
||
tax <- rebird::ebirdtaxonomy(cat = c("domestic", "form", "hybrid", | ||
"intergrade", "issf", "slash", "species", "spuh")) %>% | ||
tbl_df() | ||
|
||
devtools::use_data(tax, overwrite = TRUE, internal = TRUE) | ||
usethis::use_data(tax, overwrite = TRUE, internal = TRUE) |