{"id":32609087,"url":"https://github.com/gk-crop/sunscanimport","last_synced_at":"2025-10-30T12:53:26.708Z","repository":{"id":156240766,"uuid":"470112836","full_name":"gk-crop/sunscanimport","owner":"gk-crop","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T22:35:18.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T23:27:37.810Z","etag":null,"topics":["data","shiny"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gk-crop.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T10:38:57.000Z","updated_at":"2025-02-04T22:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"4209bd21-dfce-4a0b-a350-d91b28fba1a2","html_url":"https://github.com/gk-crop/sunscanimport","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gk-crop/sunscanimport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gk-crop%2Fsunscanimport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gk-crop%2Fsunscanimport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gk-crop%2Fsunscanimport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gk-crop%2Fsunscanimport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gk-crop","download_url":"https://codeload.github.com/gk-crop/sunscanimport/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gk-crop%2Fsunscanimport/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281810110,"owners_count":26565430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","shiny"],"created_at":"2025-10-30T12:53:20.224Z","updated_at":"2025-10-30T12:53:26.701Z","avatar_url":"https://github.com/gk-crop.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![sunscanimport status badge](https://gk-crop.r-universe.dev/badges/sunscanimport)](https://gk-crop.r-universe.dev)\n\n# sunscanimport \u003cimg src=\"man/figures/logo.svg\" align=\"right\" height=\"139\" /\u003e\n\nFunctions to import and organize LAI measurements from Sunscan device\n\n## Installation \n\n\n\n```\ninstall.packages('sunscanimport',\n  repos = c(\n    'https://gk-crop.r-universe.dev',\n    'https://cloud.r-project.org'\n  )\n)\n```\n\n## Run ShinyApp\n\n```\nsunscanimport::runSunscanApp()\n```\n\n## Converting a file\n\n```\nlibrary(sunscanimport)\n\nfile \u003c- \"paulinenaue.TXT\"\ninputfolder \u003c-  \"data/210908/original/\"\noutputfolder \u003c- \"data/210908/\"\n\nconvfile \u003c- convertSunscanFile(file,inputfolder, outputfolder)\ngenerateReport(convfile, inputfolder, outputfolder)\n```\n\n## Converting a directory\n\nSearches the directory recursively for Sunscan files and converts them.\n\n```\nlibrary(sunscanimport)\nconvertSunScanDirectory(\"data/\")\n```\n\n## Transforming converted data\n\n### Create summary\n\n```\nlibrary(sunscanimport)\ndata \u003c- readr::read_delim(\"data/210908/converted/data_paulinenaue.txt\", delim=\"\\t\")\ndata_summary \u003c- createSummary(data)\n```\n\n### Transform to wide format\n\n```\nlibrary(sunscanimport)\ndata \u003c- readr::read_delim(\"data/210908/converted/data_paulinenaue.txt\", delim=\"\\t\")\ndata_wide \u003c- transformToWideFormat(data)\n```\n\n## Folder structure\n\nFolder structure after conversion of sunscan file `name.TXT`. Optional files \nadded by user are marked with *.\n\n```\nfolder\n  + original\n  |-- name.TXT\n  |-- name.CFG *\n  |-- ReadMe.TXT *\n  + proceeding\n  |-- plotid_name.TXT *\n  |-- measureid_name.TXT *\n  |-- grid_name.TXT *\n  + converted\n  |-- data_name.TXT\n  |-- summary_name.TXT\n  |-- meta_name.TXT\n  + report\n  |-- name.html *\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgk-crop%2Fsunscanimport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgk-crop%2Fsunscanimport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgk-crop%2Fsunscanimport/lists"}