Skip to content

Commit

Permalink
new webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
aleruete committed May 12, 2021
1 parent 6fab718 commit b5a7910
Show file tree
Hide file tree
Showing 21 changed files with 378 additions and 1,344 deletions.
1,386 changes: 211 additions & 1,175 deletions docs/articles/SBDI4R.html

Large diffs are not rendered by default.

Binary file modified docs/articles/SBDI4R_files/figure-html/Datahangling-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-39-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-40-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-41-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-41-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-41-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/SBDI4R_files/figure-html/unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/articles/SBDI4R_files/header-attrs-2.8/header-attrs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
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.

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.6.1
pkgdown_sha: ~
articles:
SBDI4R: SBDI4R.html
last_built: 2021-04-21T14:00Z
last_built: 2021-05-12T13:44Z

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/reference/occurrences.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/reference/pick_filter.html

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

14 changes: 7 additions & 7 deletions docs/reference/sbdi_fields.html

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

6 changes: 4 additions & 2 deletions docs/reference/sbdi_list.html

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

6 changes: 3 additions & 3 deletions docs/reference/species_list.html

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

12 changes: 3 additions & 9 deletions vignettes/SBDI4R.R
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ nCells <- length(ObsInGridList)

res <- data.frame("nObs"=as.numeric(rep(NA,nCells)),
"nYears"=as.numeric(rep(NA,nCells)),
row.names = row.names(grid),
stringsAsFactors = FALSE)

cols2use <- c("scientificName", "year")
Expand All @@ -271,16 +272,9 @@ dataRes <- lapply(ObsInGridList[wNonEmpty], function(x){
))
})

dataRes <- data.frame(matrix(unlist(dataRes),
nrow=length(dataRes),
byrow=TRUE),
stringsAsFactors = FALSE)
dataRes <- as.data.frame(dplyr::bind_rows(dataRes, .id = "gridID"))

dataRes$X1 <- as.numeric(dataRes$X1)
dataRes$X2 <- as.numeric(dataRes$X2)

res[wNonEmpty,] <- dataRes
rownames(res) <- row.names(grid)
res[wNonEmpty,] <- dataRes[,-1]

resSp <- sp::SpatialPolygonsDataFrame(grid, res)

Expand Down
3 changes: 1 addition & 2 deletions vignettes/SBDI4R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ author: "Alejandro Ruete and Debora Arlt"
date: "`r Sys.Date()`"
output:
rmarkdown::html_vignette:
highlight: tango
fig_caption: TRUE
vignette: >
%\VignetteIndexEntry{Introduction to SBDI4R}
Expand Down Expand Up @@ -391,7 +390,7 @@ dataRes <- lapply(ObsInGridList[wNonEmpty], function(x){
dataRes <- as.data.frame(dplyr::bind_rows(dataRes, .id = "gridID"))
res[wNonEmpty,] <- dataRes
res[wNonEmpty,] <- dataRes[,-1]
resSp <- sp::SpatialPolygonsDataFrame(grid, res)
```
Expand Down
265 changes: 123 additions & 142 deletions vignettes/SBDI4R.html

Large diffs are not rendered by default.

0 comments on commit b5a7910

Please sign in to comment.