Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Rfunctions/traitmerge.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ lowest_name_and_subspecies <- function(.taxonomy_cols, .lowest_names) {
# must get the taxonomic traits -------------------------------------------

get_trait_spreadsheet <- function() {
post_editing <- gs_title("traits_for_editing_20-01-2017") %>%
gs_read_csv()

post_editing <- read_sheet("1db4g45Bg5HuPOWE0jiy5S8k7S_mEJjFbOUYzETBgMf4")

post_edit_no_dup <- post_editing %>%
select(-starts_with("reference"))
dplyr::select(-starts_with("reference"))

## check that no rows are duplicate
if( nrow(post_edit_no_dup %>% filter(duplicated(.))) > 0) stop("duplicates present")
Expand Down
2 changes: 1 addition & 1 deletion remake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ packages:
- prediction
- visdat
- fuzzyjoin
- googlesheets
- googlesheets4
- purrrlyr

sources:
Expand Down