House Sparrow / Spanish Sparrow observations from Seville (2020-2021).
Files live in inst/extdata/ of the git repository and are not
installed with the package. The first call copies a checkout copy if
present, otherwise downloads once from the v0.2.0-beta tag into the
user cache (tools::R_user_dir("obsR", "cache")).
Usage
obs_example_db(locale = c("en", "es"))Details
locale selects which export file to use: English or Spanish catalog
labels inside the database. Output labels still follow locale in
obs_read(), not the file language. Observer ids and names are one-way
anonymised; see obs_anonymise().
Examples
db <- obs_example_db()
obs_read(db, species = "Passer domesticus")
#> <obs_df> with 1113 observations from obsR_example_8afed291142.sqlite [en]
#> Dates: 2020-01-01 / 2021-01-01
#> Species: 2
#> Multiple observations: 13
#> Validation: accepted (automatic validation) (729), unknown (372), accepted
#> (with evidence) (11), cannot be validated (yet) (1)
#> # A tibble: 1,113 × 7
#> date scientific_name validation sex is_multiple lat lng
#> <date> <chr> <chr> <chr> <lgl> <dbl> <dbl>
#> 1 2020-01-01 Passer domesticus unknown Unsp… FALSE 37.5 -5.64
#> 2 2020-01-01 Passer domesticus accepted (automati… Unsp… FALSE 37.4 -6.00
#> 3 2020-01-01 Passer domesticus unknown Unsp… FALSE 37.6 -6.43
#> 4 2020-01-01 Passer domesticus unknown Unsp… FALSE 37.6 -6.51
#> 5 2020-01-01 Passer domesticus unknown Unsp… FALSE 37.7 -6.43
#> 6 2020-01-01 Passer domesticus unknown Unsp… FALSE 37.3 -6.01
#> # ℹ 1,107 more rows