geohabnet
Enable users to visualise a habitat connectivity risk index for agriculture using their own
https://github.com/garrettlab/habitatconnectivity
Category: Biosphere
Sub Category: Conservation and Restoration
Keywords
agriculture crop geographical-information-system geography network-analysis networks r surveillance
Last synced: about 21 hours ago
JSON representation
Repository metadata
geohabnet R package
- Host: GitHub
- URL: https://github.com/garrettlab/habitatconnectivity
- Owner: GarrettLab
- License: gpl-3.0
- Created: 2022-11-11T21:02:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T21:02:48.000Z (20 days ago)
- Last Synced: 2025-04-10T03:05:55.201Z (18 days ago)
- Topics: agriculture, crop, geographical-information-system, geography, network-analysis, networks, r, surveillance
- Language: R
- Homepage: https://garrettlab.github.io/HabitatConnectivity/
- Size: 547 MB
- Stars: 6
- Watchers: 5
- Forks: 4
- Open Issues: 13
- Releases: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
README.md
geohabnet
This package expands on Xing et al
(2021).
It adds capabilities to customize parameter values using functions and
shows the results of habitat connectivity risk index in the form of
plots. The goal of geohabnet
is to enable users to visualize a habitat
connectivity risk index using their own parameter values. The risk
analysis outputs 3 maps -
-
Mean habitat connectivity (based on a habitat connectivity index
defined by the user) -
Difference in habitat connectivity
-
Variance in habitat connectivity
This package currently supports crop maps sourced from
geodata::monfredaCrops()
and geodata::spamCrops()
. This analysis
produces the 3 maps listed above. There are multiple ways in which
functions can be used - generate the final outcome and then the
intermediate outcomes for more sophisticated use cases. The vignettes
provide several examples. The output values are propagated to other
functions for performing operations such as distance matrix calculation.
The values are set in parameters.yaml
and it can be accessed using
get_parameters()
. See the usage below.
Installation
Package can either be installed from CRAN:
install.packages("geohabnet")
#> Installing package into '/private/var/folders/r5/zggvft9d3yn5kh51wqp78rd00000gn/T/RtmpBU77e3/temp_libpath4f5365f57439'
#> (as 'lib' is unspecified)
#>
#> The downloaded binary packages are in
#> /var/folders/r5/zggvft9d3yn5kh51wqp78rd00000gn/T//RtmpBqmkXl/downloaded_packages
or the source version of package can be installed from
GitHub with:
if (!require("devtools")) {
install.packages("devtools")
}
devtools::install_github("GarrettLab/HabitatConnectivity", subdir = "geohabnet")
geohabnet Example
library(geohabnet)
param_file <- geohabnet::get_parameters()
# now edit the file
geohabnet::set_parameters(new_params = param_file)
Run the analysis using -
geohabnet::sensitivity_analysis()
parameters.yaml
stores the parameter and its values. It can be
accessed and set using get_parameters()
and set_parameters()
respectively. By default risk analysis is run on global index, for which
scales are present in global_scales()
.
Refer to help using ?geohabnet::fun or help(geohabnet::fun)
Refer to article Analyzing risk index using cropland
connectivity
for more elaborate description and usages of functions in this package.
Owner metadata
- Name: Garrett Lab | University of Florida
- Login: GarrettLab
- Email:
- Kind: user
- Description:
- Website: https://www.garrettlab.com/
- Location:
- Twitter: Garrett_Lab
- Company: University of Florida
- Icon url: https://avatars.githubusercontent.com/u/42421810?u=e5b4d3cd65bf1b90cbb2e55c23e79e32fedcd538&v=4
- Repositories: 1
- Last ynced at: 2023-09-13T01:34:18.859Z
- Profile URL: https://github.com/GarrettLab
GitHub Events
Total
- Issues event: 2
- Push event: 7
- Pull request event: 1
- Create event: 1
Last Year
- Issues event: 2
- Push event: 7
- Pull request event: 1
- Create event: 1
Committers metadata
Last synced: 7 days ago
Total Commits: 363
Total Committers: 4
Avg Commits per committer: 90.75
Development Distribution Score (DDS): 0.102
Commits in past year: 23
Committers in past year: 2
Avg Commits per committer in past year: 11.5
Development Distribution Score (DDS) in past year: 0.174
Name | Commits | |
---|---|---|
Krishna Keshav | k****v@u****u | 326 |
AaronPlex | 7****x | 34 |
ricardoi | r****a@u****u | 2 |
Garrett Lab | University of Florida | 4****b | 1 |
Committer domains:
- ufl.edu: 2
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 64
Total pull requests: 119
Average time to close issues: about 2 months
Average time to close pull requests: 5 days
Total issue authors: 5
Total pull request authors: 3
Average comments per issue: 0.63
Average comments per pull request: 0.57
Merged pull request: 110
Bot issues: 0
Bot pull requests: 0
Past year issues: 8
Past year pull requests: 6
Past year average time to close issues: 21 days
Past year average time to close pull requests: 3 days
Past year issue authors: 3
Past year pull request authors: 2
Past year average comments per issue: 0.75
Past year average comments per pull request: 0.17
Past year merged pull request: 3
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- krishnakeshav (47)
- AaronPlex (13)
- GarrettLab (2)
- ricardoi (1)
- Romaric20 (1)
Top Pull Request Authors
- krishnakeshav (114)
- AaronPlex (4)
- GarrettLab (1)
Top Issue Labels
- enhancement (32)
- documentation (15)
- bug (15)
- help wanted (11)
- good first issue (6)
- question (5)
Top Pull Request Labels
- bug (43)
- enhancement (43)
- documentation (29)
- help wanted (7)
- question (4)
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 281 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
cran.r-project.org: geohabnet
Geographical Risk Analysis Based on Habitat Connectivity
- Homepage: https://garrettlab.github.io/HabitatConnectivity/
- Status: removed
- Documentation: http://cran.r-project.org/web/packages/geohabnet/geohabnet.pdf
- Licenses: GPL-3
- Latest release: 2.1.2 (published about 1 year ago)
- Last Synced: 2025-04-26T12:02:45.604Z (2 days ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 281 Last month
-
Rankings:
- Stargazers count: 25.658%
- Forks count: 28.043%
- Dependent packages count: 29.002%
- Dependent repos count: 36.947%
- Average: 41.308%
- Downloads: 86.89%
- Maintainers (1)
Score: 9.972640411224445