knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(lab5)
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.
get_rka(city = "Stockholm", ageinterval = "25-44")
get_rka(city = "Uppsala", ageinterval = "25-44")
If you want to find the graph via Shiny, you can use
<shiny::runGitHub(repo = "codercola-mw/lab5/", subdir = "inst/app")>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.