Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Analysis of spatially distributed data
R

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
R
data
inst
man
templates
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md

README.md

RSurvey: A processing program for spatially distributed data

This R package is a processing program for spatially distributed data. RSurvey features graphing tools, query building, and polygon clipping. A graphical user interface (GUI) is provided and requires R operate as an SDI application, using multiple top-level windows for the console, graphics, and pager.

Files can be one of four types as indicated by their extension: tables (.txt, .csv, .dat, or .shp), grids (.grd), polygons (.ply), or binary project images (.rda). Tables (.txt, .csv, .dat) can be compressed by gzip with additional extension .gz. Shapefles (.shp) and interpolated grid files (.grd) are limited to data export. Support for programmatic manipulation of measurement units is only provided for date-time values; therefore, the bulk of unit consistency is tasked to the user. Time zones, spatial datum's and projections are not supported.

The set of standards used for coding RSurvey is documented in Google's R Style Guide.

Install

If R is not already installed on your computer, download and install the latest binary distribution from CRAN. Windows users should set R to operate as an SDI application during installation by choosing to customize the startup options and specifying the SDI interface (not the default).

Install required R packages from CRAN using a simple call to install.packages:

> install.packages('RSurvey')

Install optional R packages rgdal for shapefile support and dichromat for color-blind safe palettes:

> install.packages(c('rgdal', 'dichromat'))

Support for displaying table data is provided by tktable, a spreadsheet-like Tcl/Tk widget (included with the Windows binary distribution of R). A call to tclRequire will indicate whether tktable is available for use:

> tclRequire('Tktable')

Run

Load RSurvey in the current R session:

> library(RSurvey)

Activate the main GUI:

> OpenRSurvey()

Example data sets are provided in inst/extdata.

Something went wrong with that request. Please try again.