All Projects → ropenscilabs → Spenv

ropenscilabs / Spenv

Licence: other
Combine environmental and spatial data

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Spenv

Tidymv
Tidy Model Visualisation for Generalised Additive Models
Stars: ✭ 25 (+212.5%)
Mutual labels:  r-package, rstats
Restez
😴 📂 Create and Query a Local Copy of GenBank in R
Stars: ✭ 22 (+175%)
Mutual labels:  r-package, rstats
Timevis
📅 Create interactive timeline visualizations in R
Stars: ✭ 470 (+5775%)
Mutual labels:  r-package, rstats
Metaflow
🚀 Build and manage real-life data science projects with ease!
Stars: ✭ 5,108 (+63750%)
Mutual labels:  r-package, rstats
Patentsview
An R client to the PatentsView API
Stars: ✭ 18 (+125%)
Mutual labels:  r-package, rstats
Gtsummary
Presentation-Ready Data Summary and Analytic Result Tables
Stars: ✭ 450 (+5525%)
Mutual labels:  r-package, rstats
Rdhs
API Client and Data Munging for the Demographic and Health Survey Data
Stars: ✭ 22 (+175%)
Mutual labels:  r-package, rstats
Magick
Magic, madness, heaven, sin
Stars: ✭ 362 (+4425%)
Mutual labels:  r-package, rstats
Proj
⛔️ [DEPRECATED] R wrapper for proj4js
Stars: ✭ 5 (-37.5%)
Mutual labels:  r-package, rstats
Egretci
A bootstrap method for estimating uncertainty of water quality trends
Stars: ✭ 5 (-37.5%)
Mutual labels:  r-package, rstats
Tabulizer
Bindings for Tabula PDF Table Extractor Library
Stars: ✭ 413 (+5062.5%)
Mutual labels:  r-package, rstats
Chr
🔤 Lightweight R package for manipulating [string] characters
Stars: ✭ 18 (+125%)
Mutual labels:  r-package, rstats
Visdat
Preliminary Exploratory Visualisation of Data
Stars: ✭ 377 (+4612.5%)
Mutual labels:  r-package, rstats
Skimr
A frictionless, pipeable approach to dealing with summary statistics
Stars: ✭ 889 (+11012.5%)
Mutual labels:  r-package, rstats
Dataexplorer
Automate Data Exploration and Treatment
Stars: ✭ 362 (+4425%)
Mutual labels:  r-package, rstats
Shinyjs
💡 Easily improve the user experience of your Shiny apps in seconds
Stars: ✭ 566 (+6975%)
Mutual labels:  r-package, rstats
Tweetbotornot
🤖 R package for detecting Twitter bots via machine learning
Stars: ✭ 355 (+4337.5%)
Mutual labels:  r-package, rstats
Assertr
Assertive programming for R analysis pipelines
Stars: ✭ 355 (+4337.5%)
Mutual labels:  r-package, rstats
Vitae
R Markdown Résumés and CVs
Stars: ✭ 627 (+7737.5%)
Mutual labels:  r-package, rstats
Icpsrdata
Reproducible data downloads from the ICPSR data archive
Stars: ✭ 7 (-12.5%)
Mutual labels:  r-package, rstats

spenv

Build Status

spenv - add environmental data to spatial data

See the Wiki for some documentation.

Package API:

  • sp_mutate - get env data for occ data input - not ready yet
  • sp_extract_gridded - extract env gridded data
  • sp_extract_pt - extract env point data
  • sp_query - query for env data - not ready yet
  • find_locs - find locations/stations/etc. based on occ data input - internal fxn used in sp_mutate

Install

devtools::install_github("ropenscilabs/spenv")
library("spenv")

Example: pt env data

file <- system.file("examples", "obis_mola_mola.csv", package = "spenv")
dat <- read.csv(file)
head(dat)
res <- sp_extract_pt(x = dat[1:10,], radius = 100)
res[[1]]

Example: gridded env data

library("spocc")
res <- occ(query = 'Mola mola', from = 'obis', limit = 200)
res_df <- occ2df(res)
out <- sp_extract_gridded(res_df)
## Assuming 'longitude' and 'latitude' are longitude and latitude, respectively
## Loading required namespace: ncdf4
head(out)
##         name longitude  latitude prov       date       key lon_adj   sst
## 4  Mola mola   -67.000  45.09908 obis 2013-08-19 267605308 113.000 16.66
## 8  Mola mola   -58.000  40.96667 obis 1986-02-14 267605048 122.000  0.46
## 19 Mola mola    -8.273  55.26500 obis 1995-07-21 249600046 171.727  8.58
## 20 Mola mola   173.450 -39.73330 obis 1981-12-07 265201106 353.450 13.21
## 21 Mola mola   172.810 -40.62330 obis 1983-01-26 265087487 352.810 12.64
## 23 Mola mola   172.000 -52.10000 obis 1982-04-17 265202514 352.000  1.82

Map it

"map"

Contributors

  • Tom Webb
  • Samuel Bosch
  • Scott Chamberlain

Meta

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].