Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.9%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
Tools for visibility analysis
Basic Info
- Host: GitHub
- Owner: CityRiverSpaces
- License: other
- Language: R
- Default Branch: main
- Homepage: https://cityriverspaces.github.io/visor/
- Size: 1.59 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
- Releases: 1
Created over 1 year ago
· Last pushed 12 months ago
Metadata Files
Readme
Changelog
Contributing
License
Citation
Codemeta
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
warning = FALSE,
message = FALSE
)
```
# visor
[](https://github.com/CityRiverSpaces/visor/actions/workflows/R-CMD-check.yaml)
[](https://doi.org/10.5281/zenodo.15133420)
[](https://CRAN.R-project.org/package=visor)
The goal of visor is to provide a set of tools for visibility analysis.
## Installation
You can install the released version of visor from
[CRAN](https://cran.r-project.org) with:
``` r
install.packages("visor")
```
You can install the development version of visor from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("CityRiverSpaces/visor")
```
## Example
This is a basic example which shows you how to use visor to calculate the isovist for view points on an arbitrary geometry (a line) and a set of occluders:
```{r example}
library(visor)
library(sf)
# Define occluder geoemtries
occluders <- st_sfc(
create_occluder(1, 1, 1, 0.5),
create_occluder(4, 1, 1.5, 0.7),
create_occluder(7, 1, 0.8, 0.8),
create_occluder(2, 5, 2, 1),
create_occluder(5, 5, 1, 1.5),
create_occluder(1, 7, 1.2, 0.6),
create_occluder(7, 7, 1.8, 0.9)
)
# Define the viewpoint source geometry
line <- st_sfc(
st_linestring(matrix(c(0, 3, 9, 3), ncol = 2, byrow = TRUE))
)
# Generate viewpoints
vpoints <- get_viewpoints(line, density = 1)
# Calculate isovist
isovist <- get_isovist(vpoints, occluders, ray_num = 160, ray_length = 5,
remove_holes = FALSE)
plot(isovist, col = "blue")
plot(occluders, col = "grey", add = TRUE)
plot(line, col = "lightblue", add = TRUE)
plot(vpoints, col = "red", add = TRUE)
```
Owner
- Name: CRiSp
- Login: CityRiverSpaces
- Kind: organization
- Repositories: 1
- Profile: https://github.com/CityRiverSpaces
City River Spaces
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: 'visor: Geospatial Tools for Visibility Analysis'
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Claudiu
family-names: Forgaci
email: c.forgaci@tudelft.nl
affiliation: Delft University of Technology
orcid: 'https://orcid.org/0000-0003-3218-5102'
- given-names: Francesco
family-names: Nattino
email: f.nattino@esciencecenter.nl
affiliation: Netherlands eScience Center
orcid: 'https://orcid.org/0000-0003-3286-0139'
identifiers:
- type: doi
value: 10.5281/zenodo.15133420
repository-code: 'https://github.com/CityRiverSpaces/visor'
url: 'https://cityriverspaces.github.io/visor'
abstract: >-
Provides tools for visibility analysis in geospatial data. It
offers functionality to perform isovist calculations, using
arbitrary geometries as both viewpoints and occluders.
keywords:
- R
- isovist
- visibility
- geospatial
license: Apache-2.0
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "visor",
"description": "Provides tools for visibility analysis in geospatial data. It offers functionality to perform isovist calculations, using arbitrary geometries as both viewpoints and occluders.",
"name": "visor: Geospatial Tools for Visibility Analysis",
"relatedLink": "https://cityriverspaces.github.io/visor/",
"codeRepository": "https://github.com/CityRiverSpaces/visor",
"issueTracker": "https://github.com/CityRiverSpaces/visor/issues",
"license": "Apache License 2",
"version": "0.1.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.4.0 (2024-04-24)",
"author": [
{
"@type": "Person",
"givenName": "Claudiu",
"familyName": "Forgaci",
"email": "c.forgaci@tudelft.nl",
"@id": "https://orcid.org/0000-0003-3218-5102"
},
{
"@type": "Person",
"givenName": "Francesco",
"familyName": "Nattino",
"email": "f.nattino@esciencecenter.nl",
"@id": "https://orcid.org/0000-0003-3286-0139"
}
],
"copyrightHolder": [
{
"@type": "Person",
"givenName": "Claudiu",
"familyName": "Forgaci",
"email": "c.forgaci@tudelft.nl",
"@id": "https://orcid.org/0000-0003-3218-5102"
}
],
"funder": [
{
"@type": "Organization",
"name": "Netherlands eScience Center",
"email": "info@esciencecenter.nl"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Claudiu",
"familyName": "Forgaci",
"email": "c.forgaci@tudelft.nl",
"@id": "https://orcid.org/0000-0003-3218-5102"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "knitr",
"name": "knitr",
"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=knitr"
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"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=rmarkdown"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.0.0",
"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": {
"1": {
"@type": "SoftwareApplication",
"identifier": "sf",
"name": "sf",
"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=sf"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "sfheaders",
"name": "sfheaders",
"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=sfheaders"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 4.1.0"
},
"SystemRequirements": null
},
"fileSize": "259.086KB",
"releaseNotes": "https://github.com/CityRiverSpaces/visor/blob/master/NEWS.md",
"readme": "https://github.com/CityRiverSpaces/visor/blob/main/README.md",
"contIntegration": "https://github.com/CityRiverSpaces/visor/actions/workflows/R-CMD-check.yaml"
}
GitHub Events
Total
- Create event: 11
- Release event: 1
- Issues event: 7
- Delete event: 9
- Issue comment event: 27
- Push event: 65
- Pull request review comment event: 14
- Pull request review event: 25
- Pull request event: 17
Last Year
- Create event: 11
- Release event: 1
- Issues event: 7
- Delete event: 9
- Issue comment event: 27
- Push event: 65
- Pull request review comment event: 14
- Pull request review event: 25
- Pull request event: 17
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 5
- Total pull requests: 9
- Average time to close issues: 5 days
- Average time to close pull requests: 1 day
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 1.2
- Average comments per pull request: 0.78
- Merged pull requests: 9
- Bot issues: 1
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 9
- Average time to close issues: 5 days
- Average time to close pull requests: 1 day
- Issue authors: 3
- Pull request authors: 2
- Average comments per issue: 1.2
- Average comments per pull request: 0.78
- Merged pull requests: 9
- Bot issues: 1
- Bot pull requests: 0
Top Authors
Issue Authors
- fnattino (3)
- cforgaci (1)
- github-actions[bot] (1)
Pull Request Authors
- fnattino (5)
- cforgaci (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 222 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: visor
Geospatial Tools for Visibility Analysis
- Homepage: https://cityriverspaces.github.io/visor/
- Documentation: http://cran.r-project.org/web/packages/visor/visor.pdf
- License: Apache License (≥ 2)
-
Latest release: 0.1.0
published about 1 year ago
Rankings
Dependent packages count: 26.8%
Dependent repos count: 33.0%
Average: 48.9%
Downloads: 86.8%
Maintainers (1)
Last synced:
10 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgcheck.yaml
actions
- ropensci-review-tools/pkgcheck-action main composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- dplyr * imports
- rlang * imports
- sf * imports
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests