Skip to content

Commit

Permalink
Updates to documentation and removed commented code I made trying to …
Browse files Browse the repository at this point in the history
…fix an issue
  • Loading branch information
DylanCarbone committed Jan 25, 2024
1 parent da2058e commit 3a8ed6e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ Suggests:
R2jags
VignetteBuilder: knitr
LazyData: TRUE
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
Encoding: UTF-8
4 changes: 0 additions & 4 deletions R/formatOccData.r
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,11 @@ formatOccData <- function(taxa, site, survey, replicate = NULL, closure_period =
warning(paste(as.numeric(table(temp$ns >1)[2]), 'survey identities appear in multiple closure periods'))
}

#print(min(as.numeric(format(taxa_data$survey, format = '%Y'))))

# taxa_data$TP = taxa_data$TP + min(as.numeric(format(taxa_data$survey,'%Y')))
} else {
# we need to create the TP from the survey date.
# survey should be a date if we've got this far, so extract the year
taxa_data$TP <- as.numeric(format(taxa_data$survey, format = '%Y')) # take year from date year

print(taxa_data$TP)
}

# remove duplicates (in order that List Length is correctly calculated)
Expand Down
3 changes: 3 additions & 0 deletions man/formatOccData.Rd

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

15 changes: 15 additions & 0 deletions man/gridref_regions.Rd

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

4 changes: 2 additions & 2 deletions man/occurrenceChange.Rd

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

0 comments on commit 3a8ed6e

Please sign in to comment.