Skip to content

Commit

Permalink
V2.0 :)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hodge committed Aug 13, 2020
1 parent 7d6a757 commit 67453e9
Show file tree
Hide file tree
Showing 96 changed files with 140 additions and 134 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: simplevis
Type: Package
Title: Simple Visualisation with 'ggplot2' and 'leaflet' Wrappers
Version: 1.8.3
Version: 2.0.0
Authors@R:
c(person(given = "David",
family = "Hodge",
Expand Down
10 changes: 3 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# simplevis 1.8.3
# simplevis 2.0.0

* Update shiny templates.
* Update leaflet radius default to 2.
* Drop region, TA and sea-draining catchments from nz basemap stack.

# simplevis 1.8.2

* Removed code to automate isMobile, as it was not working.

# simplevis 1.8.1

* Removed na_tip as was not working.

# simplevis 1.8.0
Expand Down
8 changes: 4 additions & 4 deletions R/leaflet_sf_fun.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @param data An sf object of geometry type point/multipoint, linestring/multilinestring or polygon/multipolygon geometry type. Required input.
#' @param pal Character vector of hex codes. Defaults to NULL, which selects the Stats NZ palette.
#' @param popup HTML strings for use in popup. Defaults to making a leafpop::popupTable of all attribute columns in the sf object.
#' @param radius Radius of points. Defaults to 1.
#' @param radius Radius of points. Defaults to 2.
#' @param weight Stroke border size. Defaults to 2.
#' @param opacity The opacity of the fill. Defaults to 0.1. Only applicable to polygons.
#' @param stroke TRUE or FALSE of whether to draw a border around the features. Defaults to TRUE.
Expand All @@ -24,7 +24,7 @@
leaflet_sf <- function(data,
pal = NULL,
popup = leafpop::popupTable(sentence_spaced_colnames(data)),
radius = 1,
radius = 2,
weight = 2,
opacity = 0.1,
stroke = TRUE,
Expand Down Expand Up @@ -197,7 +197,7 @@ leaflet_sf <- function(data,
#' @param pal Character vector of hex codes. Defaults to NULL, which selects the colorbrewer Set1 or viridis.
#' @param pal_rev Reverses the palette. Defaults to FALSE.
#' @param popup HTML strings for use in popup. Defaults to making a leafpop::popupTable of all attribute columns in the sf object.
#' @param radius Radius of points. Defaults to 1.
#' @param radius Radius of points. Defaults to 2.
#' @param weight Stroke border size. Defaults to 2.
#' @param stroke TRUE or FALSE of whether to draw a border around the features. Defaults to TRUE.
#' @param opacity The opacity of polygons. Defaults to 0.9.
Expand Down Expand Up @@ -234,7 +234,7 @@ leaflet_sf_col <- function(data,
pal = NULL,
pal_rev = FALSE,
popup = leafpop::popupTable(sentence_spaced_colnames(data)),
radius = 1,
radius = 2,
weight = 2,
opacity = 0.9,
stroke = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/simplevis.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 1.5.1
pkgdown_sha: ~
articles:
simplevis: simplevis.html
last_built: 2020-08-06T21:56Z
last_built: 2020-08-13T00:04Z

2 changes: 1 addition & 1 deletion docs/reference/a4_height_mm.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/a4_width_mm.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/add_tip.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/example_sf_nz_livestock.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/example_sf_nz_river_wq.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/example_stars_nz_drp.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/example_stars_nz_no3n.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_box.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_box_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_hbar.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_hbar_col.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_hbar_col_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_hbar_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_line.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_line_col.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_line_col_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_line_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_scatter.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_scatter_col.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_scatter_col_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_scatter_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_sf.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_sf_col.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ggplot_sf_col_facet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 67453e9

Please sign in to comment.