From 8f86f3107eab9732dc9549f91c7c760948f2338c Mon Sep 17 00:00:00 2001
From: Ben Anderson <dataknut@icloud.com>
Date: Thu, 26 Apr 2018 16:08:02 +1200
Subject: [PATCH] added new greenGridr package

---
 greenGridr/DESCRIPTION  | 11 +++++++++++
 greenGridr/NAMESPACE    |  1 +
 greenGridr/R/hello.R    | 18 ++++++++++++++++++
 greenGridr/man/hello.Rd | 12 ++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 greenGridr/DESCRIPTION
 create mode 100644 greenGridr/NAMESPACE
 create mode 100644 greenGridr/R/hello.R
 create mode 100644 greenGridr/man/hello.Rd

diff --git a/greenGridr/DESCRIPTION b/greenGridr/DESCRIPTION
new file mode 100644
index 0000000..52aba5f
--- /dev/null
+++ b/greenGridr/DESCRIPTION
@@ -0,0 +1,11 @@
+Package: greenGridr
+Type: Package
+Title: Functions for processing NZ GreenGrid project data
+Version: 0.1.0
+Author: Ben Anderson
+Maintainer: Ben Anderson <b.anderson@soton.ac.uk>
+Description: The NZ GreenGrid project collected electricity consumption data for each circuit of XXX NZ dwellings over a period of XX months from Year1 to Year 2.
+    The project also collected household survey and time-use diary data on specific dates. This package provides a set of functions to process and link this data. Note that the data is _not_ included in the package.
+License: Apache License Version 2.0
+Encoding: UTF-8
+LazyData: true
diff --git a/greenGridr/NAMESPACE b/greenGridr/NAMESPACE
new file mode 100644
index 0000000..d75f824
--- /dev/null
+++ b/greenGridr/NAMESPACE
@@ -0,0 +1 @@
+exportPattern("^[[:alpha:]]+")
diff --git a/greenGridr/R/hello.R b/greenGridr/R/hello.R
new file mode 100644
index 0000000..26b1f90
--- /dev/null
+++ b/greenGridr/R/hello.R
@@ -0,0 +1,18 @@
+# Hello, world!
+#
+# This is an example function named 'hello' 
+# which prints 'Hello, world!'.
+#
+# You can learn more about package authoring with RStudio at:
+#
+#   http://r-pkgs.had.co.nz/
+#
+# Some useful keyboard shortcuts for package authoring:
+#
+#   Build and Reload Package:  'Cmd + Shift + B'
+#   Check Package:             'Cmd + Shift + E'
+#   Test Package:              'Cmd + Shift + T'
+
+hello <- function() {
+  print("Hello, world!")
+}
diff --git a/greenGridr/man/hello.Rd b/greenGridr/man/hello.Rd
new file mode 100644
index 0000000..0fa7c4b
--- /dev/null
+++ b/greenGridr/man/hello.Rd
@@ -0,0 +1,12 @@
+\name{hello}
+\alias{hello}
+\title{Hello, World!}
+\usage{
+hello()
+}
+\description{
+Prints 'Hello, world!'.
+}
+\examples{
+hello()
+}
-- 
GitLab