Package: sunscanimport 0.3.4

sunscanimport: Imports data from sunscan device

Provides functions to import, convert and visualize LAI measurements from Sunscan device. An interactive shiny app is included.

Authors:Gunther Krauss <[email protected]>

sunscanimport_0.3.4.tar.gz
sunscanimport_0.3.4.zip(r-4.5)sunscanimport_0.3.4.zip(r-4.4)sunscanimport_0.3.4.zip(r-4.3)
sunscanimport_0.3.4.tgz(r-4.4-any)sunscanimport_0.3.4.tgz(r-4.3-any)
sunscanimport_0.3.4.tar.gz(r-4.5-noble)sunscanimport_0.3.4.tar.gz(r-4.4-noble)
sunscanimport_0.3.4.tgz(r-4.4-emscripten)sunscanimport_0.3.4.tgz(r-4.3-emscripten)
sunscanimport.pdf |sunscanimport.html
sunscanimport/json (API)
NEWS

# Install 'sunscanimport' in R:
install.packages('sunscanimport', repos = c('https://gk-crop.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gk-crop/sunscanimport/issues

On CRAN:

datashiny

1.70 score 52 exports 80 dependencies

Last updated 2 years agofrom:dbd02e1eb5. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winNOTEOct 31 2024
R-4.5-linuxNOTEOct 31 2024
R-4.4-winNOTEOct 31 2024
R-4.4-macNOTEOct 31 2024
R-4.3-winNOTEOct 31 2024
R-4.3-macNOTEOct 31 2024

Exports:addPlotIDaddPlotIDFromDataboxplotFileNameconvertSunScanDirectoryconvertSunscanFilecountMeasurementscreateBoxplotcreateFolderscreateGridPlotcreateGridPlotLAIcreateSeriesInfocreateSummarycreateTimePlotcreateTimePlotLAIdataFileNamegenerateInitialGridDatagenerateInitialMeasurementIdDatagenerateInitialPlotIdDatagenerateReportgenerateSampleMeasurementIdDatagenerateSamplePlotIdDatagetDatagetFileListgetHeadergetParDatagetSmallHeaderheaderFileNameisDataLineisMovedFileisSunscanFileisTitleLinemovedFileNamemoveFilesToSubfoldersmoveOriginalFilepardataFileNamereadConvertedDatareadConvertedFilesreadConvertedHeaderreadConvertedParDatareadConvertedSummaryreadIdDatareorderDataColumnsreportFileNamerunSunscanAppsaveBoxplotsaveDatasaveHeadersaveParDatasplitLinesstripFileExtensionsummaryFileNametransformToWideFormat

Dependencies:base64encbitbit64bslibcachemclicliprcolorspacecommonmarkcpp11crayoncrosstalkdigestdplyrDTevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppreadrrlangrmarkdownsassscalesshinysourcetoolsstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevroomwithrxfunxtableyamlzip

Readme and manuals

Help Manual

Help pageTopics
Adds PlotID column to LAI dataaddPlotID
Adds PlotID column to LAI dataaddPlotIDFromData
Converts all SunScan data files in a directory (and it's subdirectories)convertSunScanDirectory
Converts a SunScan data fileconvertSunscanFile
Counts measurementscountMeasurements
Creates a boxplot for LAI datacreateBoxplot
Creates (sub)folders for converted data and reportscreateFolders
Plots the PlotNr arranged in a gridcreateGridPlot
Plots LAI on a gridcreateGridPlotLAI
Summarise information about measurement seriescreateSeriesInfo
Summarises data for each PlotIDcreateSummary
Plots measurements over timecreateTimePlot
Plots measurements over timecreateTimePlotLAI
Creates initial grid datagenerateInitialGridData
Generates report concerning converted datagenerateReport
Creates Sample MeasurementID datagenerateSampleMeasurementIdData
Generates sample ID datagenerateInitialMeasurementIdData generateInitialPlotIdData generateSamplePlotIdData
Extracts LAI data from the file linesgetData
Fetches recursively all possible data files from a directorygetFileList
Gets meta data from the file headergetHeader
Extracts PAR data from the file linesgetParData
Gets meta data from the file headergetSmallHeader
File name for the metadata fileboxplotFileName dataFileName headerFileName pardataFileName reportFileName summaryFileName
Checks if the line is a data lineisDataLine
Checks if the data file has been moved to subfolder 'original'isMovedFile
Checks if given file is a valid SunScan fileisSunscanFile
Checks if the line is a title lineisTitleLine
Returns path for the data file moved to 'original' subfoldermovedFileName
Moves data file to subfolder 'original'moveFilesToSubfolders
Moves data file to subfolder 'original'moveOriginalFile
Reads converted datareadConvertedData readConvertedFiles readConvertedHeader readConvertedParData readConvertedSummary
Read dataframe with PlotID columnreadIdData
Reorders columns in converted datareorderDataColumns
Runs Shiny apprunSunscanApp
Saves metadata to filesaveBoxplot saveData saveHeader saveParData saveSummary
Splits the data when file contains multiple headerssplitLines
Strips the file extensionstripFileExtension
Functions to import, convert and visualise data from LAI Sunscan devicesunscanimport
Transform LAI data to wide format (1 row per PlotID)transformToWideFormat