Giter VIP home page Giter VIP logo

sensorweb4r's Introduction

sensorweb4R

R extension package to integrate sensor data into R using the 52°North Sensor Web Client API.

Build Status OpenHUB

Installation

The sensorweb4R package is not on CRAN yet, so please download and install the package manually. The first option is using the package devtools, which also works well for your own fork or development versions by other contributors.

So, if you don't have devtools installed:

install.packages("devtools")

Continue:

devtools::install_github("52North/sensorweb4R")

To also install the vignettes run:

devtools::install_github("52North/sensorweb4R", build_vignettes = TRUE)

Alternatively, you can download the source code and install the package from source. For this to work must have both git and R (see documentation here for Windows) on your path. Then run the following commands:

git clone https://github.com/52North/sensorweb4R
R CMD INSTALL sensorweb4R

Documentation

Demos

Take a look at the demos to see how to use the package:

library(sensorweb4R)
demo(package = "sensorweb4R")

For some of the demo's you will need:

install.packages("maptools")
install.packages("mapdata")
install.packages("rgdal")

On Fedora/RedHat/CentOS you will need the following yum packages to be able to install rgdal:

yum install gdal gdal-devel gdal-static proj-devel proj-epsg

On Mac OS X you will need GDAL e.g. precompiled from here. Depending on the version of the OS, you will probably not find a suitable rgdal in CRAN. To install manually:

  • download "package source" from http://cran.r-project.org/web/packages/rgdal/index.html
  • from a terminal:
cd ~/Downloads/
sudo R CMD INSTALL -configure-args'-with-proj-include=/usr/local/lib' rgdal_0.9-1.tar.gz

Then restart R or RStudio.

Vignette

Futher user documentation is in the R help and the vignettes:

vignette(package = "sensorweb4R")

Reference manual

When installed from source or GitHub, run the command Rd2pdf on the regular command line from the parent directory of the package. This will create the reference manual, which describes all functions in the package:

R CMD Rd2pdf sensorweb4R

Development

Building the documentation

devtools::document()

Contact / Support

Please direct support questions to the 52°North Sensor Web Community mailing list/forum: http://sensorweb.forum.52north.org/ (and read the guidelines beforehand).

Add an issue/comment on GitHub if you found a bug or want to collaborate on new features.

License

This R extension package is licensed under Apache License 2.0.

Documentation (namely the vignettes) are published under CC BY 4.0.

sensorweb4r's People

Contributors

autermann avatar opeeters avatar edzer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.