Science Score: 44.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.2%) to scientific vocabulary
Keywords from Contributors
finland
health
sotkanet-data-portal
helsinki
helsinki-region
ropengov
Last synced: 7 months ago
·
JSON representation
·
Repository
Algorithms for Finnish open goverment data
Basic Info
- Host: GitHub
- Owner: rOpenGov
- License: other
- Language: R
- Default Branch: main
- Homepage: http://ropengov.github.io/sorvi
- Size: 10.9 MB
Statistics
- Stars: 13
- Watchers: 10
- Forks: 4
- Open Issues: 2
- Releases: 3
Created over 12 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
Changelog
License
Citation
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "80%"
)
```
[](https://ropengov.org/)
[](https://github.com/rOpenGov/sorvi/actions)
[](https://cran.r-project.org/package=sorvi)
[](https://ropengov.r-universe.dev/)
[](https://github.com/badges/stability-badges)
[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
[](https://twitter.com/intent/follow?screen_name=ropengov)
# sorvi
sorvi package was originally intended for hosting various algorithms for Finnish open goverment data in [R](https://www.r-project.org). After being superseded by later rOpenGov packages that are more specialized in scope (such as geofi, hetu and pxweb), sorvi has now found a new life in hosting various functions that are helpful in rOpenGov package maintenance, authoring and preparing presentations.
Originally rOpenGov/sorvi was a fork of [juusohaapanen/soRvi-dev](https://github.com/juusohaapanen/soRvi-dev) but rOpenGov's sorvi branch has since taken a life of its own. The fork was detached fron juusohaapanen's branch in November 2021.
## Installation
You can install the development version of sorvi from [GitHub](https://github.com/) with:
```{r, eval = FALSE}
# install.packages("remotes")
remotes::install_github("rOpenGov/sorvi")
```
Development version can be also installed using the
[r-universe](https://ropengov.r-universe.dev):
```{r, eval=FALSE}
# Enable this universe
options(repos = c(
ropengov = "https://ropengov.r-universe.dev",
CRAN = "https://cloud.r-project.org"
))
install.packages("sorvi")
```
There is still a CRAN release version of sorvi and while it passes CRAN checks without problems it contains mostly outdated functions. It is therefore highly recommended to use development version of the package.
## Using the package
Loading the package in R:
```{r example_load, eval=TRUE, message=FALSE}
library(sorvi)
```
Get download statistics of eurostat-package, by year:
```{r example_download_stats, eval=TRUE}
df <- cran_downloads(pkgs = "eurostat", sum = "by_year", use.cache = FALSE)
df
```
Get download statistics of various rOpenGov packages over time and draw a chart:
```{r example_visualize, eval=TRUE}
packages <- c("eurostat", "giscoR", "sotkanet", "geofi", "sweidnumbr")
plot <- cran_downloads(pkgs = packages, sum = "total", output = "plot", use.cache = FALSE)
plot
```
For more examples, check the [package vignette](https://ropengov.github.io/sorvi/articles/sorvi_tutorial.html).
## Contributing
* [Submit suggestions and bug reports](https://github.com/ropengov/sorvi/issues) (provide the output of `sessionInfo()` and `packageVersion("sorvi")` and preferably provide a [reproducible example](http://adv-r.had.co.nz/Reproducibility.html))
* [Send a pull request](https://github.com/ropengov/sorvi/)
* [Star us on the Github page](https://github.com/ropengov/sorvi/)
* [See our website](https://ropengov.org/community/) for additional contact information
## Acknowledgements
**Kindly cite this work** as follows:
[Leo Lahti](https://github.com/antagomir/), Juuso Parkkinen, Joona Lehtomaki and Pyry Kantanen (2023). sorvi: Finnish open data toolkit for R. R package version 0.8.21. URL: https://github.com/rOpenGov/sorvi
We are grateful to Jussi Paananen, Einari Happonen, Juuso Haapanen, and all other [contributors](https://github.com/rOpenGov/sorvi/graphs/contributors)! This project is part of [rOpenGov](https://ropengov.org).
[github-watch-badge]: https://img.shields.io/github/watchers/ropengov/sorvi.svg?style=social
[github-watch]: https://github.com/ropengov/sorvi/watchers
[github-star-badge]: https://img.shields.io/github/stars/ropengov/sorvi.svg?style=social
[github-star]: https://github.com/ropengov/sorvi/stargazers
Owner
- Name: rOpenGov
- Login: rOpenGov
- Kind: organization
- Location: Finland
- Website: http://ropengov.org
- Twitter: ropengov
- Repositories: 60
- Profile: https://github.com/rOpenGov
Open government data analytics with R
Citation (CITATION.cff)
# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.5.0
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------
cff-version: 1.2.0
message: 'To cite package "sorvi" in publications use:'
type: software
license: BSD-2-Clause
title: 'sorvi: Functions for Finnish Open Data'
version: 0.8.21
doi: 10.5281/zenodo.598121
abstract: Misc support functions for rOpenGov and open data downloads.
authors:
- family-names: Lahti
given-names: Leo
email: leo.lahti@iki.fi
orcid: https://orcid.org/0000-0001-5537-637X
- family-names: Parkkinen
given-names: Juuso
- family-names: Lehtomaki
given-names: Joona
- family-names: Kantanen
given-names: Pyry
orcid: https://orcid.org/0000-0003-2853-2765
preferred-citation:
type: generic
title: 'sorvi: Finnish open government data toolkit for R'
authors:
- family-names: Lahti
given-names: Leo
email: leo.lahti@iki.fi
orcid: https://orcid.org/0000-0001-5537-637X
- family-names: Parkkinen
given-names: Juuso
- family-names: Lehtomaki
given-names: Joona
- family-names: Haapanen
given-names: Juuso
- family-names: Happonen
given-names: Einari
- family-names: Paananen
given-names: Jussi
- family-names: Kantanen
given-names: Pyry
orcid: https://orcid.org/0000-0003-2853-2765
doi: 10.5281/zenodo.598121
url: https://github.com/rOpenGov/sorvi
year: '2023'
notes: R package version 0.8.21
repository: https://CRAN.R-project.org/package=sorvi
repository-code: https://github.com/ropengov/sorvi
url: https://CRAN.R-project.org/package=sorvi
date-released: '2023-08-21'
contact:
- family-names: Lahti
given-names: Leo
email: leo.lahti@iki.fi
orcid: https://orcid.org/0000-0001-5537-637X
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
location:
name: Vienna, Austria
year: '2023'
institution:
name: R Foundation for Statistical Computing
version: '>= 3.5.0'
- type: software
title: dlstats
abstract: 'dlstats: Download Stats of R Packages'
notes: Imports
url: https://github.com/GuangchuangYu/dlstats
repository: https://CRAN.R-project.org/package=dlstats
authors:
- family-names: Yu
given-names: Guangchuang
email: guangchuangyu@gmail.com
year: '2023'
- type: software
title: dplyr
abstract: 'dplyr: A Grammar of Data Manipulation'
notes: Imports
url: https://dplyr.tidyverse.org
repository: https://CRAN.R-project.org/package=dplyr
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: François
given-names: Romain
orcid: https://orcid.org/0000-0002-2444-4226
- family-names: Henry
given-names: Lionel
- family-names: Müller
given-names: Kirill
orcid: https://orcid.org/0000-0002-1416-3412
- family-names: Vaughan
given-names: Davis
email: davis@posit.co
orcid: https://orcid.org/0000-0003-4777-038X
year: '2023'
- type: software
title: ggplot2
abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
notes: Imports
url: https://ggplot2.tidyverse.org
repository: https://CRAN.R-project.org/package=ggplot2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: Chang
given-names: Winston
orcid: https://orcid.org/0000-0002-1576-2126
- family-names: Henry
given-names: Lionel
- family-names: Pedersen
given-names: Thomas Lin
email: thomas.pedersen@posit.co
orcid: https://orcid.org/0000-0002-5147-4711
- family-names: Takahashi
given-names: Kohske
- family-names: Wilke
given-names: Claus
orcid: https://orcid.org/0000-0002-7470-9261
- family-names: Woo
given-names: Kara
orcid: https://orcid.org/0000-0002-5125-4188
- family-names: Yutani
given-names: Hiroaki
orcid: https://orcid.org/0000-0002-3385-7233
- family-names: Dunnington
given-names: Dewey
orcid: https://orcid.org/0000-0002-9415-4582
year: '2023'
- type: software
title: gh
abstract: 'gh: ''GitHub'' ''API'''
notes: Imports
url: https://gh.r-lib.org/
repository: https://CRAN.R-project.org/package=gh
authors:
- family-names: Bryan
given-names: Jennifer
- family-names: Wickham
given-names: Hadley
year: '2023'
- type: software
title: tidyr
abstract: 'tidyr: Tidy Messy Data'
notes: Imports
url: https://tidyr.tidyverse.org
repository: https://CRAN.R-project.org/package=tidyr
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Vaughan
given-names: Davis
email: davis@posit.co
- family-names: Girlich
given-names: Maximilian
year: '2023'
- type: software
title: purrr
abstract: 'purrr: Functional Programming Tools'
notes: Imports
url: https://purrr.tidyverse.org/
repository: https://CRAN.R-project.org/package=purrr
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@rstudio.com
orcid: https://orcid.org/0000-0003-4757-117X
- family-names: Henry
given-names: Lionel
email: lionel@rstudio.com
year: '2023'
- type: software
title: rlang
abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
notes: Imports
url: https://rlang.r-lib.org
repository: https://CRAN.R-project.org/package=rlang
authors:
- family-names: Henry
given-names: Lionel
email: lionel@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2023'
- type: software
title: utils
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
location:
name: Vienna, Austria
year: '2023'
institution:
name: R Foundation for Statistical Computing
- type: software
title: rvest
abstract: 'rvest: Easily Harvest (Scrape) Web Pages'
notes: Imports
url: https://rvest.tidyverse.org/
repository: https://CRAN.R-project.org/package=rvest
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@rstudio.com
year: '2023'
- type: software
title: xml2
abstract: 'xml2: Parse XML'
notes: Imports
url: https://xml2.r-lib.org/
repository: https://CRAN.R-project.org/package=xml2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@rstudio.com
- family-names: Hester
given-names: Jim
- family-names: Ooms
given-names: Jeroen
year: '2023'
- type: software
title: lubridate
abstract: 'lubridate: Make Dealing with Dates a Little Easier'
notes: Imports
url: https://lubridate.tidyverse.org
repository: https://CRAN.R-project.org/package=lubridate
authors:
- family-names: Spinu
given-names: Vitalie
email: spinuvit@gmail.com
- family-names: Grolemund
given-names: Garrett
- family-names: Wickham
given-names: Hadley
year: '2023'
- type: software
title: checkmate
abstract: 'checkmate: Fast and Versatile Argument Checks'
notes: Imports
url: https://mllg.github.io/checkmate/
repository: https://CRAN.R-project.org/package=checkmate
authors:
- family-names: Lang
given-names: Michel
email: michellang@gmail.com
orcid: https://orcid.org/0000-0001-9754-0393
year: '2023'
- type: software
title: magrittr
abstract: 'magrittr: A Forward-Pipe Operator for R'
notes: Imports
url: https://magrittr.tidyverse.org
repository: https://CRAN.R-project.org/package=magrittr
authors:
- family-names: Bache
given-names: Stefan Milton
email: stefan@stefanbache.dk
- family-names: Wickham
given-names: Hadley
email: hadley@rstudio.com
year: '2023'
- type: software
title: sf
abstract: 'sf: Simple Features for R'
notes: Imports
url: https://r-spatial.github.io/sf/
repository: https://CRAN.R-project.org/package=sf
authors:
- family-names: Pebesma
given-names: Edzer
email: edzer.pebesma@uni-muenster.de
orcid: https://orcid.org/0000-0001-8049-7069
year: '2023'
- type: software
title: gridExtra
abstract: 'gridExtra: Miscellaneous Functions for "Grid" Graphics'
notes: Suggests
repository: https://CRAN.R-project.org/package=gridExtra
authors:
- family-names: Auguie
given-names: Baptiste
email: baptiste.auguie@gmail.com
year: '2023'
- type: software
title: RColorBrewer
abstract: 'RColorBrewer: ColorBrewer Palettes'
notes: Suggests
repository: https://CRAN.R-project.org/package=RColorBrewer
authors:
- family-names: Neuwirth
given-names: Erich
email: erich.neuwirth@univie.ac.at
year: '2023'
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2023'
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2023'
- type: software
title: Cairo
abstract: 'Cairo: R Graphics Device using Cairo Graphics Library for Creating High-Quality
Bitmap (PNG, JPEG, TIFF), Vector (PDF, SVG, PostScript) and Display (X11 and Win32)
Output'
notes: Suggests
url: http://www.rforge.net/Cairo/
repository: https://CRAN.R-project.org/package=Cairo
authors:
- family-names: Urbanek
given-names: Simon
email: Simon.Urbanek@r-project.org
- family-names: Horner
given-names: Jeffrey
email: jeff.horner@vanderbilt.edu
year: '2023'
identifiers:
- type: url
value: https://ropengov.github.io/sorvi/
GitHub Events
Total
Last Year
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| antagomir | l****i@i****i | 170 |
| Pyry Kantanen | p****n@g****m | 57 |
| antagomir | a****r@l****i | 50 |
| Joona Lehtomäki | j****i@g****m | 11 |
| GitHub Actions | a****s@g****m | 11 |
| Jussi Paananen | j****n@u****i | 8 |
| Juuso Parkkinen | o****r | 3 |
| Leo | l****o@l****) | 1 |
| Neo | a****r@a****m | 1 |
| hegroiva | h****n@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 14
- Total pull requests: 13
- Average time to close issues: almost 2 years
- Average time to close pull requests: about 2 hours
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 1.86
- Average comments per pull request: 0.62
- Merged pull requests: 13
- 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
- antagomir (10)
- jlehtoma (1)
- Vili (1)
- pe3 (1)
- pitkant (1)
Pull Request Authors
- pitkant (8)
- juuussi (2)
- antagomir (2)
- jlehtoma (1)
Top Labels
Issue Labels
enhancement (2)
question (1)
documentation (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 261 last-month
- Total docker downloads: 43,390
- Total dependent packages: 0
- Total dependent repositories: 2
- Total versions: 6
- Total maintainers: 1
cran.r-project.org: sorvi
Functions for Finnish Open Data
- Homepage: https://github.com/ropengov/sorvi
- Documentation: http://cran.r-project.org/web/packages/sorvi/sorvi.pdf
- License: BSD_2_clause + file LICENSE
-
Latest release: 0.8.21
published over 2 years ago
Rankings
Docker downloads count: 0.6%
Forks count: 12.2%
Stargazers count: 14.6%
Dependent repos count: 19.2%
Average: 20.3%
Dependent packages count: 28.7%
Downloads: 46.7%
Maintainers (1)
Last synced:
8 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.3.0 depends
- checkmate * imports
- dlstats * imports
- dplyr * imports
- ggplot2 * imports
- gh * imports
- lubridate * imports
- purrr * imports
- rlang * imports
- rvest * imports
- tidyr * imports
- utils * imports
- xml2 * imports
- Cairo * suggests
- RColorBrewer * suggests
- gridExtra * suggests
- knitr * suggests
- rmarkdown * suggests
.github/workflows/check-release.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/check-standard.yaml
actions
- actions/checkout v3 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/render-readme.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-renv v2 composite
.github/workflows/rogtemplate-gh-pages.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite