Closed maurolepore closed 6 years ago
@gonzalezeb,
Thanks for cleaning the column names. I wrote a little function that will help us to read the master dataset more safely -- with an explicit specification of what type to expect from each column. Whenever you can, Could you please check HERE that the column types I specified are correct? (Feel free to edit in place -- directly form GitHub).
Reference:
Column types are correct.
To ensure column types are interpreted as expected, write function to output column types to be passed to
col_types
(see?readr::read_csv
). For example, I used this approach infgeo.tool::type_vft
(https://forestgeo.github.io/fgeo.tool/reference/type_fgeo.html). The type of each column Erika documented as metatada-tables.The code below outputs a list that can be passed to
col_type
ofreadr::read_csv()
. Before I can do this I need help from @gonzalezeb. I asked her to clean the column names of the master data (#31).Once this is done I need to ask @gonzalezeb to confirm the type of each variable.