README.md

Build Status R build status Project Status: Active – The project has reached a stable, usable state and is being actively developed.

rbolaget :beers:

A tool for downloading data from Systembolaget API, complemented with a sorting function. The main sorting function is rsort() which can be used interactivly with a Shiny-app. The Shiny-app have the posibility to copy the applied rsort()-code.

Created by Jacob Welander :email: and Sidney Rydström :email: as lab 5 in the course 732A94 Advanced Programming in R, autumn 2020.

Installation

# Default 
devtools::install_github("sidryd/rbolaget")

# With vignette 
devtools::install_github("sidryd/rbolaget", build_vignettes = TRUE)

Getting started

library(rbolaget)

# To view vignette
vignette("rbolaget")

# Download data from Systembolaget API
data <- rget()

# Filter data with rsort(), e.g.
rsort(data = data, Category = "Öl")

# Filter data interactively with a Shiny-app. 
shiny::runGitHub(repo = "rbolagetshiny", username = "WelanderJacob")



Sidryd/rbolaget documentation built on Oct. 2, 2020, 10:27 a.m.