knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of rLab5 is to create a R package to read from an API, in our case from APIXU.com which provides weather API.
You can install the released version of rLab5 from CRAN with:
install.packages("rLab5")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("anubhav-dikshit/rLab5")
This is a basic example which shows you how to solve a common problem:
## basic example code library(rLab5) get_data("Bangalore", 1)
## Shiny App library(rLab5) shiny::runGitHub(repo = "anubhav-dikshit/rLab5", subdir = "inst/examples")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.