{"id":16276522,"url":"https://github.com/mdequeljoe/readsdmx","last_synced_at":"2025-03-20T01:32:10.868Z","repository":{"id":56936709,"uuid":"159012248","full_name":"mdequeljoe/readsdmx","owner":"mdequeljoe","description":"read sdmx data into R dataframes","archived":false,"fork":false,"pushed_at":"2023-09-04T10:05:14.000Z","size":142,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-23T12:17:24.780Z","etag":null,"topics":["cpp","dataframe","r","rcpp","readsdmx","sdmx","sdmx-format","sdmx-standards"],"latest_commit_sha":null,"homepage":"","language":"C++","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/mdequeljoe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-25T08:29:45.000Z","updated_at":"2024-01-09T15:41:32.000Z","dependencies_parsed_at":"2022-08-21T06:21:00.027Z","dependency_job_id":null,"html_url":"https://github.com/mdequeljoe/readsdmx","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdequeljoe%2Freadsdmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdequeljoe%2Freadsdmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdequeljoe%2Freadsdmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdequeljoe%2Freadsdmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdequeljoe","download_url":"https://codeload.github.com/mdequeljoe/readsdmx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865980,"owners_count":16555922,"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":["cpp","dataframe","r","rcpp","readsdmx","sdmx","sdmx-format","sdmx-standards"],"created_at":"2024-10-10T18:48:39.651Z","updated_at":"2024-10-10T18:48:40.328Z","avatar_url":"https://github.com/mdequeljoe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  readsdmx\n\n[![CRAN Status](https://www.r-pkg.org/badges/version/readsdmx)](https://cran.r-project.org/package=readsdmx)\n\nRead [sdmx](https://sdmx.org/) data into dataframes from either a local SDMX-ML file or from a SDMX web-service:\n\n```r\nu \u003c-\n  \"https://stats.oecd.org/restsdmx/sdmx.ashx/GetData/HH_DASH/..Q\"\nd \u003c- readsdmx::read_sdmx(u)\n\n```\nThe [RapidXML](https://rapidxml.sourceforge.net/) C++ library is used to parse the data.\n\n## Install\n\nFrom CRAN:\n```r\ninstall.packages(\"readsdmx\")\n```\n\nFrom GitHub:\n```r\ndevtools::install_github(\"mdequeljoe/readsdmx\")\n```\n\n## Data messages\n\nThe follow data message types are supported:\n\n- Compact (version 2.0)\n- Generic (2.0 \u0026 2.1)\n- Structure Specific Data (2.1)\n- Utility (2.0)\n- Cross-sectional (2.0)\n- Structure Code-lists (2.0 \u0026 2.1)\n\n## Benchmark\n\nFor the above example (locally):\n\n```r\ndownload.file(u, path \u003c- tempfile(fileext = \".xml\"), quiet = TRUE)\nmicrobenchmark::microbenchmark(\n  readsdmx = readsdmx::read_sdmx(path),\n  rsdmx = as.data.frame(rsdmx::readSDMX(path, FALSE)),\n  times = 5L,\n  unit = \"s\"\n)\n\n#\u003e Unit: seconds\n#\u003e      expr    min     lq   mean median     uq    max neval\n#\u003e  readsdmx  0.152  0.153  0.159  0.161  0.165  0.165     5\n#\u003e     rsdmx 23.955 24.578 24.732 24.937 25.005 25.185     5\n```\n\n## Related\n\n[rsdmx](https://github.com/opensdmx/rsdmx)\n\n[pandasdmx](https://github.com/dr-leo/pandaSDMX) (python)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdequeljoe%2Freadsdmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdequeljoe%2Freadsdmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdequeljoe%2Freadsdmx/lists"}