Closed wfmackey closed 3 years ago
I think yes (load it in its own chunk, the first code chunk in each file/chapter) and yes (use .csv
files). We should also (in the 'advanced' bits somewhere) cover the benefits of using other file formats, like .fst
that I used a lot with the tax stuff
The whole-document project is built up from chapter 1 to chapter X. But we also want people to be able to jump in a read a section (e.g. go straight to the Data Visualisation section).
So each chapter needs to have a 'load packages and read this data' bit at the start. And therefore a 'write this data' section at the end of each section (although this could be hidden).
Should it be before the first code chunk in its own code chunk:
... First, read the data generated in the previous chapters and load the required packages:
And should it be a
.csv
file? Probably.