knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of place is to specify a region simply as point (longitude,latitude) and a region around that.
This package does absolutely nothing with this information, but other packages might (get where I'm going ...?).
Data at virtualearth.
You can install the development version from GitHub with:
# install.packages("remotes") remotes::install_github("mdsumner/place")
This is a basic example which shows you how to solve a common problem:
library(place) ## get me outta here where()
Ok, get me somewhere specific.
where(156, 34, wh = 100000) ## 100km either side of that location
More useful, give me a defined discretized region around a location.
where(147, -42, wh = c(1, 1) * 5000) place("1 George St, Bathurst NSW", wh = c(1, 1.6) * 15000, dimension = 1024)
Please note that the place project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.