cbsodataR

Statistics Netherlands (CBS) OpenData API Client for R

https://github.com/edwindj/cbsodatar

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords

cbs census-data officialstatistics opendata r statistics-netherlands
Last synced: 6 months ago · JSON representation

Repository

Statistics Netherlands (CBS) OpenData API Client for R

Basic Info
Statistics
  • Stars: 34
  • Watchers: 8
  • Forks: 12
  • Open Issues: 10
  • Releases: 0
Topics
cbs census-data officialstatistics opendata r statistics-netherlands
Created almost 11 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: rmarkdown::github_document
---

```{r, include=FALSE}
library(dplyr)
```


# Statistics Netherlands (www.cbs.nl) opendata API client for R

[![version](http://www.r-pkg.org/badges/version/cbsodataR)](https://CRAN.R-project.org/package=cbsodataR)
![downloads](http://cranlogs.r-pkg.org/badges/cbsodataR)
 [![R build status](https://github.com/edwindj/cbsodataR/workflows/R-CMD-check/badge.svg)](https://github.com/edwindj/cbsodataR/actions)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/edwindj/cbsodatar?branch=master)](https://ci.appveyor.com/project/edwindj/cbsodatar)


Retrieve data and spatial maps from the [open data interface](http://www.cbs.nl/nl-NL/menu/cijfers/statline/open-data/default.htm) (dutch) of Statistics Netherlands (cbs.nl) with *R*. 

# Installation

From CRAN
```S
install.packages("cbsodataR")
``` 

The latest development version of `cbsodata` can installed using `devtools`.

```R
devtools::install_github("edwindj/cbsodataR")
```

# Usage

Retrieve a table of contents with all SN tables.

```{r}
library(cbsodataR)
ds <- cbs_get_datasets("Language" = "en")
head(ds)
```

or do a search:

```{r}
res <- cbs_search("apple", language="en")
res[1:3, c(1:4)]
```


Use the `Identifier` from tables to retrieve table information

```{r}
cbs_get_meta('71509ENG')
```
Or download data.

```{r}
library(dplyr) # just for example's sake
apples <- cbs_get_data("71509ENG") 

apples |> 
  select(1:4)
```

add label columns:

```{r}
apples |> 
  cbs_add_label_columns() |> 
  select(1:4)
```


For more information, see `vignette("cbsodataR")`

Python user?  Use [cbsodata](https://github.com/J535D165/cbsodata).

Owner

  • Name: Edwin de Jonge
  • Login: edwindj
  • Kind: user
  • Location: @edwindjonge
  • Company: Statistics Netherlands (CBS)

ORCID: 0000-0002-6580-4718

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 2
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 183
  • Total Committers: 3
  • Avg Commits per committer: 61.0
  • Development Distribution Score (DDS): 0.011
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Edwin de Jonge e****e@g****m 181
Sara Houweling s****g@g****m 1
wligtenberg w****m@w****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 36
  • Total pull requests: 4
  • Average time to close issues: 6 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 17
  • Total pull request authors: 4
  • Average comments per issue: 2.33
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • edwindj (11)
  • J535D165 (4)
  • brilstl (2)
  • RichardFromHolland (2)
  • abjeroen (2)
  • markvanderloo (2)
  • jessekps (1)
  • mvanrijn (1)
  • djvanderlaan (1)
  • VincentKars (1)
  • gsverhoeven (1)
  • nmta (1)
  • bevogt (1)
  • victorhartman (1)
  • rwaaijman (1)
Pull Request Authors
  • sarahouweling (1)
  • JacekPardyak (1)
  • jacobkap (1)
  • wligtenberg (1)
Top Labels
Issue Labels
enhancement (7) bug (5)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 705 last-month
  • Total docker downloads: 43,390
  • Total dependent packages: 0
  • Total dependent repositories: 7
  • Total versions: 10
  • Total maintainers: 1
cran.r-project.org: cbsodataR

Statistics Netherlands (CBS) Open Data API Client

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 7
  • Downloads: 705 Last month
  • Docker Downloads: 43,390
Rankings
Forks count: 5.5%
Stargazers count: 9.6%
Dependent repos count: 11.2%
Average: 13.6%
Downloads: 13.9%
Dependent packages count: 27.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • jsonlite * imports
  • utils * imports
  • whisker * imports
  • dplyr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • shiny * suggests
  • testthat >= 2.1.0 suggests
.github/workflows/R-CMD-check.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/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite