-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8c4c2db
Showing
26 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: londonShapefiles | ||
Type: Package | ||
Title: What the package does (short line) | ||
Version: 1.0 | ||
Date: 2015-03-10 | ||
Author: Who wrote it | ||
Maintainer: Who to complain to <[email protected]> | ||
Description: More about what it does (maybe more than one line) | ||
License: What license is it under? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Generated by roxygen2 (4.1.0): do not edit by hand | ||
|
||
export(load_la) | ||
export(load_lon) | ||
export(load_thames) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#' London's local authority boundaries | ||
#' @description Load shapefile of London's local authority boundaries (GLA boroughs) as a SpatialPolygonsDataFrame | ||
#' @return Object 'lon', a 33 row SpatialPolygonsDataFrame | ||
#' @export | ||
#' @example examples/load_la.R | ||
load_la = function(){ | ||
require(maptools) | ||
la <<- readShapePoly('data/local_authorities.shp', proj4string=CRS('+init=epsg:27700')) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#' London's outline | ||
#' @description Load shapefile of London's outline (Greater London Authority) as a SpatialPolygonsDataFrame | ||
#' @return Object 'lon', a single row SpatialPolygonsDataFrame | ||
#' @export | ||
#' @example examples/load_lon.R | ||
load_lon = function(){ | ||
require(maptools) | ||
lon <<- readShapePoly('data/london_outline_simple.shpp', proj4string=CRS('+init=epsg:27700')) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#' River Thames | ||
#' @description Load shapefile of River Thames as a SpatialPolygonsDataFrame | ||
#' @return Object 'lon', a 1 row SpatialPolygonsDataFrame | ||
#' @export | ||
#' @example examples/load_thames.R | ||
load_thames = function(){ | ||
require(maptools) | ||
la <<- readShapePoly('data/river_thames.shp', proj4string=CRS('+init=epsg:27700')) | ||
} |
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["Transverse_Mercator",GEOGCS["GCS_OSGB 1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["Meter",1]] |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["Transverse_Mercator",GEOGCS["GCS_OSGB 1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["Meter",1]] |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PROJCS["Transverse_Mercator",GEOGCS["GCS_OSGB 1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["Meter",1]] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
load_la.R() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
load_lon.R() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
load_thames.R() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source | ||
PackageRoxygenize: rd,collate,namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
% Generated by roxygen2 (4.1.0): do not edit by hand | ||
% Please edit documentation in R/load_la.R | ||
\name{load_la} | ||
\alias{load_la} | ||
\title{London's local authority boundaries} | ||
\usage{ | ||
load_la() | ||
} | ||
\value{ | ||
Object 'lon', a 33 row SpatialPolygonsDataFrame | ||
} | ||
\description{ | ||
Load shapefile of London's local authority boundaries (GLA boroughs) as a SpatialPolygonsDataFrame | ||
} | ||
\examples{ | ||
load_la.R() | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
% Generated by roxygen2 (4.1.0): do not edit by hand | ||
% Please edit documentation in R/load_lon.R | ||
\name{load_lon} | ||
\alias{load_lon} | ||
\title{London's outline} | ||
\usage{ | ||
load_lon() | ||
} | ||
\value{ | ||
Object 'lon', a single row SpatialPolygonsDataFrame | ||
} | ||
\description{ | ||
Load shapefile of London's outline (Greater London Authority) as a SpatialPolygonsDataFrame | ||
} | ||
\examples{ | ||
load_lon.R() | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
% Generated by roxygen2 (4.1.0): do not edit by hand | ||
% Please edit documentation in R/load_thames.R | ||
\name{load_thames} | ||
\alias{load_thames} | ||
\title{River Thames} | ||
\usage{ | ||
load_thames() | ||
} | ||
\value{ | ||
Object 'lon', a 1 row SpatialPolygonsDataFrame | ||
} | ||
\description{ | ||
Load shapefile of River Thames as a SpatialPolygonsDataFrame | ||
} | ||
\examples{ | ||
load_thames.R() | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
\name{londonShapefiles-package} | ||
\alias{londonShapefiles-package} | ||
\alias{londonShapefiles} | ||
\docType{package} | ||
\title{ | ||
What the package does (short line) | ||
~~ package title ~~ | ||
} | ||
\description{ | ||
More about what it does (maybe more than one line) | ||
~~ A concise (1-5 lines) description of the package ~~ | ||
} | ||
\details{ | ||
\tabular{ll}{ | ||
Package: \tab londonShapefiles\cr | ||
Type: \tab Package\cr | ||
Version: \tab 1.0\cr | ||
Date: \tab 2015-03-10\cr | ||
License: \tab What license is it under?\cr | ||
} | ||
~~ An overview of how to use the package, including the most important functions ~~ | ||
} | ||
\author{ | ||
Who wrote it | ||
|
||
Maintainer: Who to complain to <yourfault@somewhere.net> | ||
~~ The author and/or maintainer of the package ~~ | ||
} | ||
\references{ | ||
~~ Literature or other references for background information ~~ | ||
} | ||
~~ Optionally other standard keywords, one per line, from file KEYWORDS in the R ~~ | ||
~~ documentation directory ~~ | ||
\keyword{ package } | ||
\seealso{ | ||
~~ Optional links to other man pages, e.g. ~~ | ||
~~ \code{\link[<pkg>:<pkg>-package]{<pkg>}} ~~ | ||
} | ||
\examples{ | ||
~~ simple examples of the most important functions ~~ | ||
} |