Get the page name for a Wiki taxon
Get the page name for a Wiki taxon
get_wiki( sci_com, wiki_site = "species", wiki = "en", ask = TRUE, messages = TRUE, limit = 100, rows = NA, x = NULL, ... ) as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'wiki' as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'character' as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'list' as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'numeric' as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'data.frame' as.wiki(x, check = TRUE, wiki_site = "species", wiki = "en") ## S3 method for class 'wiki' as.data.frame(x, ...) get_wiki_( x, messages = TRUE, wiki_site = "species", wiki = "en", limit = 100, rows = NA, ... )
sci_com |
(character) A vector of common or scientific names. Or, a
|
wiki_site |
(character) Wiki site. One of species (default), pedia, commons |
wiki |
(character) language. Default: en |
ask |
logical; should get_wiki be run in interactive mode?
If |
messages |
logical; should progress be printed? |
limit |
(integer) number of records to return |
rows |
numeric; Any number from 1 to infinity. If the default NA, all
rows are considered. Note that this function still only gives back a wiki
class object with one to many identifiers. See |
x |
For |
... |
Ignored |
check |
logical; Check if ID matches any existing on the DB, only
used in |
For wiki_site = "pedia" , we use the english language site by
default. Set the wiki parameter for a different language site.
A vector of taxonomic identifiers as an S3 class.
If a taxon is not found an NA is given. If more than one identifier
is found the function asks for user input if ask = TRUE, otherwise
returns NA. If ask=FALSE and rows does not equal
NA, then a data.frame is given back, but not of the uid class, which
you can't pass on to other functions as you normally can.
See get_id_details for further details including
attributes and exceptions
Other taxonomic-ids:
get_boldid(),
get_eolid(),
get_gbifid(),
get_ids(),
get_iucn(),
get_natservid(),
get_nbnid(),
get_pow(),
get_tolid(),
get_tpsid(),
get_tsn(),
get_uid(),
get_wormsid()
## Not run:
get_wiki(sci_com = "Quercus douglasii")
get_wiki(sci_com = "Quercu")
get_wiki(sci_com = "Quercu", "pedia")
get_wiki(sci_com = "Quercu", "commons")
# diff. wikis with wikipedia
get_wiki("Malus domestica", "pedia")
get_wiki("Malus domestica", "pedia", "fr")
# as coercion
as.wiki("Malus_domestica")
as.wiki("Malus_domestica", wiki_site = "commons")
as.wiki("Malus_domestica", wiki_site = "pedia")
as.wiki("Malus_domestica", wiki_site = "pedia", wiki = "fr")
as.wiki("Malus_domestica", wiki_site = "pedia", wiki = "da")
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.