Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.0%) to scientific vocabulary
Keywords
r
r-package
rstats
Last synced: 10 months ago
·
JSON representation
Repository
Combine environmental and spatial data
Basic Info
- Host: GitHub
- Owner: sckott
- License: other
- Language: R
- Default Branch: master
- Homepage: https://sckott.github.io/spenv/
- Size: 69.3 KB
Statistics
- Stars: 8
- Watchers: 6
- Forks: 1
- Open Issues: 5
- Releases: 0
Topics
r
r-package
rstats
Created over 10 years ago
· Last pushed over 5 years ago
Metadata Files
Readme
License
Codemeta
README.Rmd
spenv
=====
```{r echo=FALSE}
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
warning = FALSE,
message = FALSE
)
```
[](https://www.repostatus.org/#concept)
[](https://travis-ci.org/sckott/spenv)
`spenv` - add environmental data to spatial data
Docs: https://sckott.github.io/spenv/
## 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`
## Data sources
* High priority: There are a set of data sources for environmental data, some of which are high priority as determined by perhaps data quality, coverage, etc.
* temperature, chlorophyll, ...
* Available in R: Then there are a set of data sources that are already available in R.
* We should identify the set of high priority data sources that are not yet available in R, and make them so.
List of datasources on [Google Sheets](https://docs.google.com/spreadsheets/d/1Ot_HCrsrCJM19cVWz7kSEHipLYd-7WTldJYPDlCCRC4/edit?usp=sharing)
## Use cases
I want data...
* for this bounding box for this temporal range and spatial resolution
* that is of a certain license, because:
* I want only open data, e.g., CC0
* I want data I can redistribute
* I want data that I can purchase or resell
## Install
```{r eval=FALSE}
remotes::install_github("sckott/spenv")
```
```{r}
library("spenv")
```
## Example: pt env data
```{r eval=FALSE}
file <- system.file("examples", "obis_mola_mola.csv", package = "spenv")
dat <- read.csv(file)
head(dat)
```
```{r eval=FALSE}
res <- sp_extract_pt(x = dat[1:10,], radius = 100)
res[[1]]
```
## Example: gridded env data
```{r}
library("spocc")
res <- occ(query = 'Mola mola', from = 'obis', limit = 200)
res_df <- occ2df(res)
out <- sp_extract_gridded(res_df)
head(out)
```
Map it
"map"
## Contributors
* Tom Webb
* Samuel Bosch
* Scott Chamberlain
## Meta
* Please [report any issues or bugs](https://github.com/sckott/spenv/issues).
* License: MIT
* Get citation information for `spenv` in R doing `citation(package = 'spenv')`
* Please note that this project is released with a [Contributor Code of Conduct][coc].
By participating in this project you agree to abide by its terms.
[coc]: https://github.com/sckott/spenv/blob/master/CODE_OF_CONDUCT.md
Owner
- Name: Scott Chamberlain
- Login: sckott
- Kind: user
- Location: Oregon
- Company: Fred Hutch Data Science Lab/Office of the Chief Data Officer
- Website: https://scottchamberlain.info
- Repositories: 227
- Profile: https://github.com/sckott
Software Engineer @ Fred Hutch
CodeMeta (codemeta.json)
{
"@context": [
"http://purl.org/codemeta/2.0",
"http://schema.org"
],
"@type": "SoftwareSourceCode",
"identifier": "spenv",
"description": "Add Environmental Data to Spatial Data.",
"name": "spenv: Add Environmental Data to Spatial Data",
"codeRepository": "https://github.com/sckott/spenv",
"issueTracker": "https://github.com/sckott/spenv/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.0.3.91",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.0.2 Patched (2020-09-01 r79114)",
"author": [
{
"@type": "Person",
"givenName": "Scott",
"familyName": "Chamberlain",
"email": "myrmecocystus@gmail.com",
"@id": "https://orcid.org/0000-0003-1444-9135"
},
{
"@type": "Person",
"givenName": "Tom",
"familyName": "Webb"
},
{
"@type": "Person",
"givenName": "Samuel",
"familyName": "Bosch"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Scott",
"familyName": "Chamberlain",
"email": "myrmecocystus@gmail.com",
"@id": "https://orcid.org/0000-0003-1444-9135"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
}
],
"softwareRequirements": [
{
"@type": "SoftwareApplication",
"identifier": "methods",
"name": "methods"
},
{
"@type": "SoftwareApplication",
"identifier": "stats",
"name": "stats"
},
{
"@type": "SoftwareApplication",
"identifier": "utils",
"name": "utils"
},
{
"@type": "SoftwareApplication",
"identifier": "rnoaa",
"name": "rnoaa",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rnoaa"
},
{
"@type": "SoftwareApplication",
"identifier": "sp",
"name": "sp",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=sp"
},
{
"@type": "SoftwareApplication",
"identifier": "rgeos",
"name": "rgeos",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rgeos"
},
{
"@type": "SoftwareApplication",
"identifier": "lubridate",
"name": "lubridate",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=lubridate"
},
{
"@type": "SoftwareApplication",
"identifier": "raster",
"name": "raster",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=raster"
},
{
"@type": "SoftwareApplication",
"identifier": "dplyr",
"name": "dplyr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=dplyr"
}
],
"contIntegration": "https://travis-ci.org/sckott/spenv",
"readme": "https://github.com/sckott/spenv/blob/master/README.md",
"fileSize": "0KB",
"relatedLink": "https://sckott.github.io/spenv/",
"contributor": {},
"copyrightHolder": {},
"funder": {},
"developmentStatus": "https://www.repostatus.org/#concept",
"keywords": [
"rstats",
"r",
"r-package"
]
}
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Scott Chamberlain | m****s@g****m | 38 |
| Pieter Provoost | p****t@g****m | 1 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 7
- Total pull requests: 1
- Average time to close issues: 1 day
- Average time to close pull requests: about 1 hour
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- sckott (5)
- tomjwebb (1)
Pull Request Authors
- pieterprovoost (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
.github/workflows/build-docs.yml
actions
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
DESCRIPTION
cran
- dplyr * imports
- lubridate * imports
- methods * imports
- raster * imports
- rgeos * imports
- rnoaa * imports
- sp * imports
- stats * imports
- utils * imports
- testthat * suggests