citHeader("To cite 'pems.utils' package in publications use:")

year <- sub("-.*", "", meta$Date) 
version <- meta$Version
note <- sprintf("R package version %s", version) 

citEntry(entry="Manual",
         title = "pems.utils: Data handling, analysis and visualisation tools for data from portable emissions monitoring systems and other mobile sources.",
         author = personList(as.person("Karl Ropkins")),
         year = year,
         note = note,

         textVersion =
         paste("Karl Ropkins (", year,
               "). pems.utils: Data handling, analysis and visualisation tools for data from portable emissions monitoring systems and other mobile sources. ",
               "R package version ", version, ".", sep=""))

citEntry(entry="proceedings",
         title = "The R package pems.utils: open-source processing, Visualization and Analysis Tools for Portable Emissions Measurement Systems data.",
         author = personList(as.person("Karl Ropkins"),
                             as.person("Stephen Hanley"),
                             as.person("Said Munir")),
         year = "2012",
         note = "22nd CRC Real World Emissions Workshop. San Diego, US, 25-28 March, 2012.",

         textVersion = "Karl Ropkins, Stephen Hanley and Said Munir (2012). The R package pems.utils: open-source processing, Visualization and Analysis Tools for Portable Emissions Measurement Systems data. 22nd CRC Real World Emissions Workshop. San Diego, US, 25-28 March, 2012."
         )


citFooter("Please cite both 'pems.utils' and R ",
          "when using 'pems.utils' for data analysis.",
          "For R citation, see ", sQuote("citation()"))

