{"id":24775665,"url":"https://github.com/inseefr/disaggr","last_synced_at":"2025-10-12T00:31:27.694Z","repository":{"id":39752040,"uuid":"238296894","full_name":"InseeFr/disaggR","owner":"InseeFr","description":"Two-Steps Benchmarks for Time Series Disaggregation (French Quarterly National Accounts methodology)","archived":false,"fork":false,"pushed_at":"2024-06-24T10:29:18.000Z","size":14810,"stargazers_count":11,"open_issues_count":2,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-08T15:38:06.268Z","etag":null,"topics":["cran","disaggregation","r","statistical-package","time-series"],"latest_commit_sha":null,"homepage":"https://inseefr.github.io/disaggR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InseeFr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-04T20:14:08.000Z","updated_at":"2025-01-14T16:11:31.000Z","dependencies_parsed_at":"2023-02-02T23:15:59.142Z","dependency_job_id":"fdf5cdb1-501c-4304-9a55-c6bd094efaa7","html_url":"https://github.com/InseeFr/disaggR","commit_stats":{"total_commits":563,"total_committers":10,"mean_commits":56.3,"dds":0.1403197158081705,"last_synced_commit":"8faa7a39f7c708e256c1f79933bba5d4b37cb378"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/InseeFr/disaggR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FdisaggR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FdisaggR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FdisaggR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FdisaggR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InseeFr","download_url":"https://codeload.github.com/InseeFr/disaggR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFr%2FdisaggR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009509,"owners_count":26084609,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cran","disaggregation","r","statistical-package","time-series"],"created_at":"2025-01-29T06:55:12.660Z","updated_at":"2025-10-12T00:31:25.554Z","avatar_url":"https://github.com/InseeFr.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n\u003c!-- badges: start --\u003e\n\n[![CRAN status](https://www.r-pkg.org/badges/version/disaggR)](https://cran.r-project.org/package=disaggR)\n[![R build status](https://github.com/InseeFr/disaggR/workflows/R-CMD-check/badge.svg)](https://github.com/InseeFr/disaggR/actions)\n[![codecov](https://codecov.io/gh/InseeFr/disaggR/branch/master/graph/badge.svg)](https://app.codecov.io/gh/InseeFr/disaggR)\n[![Downloads](https://cranlogs.r-pkg.org/badges/disaggR)](https://cran.r-project.org/package=disaggR)\n\n\u003c!-- badges: end --\u003e\n\n## Overview\n\nThe R package disaggR is an implementation of the French Quarterly National Accounts method for temporal disaggregation of time series. `twoStepsBenchmark()` and `threeRuleSmooth()` bend a time series with another one of a lower frequency.\n\n## Installation\n\nYou can install the __stable__ version from [CRAN](https://cran.r-project.org/package=disaggR).\n\n```{r, eval = FALSE}\ninstall.packages(\"disaggR\")\n```\n\nYou can install the __development__ version from [Github](https://github.com/InseeFr/disaggR).\n\n```{r, eval = FALSE}\n# install.packages(\"devtools\")\ninstall_github(\"InseeFr/disaggR\")\n```\n\n## Usage\n\n```{r, echo = TRUE, results = 'hide', fig.show=\"hold\", out.width=\"50%\"}\nlibrary(disaggR)\n\nbenchmark \u003c- twoStepsBenchmark(hfserie = turnover,\n                               lfserie = construction,\n                               include.differenciation = TRUE)\nas.ts(benchmark)\ncoef(benchmark)\nsummary(benchmark)\nplot(benchmark)\nplot(in_sample(benchmark))\n```\n\n```{r, echo = TRUE, results = 'hide', fig.show=\"hold\", out.width=\"50%\"}\nplot(in_disaggr(benchmark,type=\"changes\"),\n     start=c(2015,1),end=c(2020,12))\nplot(in_disaggr(benchmark,type=\"contributions\"),\n     start=c(2015,1),end=c(2020,12))\n```\n\n```{r, echo = TRUE, results = 'hide', fig.show=\"hold\", out.width=\"50%\"}\nplot(in_scatter(benchmark))\n\nnew_benchmark \u003c- twoStepsBenchmark(hfserie = turnover,\n                                   lfserie = construction,\n                                   include.differenciation = FALSE)\nplot(in_revisions(new_benchmark,\n                  benchmark),start = c(2010,1))\n```\n\n## Shiny app\n\nYou can also use the shiny application __reView__, to easily chose the best parameters for your benchmark.\n\n```{r, echo = TRUE, eval = FALSE}\nreView(benchmark)\n```\n\n![shinyscreen](man/figures/shiny-screen.jpg){ width=100% }\\","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Fdisaggr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finseefr%2Fdisaggr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefr%2Fdisaggr/lists"}