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:

# your studio.novisci login - will be prompted for password - only need to run once per session
nswpr::login('myusername@novisci.com')

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