bmaitner / RBIEN

Tools for accessing the Botanical Information and Ecology Network (BIEN) database
http://bien.nceas.ucsb.edu/bien/
Other
43 stars 10 forks source link

One trait name is capitalized in database #36

Open Rekyt opened 2 years ago

Rekyt commented 2 years ago

All the trait names in BIEN are in full lower-case. However, one has a capital letter "Leaf lamina fracture toughness". This is strange from a user perspective. And of course querying the non-capitalized version gives nothing back:

# Capitalized trait name
BIEN::BIEN_trait_traitbyspecies(
  "Anacardium excelsum", "Leaf lamina fracture toughness"
)
#>   scrubbed_species_binomial                     trait_name trait_value  unit
#> 1       Anacardium excelsum Leaf lamina fracture toughness        1345 J.m-2
#> 2       Anacardium excelsum Leaf lamina fracture toughness         628 J.m-2
#>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 method
#> 1 Leaf fracture toughness was measured with a pair of scissors (Dovo, Germany) to control and direct crack growth (Lucas & Pereira 1990). The scissors, with an included angle of 55° and a radius of curvature (sharpness) of 1.6 µm, were mounted on a portable universal testing machine (Darvell et al. 1996). We fractured leaves in a transverse cut perpendicular to the midrib. This method, described by Lucas et al. (2001), allows the toughness of individual anatomical features, such as the secondary veins and lamina, to be calculated from a single scissors pass.
#> 2 Leaf fracture toughness was measured with a pair of scissors (Dovo, Germany) to control and direct crack growth (Lucas & Pereira 1990). The scissors, with an included angle of 55° and a radius of curvature (sharpness) of 1.6 µm, were mounted on a portable universal testing machine (Darvell et al. 1996). We fractured leaves in a transverse cut perpendicular to the midrib. This method, described by Lucas et al. (2001), allows the toughness of individual anatomical features, such as the secondary veins and lamina, to be calculated from a single scissors pass.
#>   latitude longitude elevation_m
#> 1     9.15    -79.85          NA
#> 2     9.15    -79.85          NA
#>                                              url_source project_pi
#> 1 http://datadryad.org/resource/doi:10.5061/dryad.69ph0   Kraft TS
#> 2 http://datadryad.org/resource/doi:10.5061/dryad.69ph0   Kraft TS
#>             project_pi_contact access      id
#> 1 thomas.s.kraft@dartmouth.edu public 3754751
#> 2 thomas.s.kraft@dartmouth.edu public 3754752

# All lower-case trait name
BIEN::BIEN_trait_traitbyspecies(
  "Anacardium excelsum", "leaf lamina fracture toughness"
)
#>  [1] scrubbed_species_binomial trait_name               
#>  [3] trait_value               unit                     
#>  [5] method                    latitude                 
#>  [7] longitude                 elevation_m              
#>  [9] url_source                project_pi               
#> [11] project_pi_contact        access                   
#> [13] id                       
#> <0 lignes> (ou 'row.names' de longueur nulle)

Created on 2022-07-11 by the reprex package (v2.0.1)