Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in an observation of whole plant vegetative phenology #28

Open
Rekyt opened this issue Nov 24, 2021 · 0 comments
Open

Error in an observation of whole plant vegetative phenology #28

Rekyt opened this issue Nov 24, 2021 · 0 comments

Comments

@Rekyt
Copy link
Contributor

Rekyt commented Nov 24, 2021

While playing around with publicly available BIEN traits I found an error in one observation of the trait "whole plant vegetative phenology" here is the reprex:

library("dplyr")
#> 
#> Attachement du package : 'dplyr'
#> Les objets suivants sont masqués depuis 'package:stats':
#> 
#>     filter, lag
#> Les objets suivants sont masqués depuis 'package:base':
#> 
#>     intersect, setdiff, setequal, union

# Weird value 'evergreenergreen'
BIEN::BIEN_trait_trait("whole plant vegetative phenology") %>%
  count(trait_value)
#>                       trait_value    n
#> 1                       deciduous 1244
#> 2                       evergreen 5419
#> 3                evergreenergreen    1
#> 4 variable or conflicting reports   42

# Precise record with this issue
BIEN:::.BIEN_sql(
  "SELECT scrubbed_species_binomial, trait_name, trait_value, id FROM agg_traits
  WHERE trait_name='whole plant vegetative phenology' AND id='3900233'")
#>   scrubbed_species_binomial                       trait_name      trait_value
#> 1         Pinus douglasiana whole plant vegetative phenology evergreenergreen
#>        id
#> 1 3900233

Created on 2021-11-24 by the reprex package (v2.0.1)

Maybe you can correct this in a future BIEN release ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant