Function saving dataset to csv file with headers

output_csv_data(
  gcam_dataset,
  col_type_nonyear,
  title,
  unit,
  description = NA,
  code,
  out_dir = out_dir,
  GZIP = F
)

Arguments

gcam_dataset

dataframe name to be saved

col_type_nonyear

column type that is non-year; numeric for years will be pasted

title

title in header

unit

unit in header

description

description in header

code

fao dataset domain code

out_dir

output directory

GZIP

IF TRUE