sdgsr
R package for interacting with the UN Sustainable Development Goals
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
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
R package for interacting with the UN Sustainable Development Goals
Basic Info
- Host: GitHub
- Owner: DrMattG
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://drmattg.github.io/SDGsR/
- Size: 11.1 MB
Statistics
- Stars: 9
- Watchers: 4
- Forks: 7
- Open Issues: 3
- Releases: 0
Metadata Files
README.md
SDGsR
::: {style="text-align:center;"}

:::
An R package for interacting with the UN Sustainable Development Goals API (https://unstats.un.org/sdgs/UNSDGAPIV5/swagger/), inspired by https://rpubs.com/angelamhkim/sdgapi.
To install this package please use:
r
devtools::install_github("DrMattG/SDGsR", dependencies = TRUE)
Example
r
library(SDGsR)
require(tidyverse)
Goals<-get_SDGs_goals()
Goals %>% select(goal, code, description ) %>%
sample_n(.,3) %>% #randomly select three rows to display
kableExtra::kable()
| goal | code | description | |:-------|:-------|:------------------------------------------------------| | 9 | 9.3 | Increase the access of small-scale industrial and other enterprises, in particular in developing countries, to financial services, including affordable credit, and their integration into value chains and markets | | 5 | 5.4 | Recognize and value unpaid care and domestic work through the provision of public services, infrastructure and social protection policies and the promotion of shared responsibility within the household and the family as nationally appropriate | | 6 | 6.2 | By 2030, achieve access to adequate and equitable sanitation and hygiene for all and end open defecation, paying special attention to the needs of women and girls and those in vulnerable situations |
Citation
r
citation("SDGsR")
```
To cite package 'SDGsR' in publications use:
Matt Grainger (2021). SDGsR: Interface with the UN SDGs API to get
data about the Sustainable Development Goals. R package version
0.0.0.9000. https://drmattg.github.io/SDGsR/
A BibTeX entry for LaTeX users is
@Manual{,
title = {SDGsR: Interface with the UN SDGs API to get data about the Sustainable Development Goals},
author = {Matt Grainger},
year = {2021},
note = {R package version 0.0.0.9000},
url = {https://drmattg.github.io/SDGsR/},
}
```
Owner
- Name: Matthew Grainger
- Login: DrMattG
- Kind: user
- Location: Trondheim, Norway
- Company: @NINAnor
- Repositories: 13
- Profile: https://github.com/DrMattG
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "SDGsR",
"description": "The package allows the user to interface with the UN SDGs data portal through the SDGS API (https://unstats.un.org/SDGAPI/swagger/). The package has a few simple functions that allow the user to get Goals, Targets and Indicators text and get a dataframe of specific indicators for specific countries. ",
"name": "SDGsR: Interface with the UN SDGs API to get data about the Sustainable Development Goals ",
"codeRepository": "https://drmattg.github.io/SDGsR/",
"issueTracker": "https://github.com/DrMattG/SDGsR/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.0.0.9000",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.0.3 (2020-10-10)",
"author": [
{
"@type": "Person",
"givenName": "Matt",
"familyName": "Grainger",
"email": "Matthew.Grainger@NINA.no",
"@id": "https://orcid.org/0000-0001-8426-6495"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Matt",
"familyName": "Grainger",
"email": "Matthew.Grainger@NINA.no",
"@id": "https://orcid.org/0000-0001-8426-6495"
}
],
"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": "ggpubr",
"name": "ggpubr",
"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=ggpubr"
},
{
"@type": "SoftwareApplication",
"identifier": "kableExtra",
"name": "kableExtra",
"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=kableExtra"
},
{
"@type": "SoftwareApplication",
"identifier": "shiny",
"name": "shiny",
"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=shiny"
},
{
"@type": "SoftwareApplication",
"identifier": "plotly",
"name": "plotly",
"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=plotly"
},
{
"@type": "SoftwareApplication",
"identifier": "stringi",
"name": "stringi",
"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=stringi"
},
{
"@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": "R",
"name": "R",
"version": ">= 2.10"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "jsonlite",
"name": "jsonlite",
"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=jsonlite"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "here",
"name": "here",
"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=here"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "readr",
"name": "readr",
"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=readr"
},
"5": {
"@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"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "tidyr",
"name": "tidyr",
"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=tidyr"
},
"SystemRequirements": null
},
"fileSize": "19701.824KB"
}
GitHub Events
Total
- Watch event: 3
- Delete event: 1
- Push event: 2
- Pull request review event: 1
- Pull request event: 2
Last Year
- Watch event: 3
- Delete event: 1
- Push event: 2
- Pull request review event: 1
- Pull request event: 2
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 5
- Total pull requests: 4
- Average time to close issues: 5 months
- Average time to close pull requests: 3 days
- Total issue authors: 4
- Total pull request authors: 3
- Average comments per issue: 2.6
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 6 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- DrMattG (2)
- t1600259 (1)
- Edouard-Legoupil (1)
- gdickens (1)
Pull Request Authors
- vdlcruz670 (2)
- ratnanil (2)
- ConnorFlynn (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 2.10 depends
- dplyr * imports
- here * imports
- jsonlite * imports
- readr * imports
- tidyr * imports
- ggpubr * suggests
- kableExtra * suggests
- knitr * suggests
- plotly * suggests
- rmarkdown * suggests
- shiny * suggests
- stringi * suggests
- testthat >= 3.0.0 suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite