citHeader("To cite 'loa' package in publications use:")

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

bibentry(bibtype="Manual",
         title = "loa: various plots, options and add-ins for use with lattice.",
         author = c(as.person("Karl Ropkins")),
         year = year,
         note = note,
         textVersion =
         paste("Karl Ropkins (", year,
               "). loa: various plots, options and add-ins for use with lattice. ",
               "R package version ", version, ".", sep=""))

bibentry(bibtype = "Article",
  title        = "{RgoogleMaps} and {loa}: Unleashing {R} Graphics Power on Map Tiles",
  author       = c(as.person("Markus Loecher"),
                   as.person("Karl Ropkins")),
  journal      = "Journal of Statistical Software",
  year         = "2015",
  volume       = "63",
  number       = "4",
  pages        = "1--18",
  url          = "https://www.jstatsoft.org/article/view/v063i04",

  textVersion  =
  paste("Markus Loecher, Karl Ropkins (2015).",
        "RgoogleMaps and loa: Unleashing R Graphics Power on Map Tiles.",
        "Journal of Statistical Software, 63(4), 1-18.",
        "https://www.jstatsoft.org/article/view/v063i04.")
        )

bibentry(bibtype="proceedings",
         title = "R, lattice and RgoogleMaps: A practical framework for the development of new geovisualizations.",
         author = c(as.person("Karl Ropkins"),
                             as.person("David C. Carslaw"),
                             as.person("Said Munir"),
                             as.person("Haibo Chen")),
         year = "2012",
         note = "Invited paper for Special Session on Statistical Graphics, American Statistical Association (ASA) 2012 Joint Statistical Meeting, San Diego, US, 29 July - 2 August, 2012.",

         textVersion = "Karl Ropkins, David C. Carslaw, Said Munir and Haibo Chen (2012). R, lattice and RgoogleMaps: A practical framework for the development of new geovisualizations. Invited paper for Special Session on Statistical Graphics, American Statistical Association (ASA) 2012 Joint Statistical Meeting, San Diego, US, 29 July - 2 August, 2012."
         )

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

