File: utils-yahooKeystats.Rd

package info (click to toggle)
fimport 2160.81-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 824 kB
  • sloc: perl: 5,613; makefile: 1
file content (62 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\name{utils-yahooKeystats}


\alias{yahooKeystats}


\title{Import Key Statistics Data from Yahoo}


\description{

  Imports key statistics data from \verb{chart.yahoo.com}.
  
}


\usage{
yahooKeystats(query, file = "tempfile", source = NULL, save = FALSE, try = TRUE)
}


\arguments{
    \item{file}{a character string specifying a filename, usually having extension
      \file{".csv"}, where to save the downloaded data.}
    \item{query}{
        a character string, denoting the location of the data at the
        web site.
        }
    \item{save}{
        a logical value, if set to TRUE the downloaded data file will
        be stored under the path and file name specified by the
        string \code{file}. By default FALSE.
        }
    \item{source}{a character string setting the URL of the source.
        If \code{NULL}, then the URL will be set automatically to its
        default value.
        }
    \item{try}{logical indicating if the internet access will be checked.}
}


\value{
  returns a data frame (\code{\link{data.frame}}) with
  key statistics downloaded from yahoo's web site.
}


\author{
    Diethelm Wuertz for the Rmetrics \R-port.
}


\references{
  Diethelm Wuertz, Yohan Chalabi, and Andrew Ellis (2010).
  \emph{Financial Market Data for R/Rmetrics};
  Rmetrics eBook, Rmetrics Association and Finance Online, Zurich,
  \url{www.rmetrics.org}.
}


\keyword{data}