knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)

safecastR

Overview

safecastR package provides functions for interacting with the Safecast API.

Installation

if (!require("remotes")) install.packages("remotes")
remotes::install_github("javiereliomedina/safecastR")

Usage

library(safecastR) 
dat <- get_measurements(dist = 100,
                        lat  = 52.520, 
                        long = 13.405)
dat
library(ggplot2)
ggplot() +
  geom_sf(data = dat, aes(colour = value)) +
  scale_colour_viridis_c() +
  theme_bw()


javiereliomedina/safecastR documentation built on Oct. 16, 2022, 9:37 p.m.