On the NoviSci Web Platform the report system supports two types of reports:

  1. Static HTML - output from RMarkdown using the NoviSci Hugo Template uploaded to the platform via nswpr package
  2. Dynamic Report - built via a web based report creation tool with data uploaded via nswpr package.

This article describes importing the data for option 1.

Upload a version of a report:

folder <- '/home/myusername/myreportdir'
report <- nswpr::upload_report_content(report$id, folder)