codes2names | R Documentation |
The function gives for the numeric codes for circumstances, condition and species the interpretable string name as given in the EURING code. The alphabetic scheme code is transformed into the town and country name of the scheme.
codes2names(x, variable = "circumstances", type="euring")
x |
variable circumstances, condition, species or scheme from the output of |
variable |
character that declares the name of the variable x, should be one of c("circumstances" [default], "conditions", "schemes", "species"). |
type |
character that declares which names should be used, the one defined in the EURING manual, "euring" (default), or the ones used in the BTO ringing reports, "bto", (http://www.bto.org/volunteer-surveys/ringing/publications/online-ringing-reports). |
a factor with levels corresponding to the names of the EURING code
F. Korner-Nievergelt
http://www.euring.org/data_and_codes/euring_code_list/index.html
scheme2country
# circumstances
examplecode <- c(20, 21, 35, 80)
codes2names(examplecode)
# conditions
examplecodes <- c(0:9)
codes2names(examplecodes, variable="conditions")
# schemes
codes2names("BGS", variable="schemes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.