Last updated: 2022-02-03

Checks: 7 0

Knit directory: Test/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210926) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version e615d59. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    data/Stabiliseur/
    Ignored:    data/json/
    Ignored:    data/plan/
    Ignored:    fig/brancard/
    Ignored:    figure/
    Ignored:    workflowr.R

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/synthese_20211222.Rmd) and HTML (docs/synthese_20211222.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd e615d59 cfcforever 2022-02-03 add new content
html b7ca714 cfcforever 2022-02-02 Build site.
Rmd f85a2c4 cfcforever 2022-02-02 add new content
html 6bfe88d cfcforever 2022-02-02 Build site.
Rmd ea1f0a3 cfcforever 2022-02-02 add new content
html a5caf6f cfcforever 2022-02-02 Build site.
Rmd e0ca5ca cfcforever 2022-02-02 add new content
html b8981ef cfcforever 2022-01-30 Build site.
Rmd 4f79fe2 cfcforever 2022-01-30 add new content
html 74ac122 cfcforever 2022-01-29 Build site.
Rmd 049ccb1 cfcforever 2022-01-29 add new content
html 541bb1c cfcforever 2022-01-28 Build site.
Rmd c772b3f cfcforever 2022-01-28 add new content
html adf08cb cfcforever 2022-01-27 Build site.
Rmd 3c8274b cfcforever 2022-01-27 add new content
html 9f26812 cfcforever 2022-01-26 Build site.
Rmd 3347932 cfcforever 2022-01-26 add new content
html 7c0b129 cfcforever 2022-01-25 Build site.
Rmd 0f2bc0e cfcforever 2022-01-25 add new content
html 0a6f24f cfcforever 2022-01-24 Build site.
Rmd b7ffbba cfcforever 2022-01-24 add new content
html 61226f6 cfcforever 2022-01-24 Build site.
Rmd 5fe564b cfcforever 2022-01-24 add new content
html 37d4689 cfcforever 2022-01-23 Build site.
Rmd 8af076c cfcforever 2022-01-23 add new content
html 14b1679 cfcforever 2022-01-22 Build site.
Rmd 459e086 cfcforever 2022-01-22 add new content
html b277cb7 cfcforever 2022-01-20 Build site.
Rmd 92fcb68 cfcforever 2022-01-20 add new content
html d57fba4 cfcforever 2022-01-19 Build site.
Rmd 6704f17 cfcforever 2022-01-19 add new content
html f1dc3af cfcforever 2022-01-18 Build site.
html cffdb07 cfcforever 2022-01-18 Build site.
Rmd 458a97c cfcforever 2022-01-18 add new content
html 972bdc5 cfcforever 2022-01-18 Build site.
Rmd d0080e5 cfcforever 2022-01-18 add new content
html 8d49dcc cfcforever 2022-01-17 Build site.
Rmd 01981a1 cfcforever 2022-01-17 add new content
html c5ea869 cfcforever 2022-01-16 Build site.
html 0b65f54 cfcforever 2022-01-16 Build site.
Rmd 006490c cfcforever 2022-01-16 add new content
html 6a2849a cfcforever 2022-01-16 Build site.
Rmd f6ced9a cfcforever 2022-01-16 add new content
html cf8a4cc cfcforever 2022-01-16 Build site.
Rmd 41e1b5b cfcforever 2022-01-16 add new content
html 57fdd5b cfcforever 2022-01-16 Build site.
Rmd ec18128 cfcforever 2022-01-16 add new content
html 5ac172d cfcforever 2022-01-14 Build site.
Rmd d1ad664 cfcforever 2022-01-14 add new content
html 021fadf cfcforever 2022-01-13 Build site.
html a256913 cfcforever 2022-01-13 Build site.
Rmd 1b00737 cfcforever 2022-01-13 add new content
html 4aa2bf9 cfcforever 2022-01-12 Build site.
Rmd 9a1ae99 cfcforever 2022-01-12 add new content
html b693bd1 cfcforever 2022-01-11 Build site.
Rmd b071a87 cfcforever 2022-01-11 add new content
html a706b71 cfcforever 2022-01-11 Build site.
Rmd 21c5cca cfcforever 2022-01-11 add new content
html 2cfdf6e cfcforever 2022-01-11 Build site.
Rmd a861c8b cfcforever 2022-01-11 add new content
html 86fdc88 cfcforever 2022-01-10 Build site.
Rmd e045b00 cfcforever 2022-01-10 add new content
html 50ffce9 cfcforever 2022-01-09 Build site.
Rmd c1bf2c6 cfcforever 2022-01-09 add new content
html 56c082a cfcforever 2022-01-09 Build site.
Rmd d421c5d cfcforever 2022-01-09 add new content
html e2bcf81 cfcforever 2022-01-07 Build site.
Rmd 0fe1481 cfcforever 2022-01-07 add new content
html 15c7a07 cfcforever 2022-01-06 Build site.
Rmd e2a3038 cfcforever 2022-01-06 add new content
html 7bc213b cfcforever 2022-01-05 Build site.
Rmd b220490 cfcforever 2022-01-05 add new content
html 4c5bb59 cfcforever 2022-01-05 Build site.
Rmd 3fbfab6 cfcforever 2022-01-05 add new content
html 1c0c989 cfcforever 2022-01-04 Build site.
Rmd 5bdec95 cfcforever 2022-01-04 some changes
html 4fd5299 cfcforever 2022-01-04 Build site.
Rmd d9b7042 cfcforever 2022-01-04 add new analysis
html cd4b97b cfcforever 2022-01-04 Build site.
Rmd b1fefb9 cfcforever 2022-01-04 some changes
html 91fecf1 cfcforever 2022-01-03 Build site.
Rmd 571dc89 cfcforever 2022-01-03 add new analysis

general presentation

load("output/list_output.RData")
if (!any(names(list_output)==today)){
  data = read.csv2(paste0("data/json/", today, "/position.csv"))
  list_tag <- split(data, data$tag)
  output = data.frame(tag = names(list_tag))
  output$number = lapply(list_tag, nrow)
  output$date = today
  list_output[[today]] = output
  save(list_output, file = "output/list_output.RData")
}
output = do.call(rbind.data.frame, list_output)

tagId = unique(output$tag)
names_tag = read.xlsx("data/Inventaire Tags - Firminy - 2022.xlsx")
names_tag = names_tag %>% filter(Identifiant %in% tagId)
names_tag = names_tag[order(match(names_tag$Identifiant, tagId)), ]

days = unique(output$date)

table = as.data.frame(matrix(NA, nrow = length(tagId), ncol = length(days)))
colnames(table) = days
rownames(table) = tagId
for (i in 1:nrow(output)){
  table[which(tagId==output$tag[i]), which(days==output$date[i])] = output$number[i]
}
table = cbind(data.frame(type = names_tag$affectation), table)

table = table[,c(1,ncol(table):2)]
datatable(table, editable = F, extensions = 'Buttons', options = list(pageLength = nrow(table), dom = 'Bfrtip'))

general statistics

daily statistics

table_general = data.frame(date = days)
table_general$number_tag = as.numeric(lapply(list_output, function(x){nrow(x)}))
table_general$number_data = as.numeric(lapply(list_output, function(x){sum(as.numeric(x$number))}))

datatable(table_general, editable = F, extensions = 'Buttons', options = list(pageLength = 20, dom = 'Bfrtip'))

tag statistics

tag_general = data.frame(id = names_tag$Identifiant, label = names_tag$affectation)
tag_general$number_days = NA
tag_general$number_data = NA
tag_general$daily_average = NA
for (k in 1:nrow(tag_general)){
  tag_general$number_days[k] = sum(output$tag == tag_general$id[k])
  tag_general$number_data[k] = sum(unlist(output[which(output$tag == tag_general$id[k]), "number"]))
  tag_general$daily_average[k] = round(tag_general$number_data[k]/tag_general$number_days[k])
}

datatable(tag_general, editable = F, extensions = 'Buttons', options = list(pageLength = 20, dom = 'Bfrtip'))

sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] zh_CN.UTF-8/zh_CN.UTF-8/zh_CN.UTF-8/C/zh_CN.UTF-8/zh_CN.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] openxlsx_4.2.4   scales_1.1.1     DT_0.19          readxl_1.3.1    
 [5] lubridate_1.7.10 dplyr_1.0.5      nnet_7.3-15      kableExtra_1.3.4
 [9] rjson_0.2.20     cowplot_1.1.1    gifski_1.4.3-1   gganimate_1.0.7 
[13] ggplot2_3.3.5    workflowr_1.6.2 

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        svglite_2.0.0     prettyunits_1.1.1 rprojroot_2.0.2  
 [5] digest_0.6.27     utf8_1.2.1        mime_0.10         R6_2.5.0         
 [9] cellranger_1.1.0  evaluate_0.14     httr_1.4.2        pillar_1.6.0     
[13] rlang_0.4.10      progress_1.2.2    rstudioapi_0.13   whisker_0.4      
[17] jquerylib_0.1.3   rmarkdown_2.10    webshot_0.5.2     stringr_1.4.0    
[21] htmlwidgets_1.5.3 munsell_0.5.0     shiny_1.6.0       compiler_4.0.5   
[25] httpuv_1.5.5      xfun_0.22         pkgconfig_2.0.3   systemfonts_1.0.1
[29] htmltools_0.5.1.1 tidyselect_1.1.0  tibble_3.1.0      fansi_0.4.2      
[33] viridisLite_0.4.0 crayon_1.4.1      withr_2.4.1       later_1.1.0.1    
[37] grid_4.0.5        xtable_1.8-4      jsonlite_1.7.2    gtable_0.3.0     
[41] lifecycle_1.0.0   git2r_0.28.0      magrittr_2.0.1    zip_2.2.0        
[45] stringi_1.5.3     farver_2.1.0      fs_1.5.0          promises_1.2.0.1 
[49] xml2_1.3.2        bslib_0.2.4       ellipsis_0.3.1    generics_0.1.0   
[53] vctrs_0.3.7       tools_4.0.5       glue_1.4.2        tweenr_1.0.2     
[57] purrr_0.3.4       hms_1.0.0         crosstalk_1.1.1   fastmap_1.1.0    
[61] yaml_2.2.1        colorspace_2.0-0  rvest_1.0.0       knitr_1.32       
[65] sass_0.3.1