Giter VIP home page Giter VIP logo

restatis's Introduction

restatis

CRAN status R-CMD-check Codecov test coverage Lifecycle: experimental

restatis is a wrapper around the RESTful API that provides access to the GENESIS databases of the Federal Statistical Office of Germany (Destatis).

Installation

You can install the released version of restatis from CRAN:

install.packages("restatis")

Or install the development version of restatis from GitHub with:

# install.packages("devtools")
devtools::install_github("CorrelAid/restatis")

Usage

Authentication

To access the Destatis GENESIS API, you need to have an account at https://www-genesis.destatis.de and store your username and password for use in R with gen_auth_save() (see ?gen_auth_save for more details).

Main features

restatis provides functions (prefixed with gen_) for finding, exploring, and retrieving data from the GENESIS API. See the “Basic restatis workflow” vignette for an overview of the main features of the package.

Caching

restatis uses memoisation to cache query results. This means that if you call a function multiple times with the same input, the values returned the first time are stored and reused from the second time.

Cached objects are stored in the memory and do not persist across R sessions.

Disclaimer

This package is in no way affiliated with the German Federal Statistical Office (Destatis). It is a simple wrapper providing R functions to access Destatis’ API. The package authors are in no way responsible for the data that can be retrieved using its functions. The license of this package solely applies to its source code.

restatis's People

Contributors

yannikbuhl avatar kovazo avatar long39ng avatar dorianlj avatar pr130 avatar raphaludwig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.