PageRenderTime 25ms CodeModel.GetById 24ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/man/fb_diet.Rd

http://fb-scraping-project.googlecode.com/
Unknown | 39 lines | 39 code | 0 blank | 0 comment | 0 complexity | db0a1d0f09e1046624cfcdf081c438ae MD5 | raw file
 1\name{fb_diet}
 2\alias{fb_diet}
 3\title{
 4Parse the data on Diet from fishbase Diet page, when available.
 5}
 6\description{
 7Download, as a table, the data on Diet. Read the HTMLwebpage, recognize the table and transform it into a Data.Frame object.
 8}
 9\usage{
10fb_diet(idFB, StockCode, Genus, Species, server)
11}
12\arguments{
13  \item{idFB}{
14FishBase id of the specie to download the data
15}
16  \item{StockCode}{
17FishBase StockCode of the specie to download the data
18}
19  \item{Genus}{
20Genus part of the scientific specific name to download the data
21}
22  \item{Species}{
23Species part of the scientific specific name to download the data
24}
25  \item{server}{
26Optional, set up the desired (closer, faster) FishBase server
27}
28}
29\details{
30idFB and Stock code are required, if are not available, it is possible to use Genus and Species. In the case when Genus and Species is used, the function will invoque \link{fb_ids} to obtain idFB and StockCode.
31}
32\seealso{
33  \code{\link{fb_ids}}
34}
35\examples{
36fb_diet(idFB = 368, StockCode=314, server = "http://www.fishbase.de")
37}
38\keyword{FishBase}
39\keyword{Diet}