Closed Mateo9569 closed 8 months ago
yup. we need to use a populated version. We have one in dff
https://github.com/NewGraphEnvironment/dff-2022/blob/master/data/FDS_Template2021-01-28.xls
however - since we have a new version we may as well populate it similiar to the 2021 version. We can keep the master here for now and just read it in direct for field form processing https://github.com/NewGraphEnvironment/dff-2022/tree/master/data/templates
in each report repo
Let's perhaps keep an exact copy of the dff
template in a directory called data/inputs_raw
it is this row of the function that checks for types.
relates to https://github.com/NewGraphEnvironment/fpr/issues/6 - need to build fpr_xref
for the input call eventually but that can take some time and using the dff populated template should perhaps work for now (will prob come up again later somewhere...)
Similar issue for reference last year here. I don't remember this ever being fully resolved. The problem occurs when building the loc form and again when building the site form site form. What is the easiest way to get around this? Other than to convert the types of every column individually. Maybe I'm missing something. When reading in the empty template using
fpr::fpr_import_hab_con(backup = F, row_empty_remove = T)
, does it need to be populated with a row of data so that R knows the column types?