View source: R/fixReportSirenoFiles.R
fixReportSirenoFiles | R Documentation |
This function check the number of variables and works as follow: - If the number of variables is the same of the theoretical, there aren't any changes. - When there are more variables than theoretical, the last variables are collapsed in the last one and changed the ";" to "." inside the observations variable - When there are less variable than the theoretical, we assume an enter has been saved in the observations variable of the previous row and after the enter there are more semicolons. The content of this row is added to the variable observation of the previous row and the ";" is changed to ".".
fixReportSirenoFiles(filename, filetype, path = getwd(), temporal = F)
filename |
File name of the file to check. |
filetype |
Type of file: RIM_CATCHES, RIM_CATCHES_IN_LENGTHS, RIM_LENGTHS, OAB_TRIPS, OAB_HAULS, OAB_CATCHES, OAB_LENGTHS, OAB_LITTER, OAB_ACCIDENTAL |
path |
Path of the file. |
temporal |
If is True, the file is exported in a temporal directory. This is useful when this function is used with sapmuebase import functions. When is false, the fixed report is exported in the path location |
Use this function carefully, if the format or the sireno reports changed can produce unexpected results. Furthermore, only is appropriate when the 'observations' field is the last one of the row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.