tgver

TGVE R package

https://github.com/tgve/tgver

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 6 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.1%) to scientific vocabulary

Keywords

geospatial-analysis geospatial-visualization

Keywords from Contributors

geo routing interpretability standardization animal hack autograder report
Last synced: 6 months ago · JSON representation

Repository

TGVE R package

Basic Info
Statistics
  • Stars: 5
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
geospatial-analysis geospatial-visualization
Created over 4 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Code of conduct

README.md

tic codecov CRAN status

This is the R package for the TGVE front end npm package tgve. The R package is developed to facilitate interactive geospatial analysis and visualization in R, use R’s echo-system to drive advanced data processing, and facilitate deployment of geospatial web applications in production.

Install

Install tgver from CRAN

r install.packages("tgver")

You can use the latest from GitHub using devtools::install_github("tgve/tgver")

Use

Overall, the package takes advantage of how TGVE can be used (see npm package for documentation) and provides options to R users.

For instance, this document is a Markdown (GitHub) document generated using an Rmarkdown (Rmd) document, if the Rmd is rendered to a HTML output, then using knitr::include_url we should see an instance of the TGVE embedded in the document. Please see the live examples in the vignette which is rendered to HTML.

To do this we can go:

``` r

this is the most basic use

tgver::tgve()

to embed in a html rendered Rmd

html.file = tgver::tgve(browse = FALSE) knitr::include_url(html.file) ```

The first function tgver::tgve(browse=FALSE) prepares an instance of the TGVE but does not run/open it, it returns its path (a tempdir() path). The second line is knitr function to embed the first line’s output.

That was the simplest way of running an instance of TGVE on the local machine. The more advanced but similar function of this package, with the back-end as a plumber API and serving the same instance, would be like:

``` r

start a tgve instance before embedding it

ps = tgver::tgve_server(background = TRUE)

> Attempting to serve TGVE instance from: /tmp/Rtmpevq9TT/tgve

> Running plumber at: http://127.0.0.1/8000

knitr::include_url("http://127.0.0.1:8000")

kill the process returned from underlying callr

ps$kill()

or use the public one

knitr::include_url("https://tgve.github.io/app/")

```

Explore sf objects

For these purposes, the package relies on the plumber API to serve data. So, again within HTML outputs we can explore sf objects like so:

``` r

using sf

nc = sf::stread(system.file("shape/nc.shp", package="sf")) tgver::exploresf(nc) ```

For more see the vignette.

Preview

tgve-vignette

Owner

  • Name: Turing Geovisualization Engine
  • Login: tgve
  • Kind: organization

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 250
  • Total Committers: 6
  • Avg Commits per committer: 41.667
  • Development Distribution Score (DDS): 0.172
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Layik Hama l****a@g****m 207
Roly Perera r****a@d****g 17
nbarlowATI n****w@t****k 14
github-actions[bot] 4****] 10
Roger Beecham r****m@l****k 1
niklomax n****x@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 13
  • Total pull requests: 33
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 19 hours
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 2.69
  • Average comments per pull request: 1.12
  • Merged pull requests: 31
  • 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
  • layik (10)
  • rolyp (2)
  • nbarlowATI (1)
Pull Request Authors
  • layik (32)
  • rolyp (1)
Top Labels
Issue Labels
build & deploy (10) bug (3) documentation (1)
Pull Request Labels
build & deploy (5)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 230 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: tgver

Turing Geovisualization Engine R package

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 230 Last month
Rankings
Stargazers count: 22.5%
Forks count: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 38.9%
Downloads: 77.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • callr * imports
  • geojsonsf * imports
  • plumber * imports
  • covr * suggests
  • curl * suggests
  • devtools * suggests
  • edgebundle * suggests
  • ggplot2 * suggests
  • ggraph * suggests
  • igraph * suggests
  • knitr * suggests
  • maps * suggests
  • rmarkdown * suggests
  • sf * suggests
  • testthat >= 3.0.0 suggests
.github/workflows/pkgdown.yml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/tic.yml actions
  • actions/checkout v2.1.1 composite
  • actions/upload-artifact master composite
  • pat-s/always-upload-cache v2.0.0 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-tinytex v2 composite