diff --git a/greenGridr/DESCRIPTION b/greenGridr/DESCRIPTION new file mode 100644 index 0000000000000000000000000000000000000000..52aba5f1a25d66d2ce7278ec047c18de08fb99cc --- /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 0000000000000000000000000000000000000000..d75f824ec6278db24891505b14ab3d915514dba7 --- /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 0000000000000000000000000000000000000000..26b1f90d75900a32b2c0bd12a106dab96c8ed5d4 --- /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 0000000000000000000000000000000000000000..0fa7c4b8817591c2dff2b3997d2566320ac6d9fc --- /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() +}