The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Switzerland's Data Series in One Place
Version: 0.2.0
Date: 2017-04-29
Author: Christoph Sax
Maintainer: Christoph Sax <christoph.sax@gmail.com>
Description: Download and import time series from http://www.dataseries.org, a comprehensive and up-to-date collection of open data from Switzerland.
Suggests: xts
License: GPL-3
URL: http://www.dataseries.org
BugReports: https://github.com/christophsax/dataseries
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2017-04-29 07:07:34 UTC; christoph
Repository: CRAN
Date/Publication: 2017-04-29 12:57:56 UTC

Download Time Series from www.dataseries.org

Description

ds downloads time series from www.dataseries.org. Data can be imported as a data.frame or an xts object.

Usage

ds(id, class = c("data.frame", "ts", "xts"))

cache_ls()

cache_rm()

Arguments

id

one ore more IDs, as given by www.dataseries.org.

class

class of the return value, either a "data.frame" (default) or an "xts" object (requires the xts package to be installed).

Details

Downloaded series are cached in memory as long as the R session is open. If you want to force an update, either restart the R session or run cache_rm to emtpy the cache. cache_ls is a utility function that lists all cached objects (see examples).

Examples

## Not run: 
ds(c("CCI.AIK", "CCI.ASSS"))               # data.frame
ds(c("CCI.AIK", "CCI.ASSS"), "ts")         # "ts" object
ds(c("CCI.AIK", "CCI.ASSS"), "xts")        # "xts" object

# list cached objects
cache_ls()

# empty in-memory cache, which forces a fresh download
cache_rm()

## End(Not run)


Inventory from www.dataseries.org

Description

Read latest time series inventory from www.dataseries.org as a data.frame.

Usage

inventory()

Details

The downloaded data are cached in memory as long as the R session is open. If you want to force an update, either restart the R session or run cache_rm to emtpy the cache. cache_ls is a utility function that lists all cached objects.

Examples

## Not run: 
inv <- inventory()  # will be cached
# search in the inventory
inv[grepl("consumer conf", inv$description, ignore.case = TRUE), ]

## End(Not run)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.