makeGridInsets | R Documentation |
This function takes in an x-ray data frame (see makeXrayDf()) and outputs insets for x-ray grid cells. These insets will either be the numeric part of the letno for the head belonging in that cell or the string "Empty". Export the output of this function as a .csv (with row.names = FALSE) and use that for the mail merge when making x-ray grids.
makeGridInsets(xrdf, sheetSize = 20, test = FALSE)
xrdf |
an x-ray data frame for a given year, generated by makeXrayDf() |
sheetSize |
the number of heads to fit on each x-ray grid sheet |
test |
a boolean for testing inset creation or printing. If TRUE, then the string "Test" is appended to the end of this function's output. |
an array of cell insets to be used when making x-ray grids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.