Learn R Programming

datamart (version 0.4.2)

datamart: Unified interface to your data sources.

Description

This package provides several S4 classes that make it easier to collect and work with datasets. The package is inspired by the https://bitbucket.org/ScraperWiki/scraperwiki{scraperwiki project}, which provides a webbased service for data collection. Also inspiring are http://reference.wolfram.com/mathematica/ref/CountryData.html{Mathematica's xxxData functions}, which provide in-built parametrizable datasets.

Arguments

Details

You can specify web resources with the urldata3 and the xsparql functions. You can combine several resources with the mashup function. For working with locally saved data, see the internalData function. The objects instantiated with these functions can than be passed to the generic query along with some parameters to get to the data. Besides parameterized queries ("read" operations), the package also aims to support "write" operations. For this purpose, some functions (currently mdreport, swvreport) for defining targets as well as some functions (currently blogger and dirloc) for defining locations are provided. The generic put then builds the target and puts it at the defined location. Some examples aim to proof the concept, for instance eurostat_web, sourceforge, oddsportal, and city_coords. The package is highly experimental, and likely to change heavily without backward compatiblity.

References

Karsten Weinert, http://factbased.blogspot.com/search/label/datamart{factbased blogspot.}