diff --git a/404.html b/404.html index b149942..49c029e 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,7 @@ Page not found (404) • geocompkg | metapackage for the Gecomputation with R book - + @@ -18,7 +18,7 @@ - +
@@ -49,13 +49,13 @@
  • - +
  • - +
  • @@ -66,7 +66,7 @@
    - +
    @@ -94,16 +94,16 @@

    Page not found (404)

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/LICENSE.html b/LICENSE.html index 1d69be7..d9da3cc 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -1,9 +1,9 @@ -Attribution-NonCommercial-NoDerivatives 4.0 International • geocompkg | metapackage for the Gecomputation with R bookAttribution-NonCommercial-NoDerivatives 4.0 International • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,20 +31,20 @@
    - +
    @@ -190,15 +190,15 @@

    Section 8 – Interpretation. -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/algorithm.html b/articles/algorithm.html index dccb44e..c410c4c 100644 --- a/articles/algorithm.html +++ b/articles/algorithm.html @@ -6,20 +6,19 @@ Algorithms Extended • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -76,9 +75,9 @@

    Algorithms Extended

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/algorithm.Rmd + Source: vignettes/algorithm.Rmd
    @@ -158,16 +157,16 @@

    2023-12-14

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/index.html b/articles/index.html index e53cb50..69842fa 100644 --- a/articles/index.html +++ b/articles/index.html @@ -1,9 +1,9 @@ -Articles • geocompkg | metapackage for the Gecomputation with R bookArticles • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,20 +31,20 @@
    - +
    @@ -78,15 +78,15 @@

    All vignettes

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/join.html b/articles/join.html index 2d5d85f..6795845 100644 --- a/articles/join.html +++ b/articles/join.html @@ -6,20 +6,19 @@ Spatial Joins Extended • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -76,9 +75,9 @@

    Spatial Joins Extended

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/join.Rmd + Source: vignettes/join.Rmd
    @@ -168,7 +167,9 @@

    2023-12-14

    ## The following object is masked from 'package:datasets':
     ## 
     ##     rivers
    -
    ## Deprecated tmap v3 code detected. Code translated to v4
    +
    ## -- tmap v3 code detected --
    +
    ## [v3->v4] tm_polygons(): migrate the argument(s) related to the scale of the visual variable 'fill', namely 'breaks' to 'fill.scale = tm_scale(<HERE>)'
    +
    ## [v3->v4] tm_polygons(): migrate the argument(s) related to the legend of the visual variable 'fill', namely 'title' to 'fill.legend = tm_legend(<HERE>)'
    Figure 1. The unemployment rate (taken from World Bank statistics) in Canada and the United States to illustrate the utility of joining attribute data on to spatial datasets.

    Figure 1. The unemployment rate (taken from World Bank statistics) in @@ -182,7 +183,7 @@

    2023-12-14

    column and the wb_north_america has a name column. In these cases a named vector, such as c("name_long" = "name"), can specify the connection:

    -
    +
     left_join2 = north_america %>% 
       left_join(wb_north_america, by = c("name_long" = "name"))
     left_join2
    @@ -201,7 +202,7 @@

    2023-12-14

    iso_a2.x and iso_a2.y because both x and y objects have the column iso_a2. This can be solved by specifying all the keys:

    -
    +
     left_join3 = north_america %>% 
       left_join(wb_north_america, by = c("iso_a2", "name_long" = "name"))
     left_join3
    @@ -218,7 +219,7 @@

    2023-12-14

    ## 3 GL Greenland (((-46.76379 82.62796, -46.9007 82.19… NA NA

    Joins also work when a data frame is the first argument. However, for them to work we need to drop the sf class.

    -
    +
     left_join4 = wb_north_america %>%
       left_join(st_drop_geometry(north_america), by = c("iso_a2"))
     left_join4
    @@ -228,7 +229,7 @@

    2023-12-14

    ## 1 Canada CA 29014612 6.91 Canada ## 2 Mexico MX 98099040 4.81 NA ## 3 United States US 259460378 6.17 United States
    -
    +
     class(left_join4)
    ## [1] "tbl_df"     "tbl"        "data.frame"

    In contrast to left_join(), inner_join() @@ -236,7 +237,7 @@

    2023-12-14

    (north_america) where there are matching observations in the right object (wb_north_america). All columns from the left and right object are still kept:

    -
    +
     inner_join1 = north_america %>% 
       inner_join(wb_north_america, by = c("iso_a2", "name_long" = "name"))
     inner_join1
    @@ -267,16 +268,16 @@

    2023-12-14

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/linevia.html b/articles/linevia.html index 533aaed..9cdd0f2 100644 --- a/articles/linevia.html +++ b/articles/linevia.html @@ -6,20 +6,19 @@ Desire Lines Extended • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -76,9 +75,9 @@

    Desire Lines Extended

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/linevia.Rmd + Source: vignettes/linevia.Rmd
    @@ -181,16 +180,16 @@

    2023-12-14

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/point-pattern.html b/articles/point-pattern.html index 1918537..44966e9 100644 --- a/articles/point-pattern.html +++ b/articles/point-pattern.html @@ -6,20 +6,19 @@ Point Pattern analysis, spatial interpolation and heatmaps • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -77,9 +76,9 @@

    Point Pattern analysis, spatial interpolation

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/point-pattern.Rmd + Source: vignettes/point-pattern.Rmd
    @@ -201,7 +200,7 @@

    Exercisescrs() calls? +
  • Why are there two crs() calls?
  • The above chunk uses raster functions. How would you write the above code using sp code?
  • @@ -342,7 +341,7 @@

    Spatial interpolationrnbikes = rasterize(cycle_hire, r, field = "nbikes", fun = mean) plot(rnbikes)

    What about estimating the values of cells outside the current network -area? We can use raster’s focal() function +area? We can use raster’s focal() function to estimate that.

     w = matrix(1, nc = 9, nr = 9)
    @@ -372,7 +371,7 @@ 

    Voronoi polygon interpolation
     library(dismo)
    -v = voronoi(cycle_hire)
    +v = voronoi(cycle_hire)
     v = intersect(v, r)
     tm_shape(v) +
       tm_fill("nbikes", palette = "YlOrRd", style = "quantile") +
    @@ -399,8 +398,8 @@ 

    Interpolation with the gstat packa
     library(gstat)
     gs = gstat(formula = nbikes~1, locations = cycle_hire)
    -crs(r) = crs(lnd)
    -r_idw = interpolate(r, gs)
    +crs(r) = crs(lnd)
    +r_idw = interpolate(r, gs)
     plot(r_idw)

    Exercises @@ -454,7 +453,7 @@

    Further reading and tutorials

    References

    -
    +
    Baddeley, Adrian, Ege Rubak, and Rolf Turner. 2015. Spatial Point Patterns: Methodology and Applications with R. @@ -521,9 +520,7 @@

    References - -

    +
    @@ -536,16 +533,16 @@

    References

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/tidyverse-pitfalls.html b/articles/tidyverse-pitfalls.html index 8df0672..10c9bc2 100644 --- a/articles/tidyverse-pitfalls.html +++ b/articles/tidyverse-pitfalls.html @@ -6,20 +6,19 @@ Spatial data and the tidyverse: pitfalls to avoid • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -77,9 +76,9 @@

    Spatial data and the tidyverse: pitfalls to

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/tidyverse-pitfalls.Rmd + Source: vignettes/tidyverse-pitfalls.Rmd
    @@ -336,9 +335,7 @@

    Raster data in the tidyverse - -

    +
    @@ -351,16 +348,16 @@

    Raster data in the tidyverse

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/articles/us-map.html b/articles/us-map.html index 8fcd3e4..24680c2 100644 --- a/articles/us-map.html +++ b/articles/us-map.html @@ -6,20 +6,19 @@ Making inset maps of the USA • geocompkg | metapackage for the Gecomputation with R book - + - - +
    @@ -50,13 +49,13 @@
  • - +
  • - +
  • @@ -67,7 +66,7 @@
    - +
    @@ -76,9 +75,9 @@

    Making inset maps of the USA

    Robin Lovelace, Jakub Nowosad, Jannes Muenchow

    -

    2023-12-14

    +

    2024-08-02

    - Source: vignettes/us-map.Rmd + Source: vignettes/us-map.Rmd
    @@ -143,15 +142,13 @@

    Single maps creationtm_polygons() + tm_layout(title = "Hawaii", frame = FALSE, bg.color = NA, title.position = c("left", "BOTTOM")) -#> Warning: The 'title' argument of 'tm_layout()' is deprecated as of tmap 4.0. -#> Please use 'tm_title()' instead.

    +#> [v3->v4] tm_layout(): use 'tm_title()' instead of the 'title' argument of 'tm_layout'
     alaska_map = tm_shape(alaska) +
       tm_polygons() + 
       tm_layout(title = "Alaska", frame = FALSE, bg.color = NA, 
                 title.position = c("left", "TOP")) 
    -#> Warning: The 'title' argument of 'tm_layout()' is deprecated as of tmap 4.0.
    -#> Please use 'tm_title()' instead.
    +#> [v3->v4] tm_layout(): use 'tm_title()' instead of the 'title' argument of 'tm_layout'

    Map arrangement @@ -190,9 +187,7 @@

    Another approach - -

    + @@ -205,16 +200,16 @@

    Another approach

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/authors.html b/authors.html index 5dec25f..ae40779 100644 --- a/authors.html +++ b/authors.html @@ -1,9 +1,9 @@ -Authors and Citation • geocompkg | metapackage for the Gecomputation with R bookAuthors and Citation • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,61 +31,61 @@
    - +
    - +
    • -

      Robin Lovelace. Author. +

      Robin Lovelace. Author.

    • -

      Jakub Nowosad. Author, maintainer. +

      Jakub Nowosad. Author, maintainer.

    • -

      Jannes Muenchow. Author. +

      Jannes Muenchow. Author.

    Citation

    - Source: DESCRIPTION + Source: DESCRIPTION
    -

    Lovelace R, Nowosad J, Muenchow J (2023). +

    Lovelace R, Nowosad J, Muenchow J (2024). geocompkg: Geocomputation with R Metapackage. -R package version 2.2.2, -https://geocompx.github.io/geocompkg/, https://github.com/geocompx/geocompkg. +R package version 2.2.3, +https://geocompx.github.io/geocompkg/, https://github.com/geocompx/geocompkg.

    @Manual{,
       title = {geocompkg: Geocomputation with R Metapackage},
       author = {Robin Lovelace and Jakub Nowosad and Jannes Muenchow},
    -  year = {2023},
    -  note = {R package version 2.2.2, 
    -https://geocompx.github.io/geocompkg/},
    +  year = {2024},
    +  note = {R package version 2.2.3,
    +    https://geocompx.github.io/geocompkg/},
       url = {https://github.com/geocompx/geocompkg},
     }
    @@ -100,15 +100,15 @@

    Citation

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/index.html b/index.html index 41819a1..6c690b9 100644 --- a/index.html +++ b/index.html @@ -6,22 +6,20 @@ Geocomputation with R Metapackage • geocompkg | metapackage for the Gecomputation with R book - + - + - +
    @@ -52,13 +50,13 @@
  • - +
  • - +
  • @@ -69,7 +67,7 @@
    - +
    @@ -152,16 +150,16 @@

    Dev status

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/pkgdown.yml b/pkgdown.yml index e5bc315..e644d3f 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,5 +1,5 @@ -pandoc: 2.19.2 -pkgdown: 2.0.7 +pandoc: 3.1.11 +pkgdown: 2.1.0 pkgdown_sha: ~ articles: algorithm: algorithm.html @@ -8,5 +8,4 @@ articles: point-pattern: point-pattern.html tidyverse-pitfalls: tidyverse-pitfalls.html us-map: us-map.html -last_built: 2023-12-14T12:37Z - +last_built: 2024-08-02T06:51Z diff --git a/reference/add_impact.html b/reference/add_impact.html index 38d5a0e..f49008a 100644 --- a/reference/add_impact.html +++ b/reference/add_impact.html @@ -1,9 +1,9 @@ -Return details of issues, with input an GitHub issue URL — add_impact • geocompkg | metapackage for the Gecomputation with R bookReturn details of issues, with input an GitHub issue URL — add_impact • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,26 +31,26 @@
    - +
    @@ -68,27 +68,29 @@

    Return details of issues, with input an GitHub issue URL

    Arguments

    -
    url_issue
    + + +
    url_issue

    The url of the issue to add

    -
    vars
    +
    vars

    Which variables to use?

    -
    url_old_impact
    +
    url_old_impact

    The previous state of the 'impact.csv' file

    Examples

    -
    if (FALSE) {
    +    
    if (FALSE) { # \dontrun{
     url_issue = "https://github.com/mtennekes/tmap/issues/196"
     geocompr:::add_impact(url_issue)
     u = "https://github.com/Robinlovelace/geocompr/raw/main/our-impact.csv"
     geocompr:::add_impact(url_issue, url_old_impact = u)
    -}
    +} # }
     
    @@ -103,15 +105,15 @@

    Examples

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/reference/geocompkg-package.html b/reference/geocompkg-package.html index f4c23e3..961bb8a 100644 --- a/reference/geocompkg-package.html +++ b/reference/geocompkg-package.html @@ -1,9 +1,9 @@ -geocompkg: Geocomputation with R Metapackage — geocompkg-package • geocompkg | metapackage for the Gecomputation with R bookgeocompkg: Geocomputation with R Metapackage — geocompkg-package • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,26 +31,26 @@
    - +
    @@ -85,15 +85,15 @@

    Author

    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/reference/index.html b/reference/index.html index 4d5955b..cad99f3 100644 --- a/reference/index.html +++ b/reference/index.html @@ -1,9 +1,9 @@ -Function reference • geocompkg | metapackage for the Gecomputation with R bookPackage index • geocompkg | metapackage for the Gecomputation with R book - +
    @@ -31,20 +31,20 @@
    - +
    @@ -73,15 +73,15 @@

    All functions
    -

    Site built with pkgdown 2.0.7.

    +

    Site built with pkgdown 2.1.0.

    - - + + diff --git a/sitemap.xml b/sitemap.xml index c7b1203..902fdf4 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,45 +1,17 @@ - - - - /404.html - - - /LICENSE.html - - - /articles/algorithm.html - - - /articles/index.html - - - /articles/join.html - - - /articles/linevia.html - - - /articles/point-pattern.html - - - /articles/tidyverse-pitfalls.html - - - /articles/us-map.html - - - /authors.html - - - /index.html - - - /reference/add_impact.html - - - /reference/geocompkg-package.html - - - /reference/index.html - + +/404.html +/LICENSE.html +/articles/algorithm.html +/articles/index.html +/articles/join.html +/articles/linevia.html +/articles/point-pattern.html +/articles/tidyverse-pitfalls.html +/articles/us-map.html +/authors.html +/index.html +/reference/add_impact.html +/reference/geocompkg-package.html +/reference/index.html +