Skip to content
Snippets Groups Projects
Commit dfae3940 authored by Francesco Sabatini's avatar Francesco Sabatini
Browse files

Corrected bug to 00_Check_data

parent 4ad5e6b4
Branches
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ This report checks for consistency of the dataset used for constructing sPlot 3. ...@@ -26,7 +26,6 @@ This report checks for consistency of the dataset used for constructing sPlot 3.
*** ***
Key Problems: Key Problems:
Fields 'Herbs identified (y/n)' and 'Plants recorded' are mostly empty!
The is still a high proportion of plots without location uncertainty The is still a high proportion of plots without location uncertainty
```{r results="hide", message=F, warning=F} ```{r results="hide", message=F, warning=F}
...@@ -149,25 +148,25 @@ nNAs <- nrow(header %>% filter(is.na(`Location uncertainty (m)`))) ...@@ -149,25 +148,25 @@ nNAs <- nrow(header %>% filter(is.na(`Location uncertainty (m)`)))
There are still `r nNAs` plots without location uncertainty. There are still `r nNAs` plots without location uncertainty.
## Previously known problems still to be fixed: ## Previously known problems:
1) Import field 'Plants Recorded' into header (SH) - create dictionary of possible factors (FMS) 1) Import field 'Plants Recorded' into header (SH)
```{r} ```{r}
knitr::kable(table(levels(header$`Plants recorded`), exclude=NULL), knitr::kable(table(header$`Plants recorded`, exclude=NULL),
caption="Number of records for each level in Plants recorded") %>% caption="Number of records for each level in Plants recorded") %>%
kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"), kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"),
full_width = F, position = "center") full_width = F, position = "center")
``` ```
The field is mostly empty!! OK - Values not available for EVA's datasets. Ask Milan if we can simply assume 'All vascular plants'
2) Import field 'Herbs identified (y/n)' into header (SH) 2) Import field 'Herbs identified (y/n)' into header (SH)
```{r} ```{r}
knitr::kable(table(levels(header$`Herbs identified (y/n)`), exclude=NULL), knitr::kable(table(header$`Herbs identified (y/n)`, exclude=NULL),
caption="Number of records for each level in Plants recorded") %>% caption="Number of records for each level in Plants recorded") %>%
kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"), kable_styling(bootstrap_options = c("striped", "hover", "condensed", "responsive"),
full_width = F, position = "center") full_width = F, position = "center")
``` ```
The field is mostly empty!! OK - Values not available for EVA's datasets. According to SH, we can simply assume Y.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment