knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(lab5)

Example use of this package

This packages uses function < get_rka(city = "Stockholm") > to find out the income gap between male and female in the particular municipality by accessing the API: http://api.kolada.se/v1/data/permunicipality/

The function will show a plot that indicates the income of male and female by time series.

The income in Stockholm

get_rka(city = "Stockholm", ageinterval = "25-44")

The income in Uppsala

get_rka(city = "Uppsala", ageinterval = "25-44")

Shiny

If you want to find the graph via Shiny, you can use <shiny::runGitHub(repo = "codercola-mw/lab5/", subdir = "inst/app")>



codercola-mw/lab5 documentation built on Nov. 4, 2019, 9:09 a.m.