[Stacomir-commits] r154 - in branch0.5/stacomir: . R data inst/config

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Aug 16 16:51:56 CEST 2016


Author: briand
Date: 2016-08-16 16:51:55 +0200 (Tue, 16 Aug 2016)
New Revision: 154

Added:
   branch0.5/stacomir/R/data.r
   branch0.5/stacomir/data/
   branch0.5/stacomir/data/bMM_Arzal.rda
   branch0.5/stacomir/inst/config/generate_data.R
Log:
BilanMigrationMult dataset
1 the script to create the data.
2 the data
3 the full documentation of the dataset

Added: branch0.5/stacomir/R/data.r
===================================================================
--- branch0.5/stacomir/R/data.r	                        (rev 0)
+++ branch0.5/stacomir/R/data.r	2016-08-16 14:51:55 UTC (rev 154)
@@ -0,0 +1,40 @@
+#' An object of class bilanMigrationMult with data loaded
+#'
+#' This data corresponds to the data collected from three fishways
+#' and correspond to the migration station at Arzal in 2011 for all
+#' stages of eel (Anguilla anguilla)
+#'
+#' @format An object of class bilanMigrationMult with slots:
+#' \describe{
+#'   \item{dc}{the \code{RefDC} object filled with data}
+#'   \item{taxons}{the \code{RefTaxon} object filled in with data corresponding to dc}
+#'   \item{stades}{the \code{RefStades} object filled in with data corresponding to dc, and taxon}
+#'   \item{pasDeTemps}{the \code{PasDeTempsJournalier} calculated for all 2011}
+#'   \item{data}{ A dataframe with 400 rows and 11 variables
+#' 			\describe{
+#'   			\item{ope_identifiant}{operation id}
+#'   			\item{lot_identifiant}{sample id}
+#'   			\item{lot_identifiant}{sample id}
+#'   			\item{ope_dic_identifiant}{dc id}
+#'   			\item{lot_tax_code}{species id}
+#'   			\item{lot_std_code}{stage id}
+#'   			\item{value}{the value}
+#' 				\item{type_de_quantite}{either effectif (number) or poids (weights)}
+#' 				\item{lot_dev_code}{destination of the fishes}
+#' 				\item{lot_methode_obtention}{method of data collection, measured, calculated...} 
+#' 				}
+#'             }
+#'   \item{calcdata}{slot to be filled with the calcule method} 
+#'   \item{coef_conversion} {A data frame with 364 observations with daily coefficients to convert from weight to numbers}
+#'   \item{time.sequence} {A time sequence generated for the bilan, used internally by the object}
+#' 	
+#'   ...
+#' }
+#' the \code{PasDeTempsJournalier} calculated for all 2011}
+
+#' 
+#' 
+#' 
+#' }
+#' 
+"bMM_Arzal"
\ No newline at end of file

Added: branch0.5/stacomir/data/bMM_Arzal.rda
===================================================================
(Binary files differ)


Property changes on: branch0.5/stacomir/data/bMM_Arzal.rda
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branch0.5/stacomir/inst/config/generate_data.R
===================================================================
--- branch0.5/stacomir/inst/config/generate_data.R	                        (rev 0)
+++ branch0.5/stacomir/inst/config/generate_data.R	2016-08-16 14:51:55 UTC (rev 154)
@@ -0,0 +1,11 @@
+#################################
+# generates dataset for BilanMigrationMult
+# from iav three dc with eels
+##################################
+bMM_Arzal=new("BilanMigrationMult")
+bMM_Arzal=load(bMM_Arzal,
+dc=c(5,6,12),
+taxons=c("Anguilla anguilla"),
+stades=c("AGG","AGJ","CIV"),datedebut="2011-01-01",datefin="2011-12-31")
+bMM_Arzal<-connect(bMM_Arzal)
+devtools::use_data(bMM_Arzal,internal=FALSE,overwrite=TRUE)
\ No newline at end of file



More information about the Stacomir-commits mailing list