Summarize your eBird data into a life list or year list. Lists can be generated by country.

eb_lifelist(x, year, country)

Arguments

x

eb_sightings object; your personal eBird sightings

year

integer; year or vector of years to calculate list for.

country

character; countries to filter by. Countries can either be expressed as English names or ISO 2-letter country codes. English names are matched via regular expressions using countrycode, so there is some flexibility in names.

Value

A data frame (actually dplyr::tibble) of your list list.

Examples

f <- system.file("extdata/MyEBirdData.csv", package = "auklet") ebird_data <- eb_sightings(f) eb_lifelist(ebird_data)
#> # A tibble: 782 x 8 #> species_common species_scientific date country #> <chr> <chr> <date> <chr> #> 1 White-faced Whistling-Duck Dendrocygna viduata 2014-06-03 CO #> 2 Black-bellied Whistling-Duck Dendrocygna autumnalis 2014-05-27 CO #> 3 Greater White-fronted Goose Anser albifrons 2011-02-20 US #> 4 Snow Goose Chen caerulescens 2011-02-20 US #> 5 Ross's Goose Chen rossii 2011-02-20 US #> 6 Brant Branta bernicla 2011-02-21 US #> 7 Cackling Goose Branta hutchinsii 2012-01-21 CA #> 8 Canada Goose Branta canadensis 2008-05-23 CA #> 9 Mute Swan Cygnus olor 2008-04-05 CA #> 10 Trumpeter Swan Cygnus buccinator 2009-03-07 CA #> # ... with 772 more rows, and 4 more variables: state_province <chr>, #> # order <chr>, family <chr>, taxon_order <dbl>
# 2010 year list for canada eb_lifelist(ebird_data, year = 2010, country = "CA")
#> # A tibble: 167 x 8 #> species_common species_scientific date country state_province #> <chr> <chr> <date> <chr> <chr> #> 1 Canada Goose Branta canadensis 2010-05-01 CA ON #> 2 Mute Swan Cygnus olor 2010-05-02 CA ON #> 3 Trumpeter Swan Cygnus buccinator 2010-06-05 CA ON #> 4 Wood Duck Aix sponsa 2010-05-01 CA ON #> 5 Gadwall Anas strepera 2010-06-05 CA ON #> 6 American Wigeon Anas americana 2010-06-05 CA ON #> 7 American Black Duck Anas rubripes 2010-05-23 CA ON #> 8 Mallard Anas platyrhynchos 2010-05-01 CA ON #> 9 Blue-winged Teal Anas discors 2010-05-02 CA ON #> 10 Northern Shoveler Anas clypeata 2010-06-05 CA ON #> # ... with 157 more rows, and 3 more variables: order <chr>, family <chr>, #> # taxon_order <dbl>