{"id":18174393,"url":"https://github.com/edwindj/cbsodataR","last_synced_at":"2025-04-01T15:31:21.780Z","repository":{"id":31236895,"uuid":"34798294","full_name":"edwindj/cbsodataR","owner":"edwindj","description":"Statistics Netherlands (CBS) OpenData API Client for R","archived":false,"fork":false,"pushed_at":"2024-10-11T09:42:28.000Z","size":1539,"stargazers_count":34,"open_issues_count":10,"forks_count":12,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T15:27:21.510Z","etag":null,"topics":["cbs","census-data","officialstatistics","opendata","r","statistics-netherlands"],"latest_commit_sha":null,"homepage":"https://edwindj.github.io/cbsodataR","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edwindj.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-29T14:24:37.000Z","updated_at":"2025-03-17T10:00:48.000Z","dependencies_parsed_at":"2024-01-16T21:30:14.500Z","dependency_job_id":"8589c029-8a5d-48e7-a0d7-2d2fb423e002","html_url":"https://github.com/edwindj/cbsodataR","commit_stats":{"total_commits":183,"total_committers":3,"mean_commits":61.0,"dds":"0.010928961748633892","last_synced_commit":"176d653e63d43fb4c77d1015e9ea830fa8e9df64"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FcbsodataR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FcbsodataR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FcbsodataR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwindj%2FcbsodataR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwindj","download_url":"https://codeload.github.com/edwindj/cbsodataR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246489574,"owners_count":20785883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cbs","census-data","officialstatistics","opendata","r","statistics-netherlands"],"created_at":"2024-11-02T16:03:05.612Z","updated_at":"2025-04-01T15:31:21.305Z","avatar_url":"https://github.com/edwindj.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\n---\n\n```{r, include=FALSE}\nlibrary(dplyr)\n```\n\n\n# Statistics Netherlands (www.cbs.nl) opendata API client for R\n\n[![version](http://www.r-pkg.org/badges/version/cbsodataR)](https://CRAN.R-project.org/package=cbsodataR)\n![downloads](http://cranlogs.r-pkg.org/badges/cbsodataR)\n [![R build status](https://github.com/edwindj/cbsodataR/workflows/R-CMD-check/badge.svg)](https://github.com/edwindj/cbsodataR/actions)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/edwindj/cbsodatar?branch=master)](https://ci.appveyor.com/project/edwindj/cbsodatar)\n\n\nRetrieve 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*. \n\n# Installation\n\nFrom CRAN\n```S\ninstall.packages(\"cbsodataR\")\n``` \n\nThe latest development version of `cbsodata` can installed using `devtools`.\n\n```R\ndevtools::install_github(\"edwindj/cbsodataR\")\n```\n\n# Usage\n\nRetrieve a table of contents with all SN tables.\n\n```{r}\nlibrary(cbsodataR)\nds \u003c- cbs_get_datasets(\"Language\" = \"en\")\nhead(ds)\n```\n\nor do a search:\n\n```{r}\nres \u003c- cbs_search(\"apple\", language=\"en\")\nres[1:3, c(1:4)]\n```\n\n\nUse the `Identifier` from tables to retrieve table information\n\n```{r}\ncbs_get_meta('71509ENG')\n```\nOr download data.\n\n```{r}\nlibrary(dplyr) # just for example's sake\napples \u003c- cbs_get_data(\"71509ENG\") \n\napples |\u003e \n  select(1:4)\n```\n\nadd label columns:\n\n```{r}\napples |\u003e \n  cbs_add_label_columns() |\u003e \n  select(1:4)\n```\n\n\nFor more information, see `vignette(\"cbsodataR\")`\n\nPython user?  Use [cbsodata](https://github.com/J535D165/cbsodata).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwindj%2FcbsodataR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwindj%2FcbsodataR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwindj%2FcbsodataR/lists"}