File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,9 @@ infinity_server <- function(...) {
210210 collections_count <- nrow(collections )
211211 collections_species <- length(unique(collections $ Species ))
212212
213- photographic <- data [data $ `Voucher Type` == " Photograph" , ]
214- photographic_count <- nrow(photographic )
215- photographic_species <- length(unique(photographic $ Species ))
213+ photographic_or_audio <- data [data $ `Voucher Type` %in% c( " Photograph" , " Audio " ) , ]
214+ photographic_or_audio_count <- nrow(photographic_or_audio )
215+ photographic_or_audio_species <- length(unique(photographic_or_audio $ Species ))
216216
217217
218218 paste0(
@@ -228,9 +228,9 @@ infinity_server <- function(...) {
228228 " collections of " ,
229229 collections_species ,
230230 " species and " ,
231- photographic_count ,
231+ photographic_or_audio_count ,
232232 " photographic or audio records of " ,
233- photographic_species ,
233+ photographic_or_audio_species ,
234234 " species. Of the " ,
235235 total_species ,
236236 " species observed, " ,
You can’t perform that action at this time.
0 commit comments