{rjd3production}

CRAN status

R-CMD-check lint

GH Pages built

🇫🇷 README en français | 🇬🇧 README in english

Présentation

{rjd3production} aide les producteurs de données CVS-CJO à mettre en place des chaînes de production.

Il permet notamment de :


flowchart LR
    %% Objects
    WS["WS<br/>(JDemetra+<br/>workspace)"]
    DF_OUT["outliers_df<br/>(data.frame)"]
    DF_TD["td_df<br/>(data.frame)"]
    YAML_OUT["outliers YAML<br/>(outliers_&lt;ws_name&gt;.yaml)"]
    YAML_TD["TD YAML<br/>(td_&lt;ws_name&gt;.yaml)"]
    SERIES["Series<br/>(time series data)"]

    %% Outliers workflow
    DF_OUT -->|"assign_outliers()"| WS
    WS -->|"retrieve_outliers()"| DF_OUT
    DF_OUT -->|"export_outliers()"| YAML_OUT
    YAML_OUT -->|"import_outliers()"| DF_OUT

    %% TD workflow
    SERIES -->|"select_td()"| DF_TD
    WS -->|"retrieve_td()"| DF_TD
    DF_TD -->|"export_td()"| YAML_TD
    YAML_TD -->|"import_td()"| DF_TD
    DF_TD -->|"assign_td()"| WS

    %% Styles
    classDef ws fill:#e6f2ff,stroke:#4a7ebb,stroke-width:1px;
    classDef df fill:#e9f7ef,stroke:#2e8b57,stroke-width:1px;
    classDef yaml fill:#fff3e0,stroke:#cc8400,stroke-width:1px;
    classDef series fill:#f5e6ff,stroke:#7a3db8,stroke-width:1px;

    class WS ws
    class DF_OUT,DF_TD df
    class YAML_OUT,YAML_TD yaml
    class SERIES series

Installation

{rjd3production} s’appuie sur le package {rJava}

L’exécution des packages rjd3 nécessite Java 21 ou plus. La manière de mettre en place une telle configuration dans R est expliquée ici.

Latest release

Pour obtenir la version stable actuelle (à partir de la dernière version) :

# install.packages("remotes")
remotes::install_github("InseeFr/rjd3production@*release")
install.packages("rjd3production", repos = c("https://TanguyBarthelemy.r-universe.dev", "https://cloud.r-project.org"))

Version de développement

Vous pouvez installer la version de développement de {rjd3production} depuis [GitHub] (https://github.com/) avec :

# install.packages("remotes")
remotes::install_github("InseeFr/rjd3production")

Overview

{rjd3production} helps producers of seasonal data to set up production lines.

In particular, it enables you to:


flowchart LR
    %% Objects
    WS["WS<br/>(JDemetra+<br/>workspace)"]
    DF_OUT["outliers_df<br/>(data.frame)"]
    DF_TD["td_df<br/>(data.frame)"]
    YAML_OUT["outliers YAML<br/>(outliers_&lt;ws_name&gt;.yaml)"]
    YAML_TD["TD YAML<br/>(td_&lt;ws_name&gt;.yaml)"]
    SERIES["Series<br/>(time series data)"]

    %% Outliers workflow
    DF_OUT -->|"assign_outliers()"| WS
    WS -->|"retrieve_outliers()"| DF_OUT
    DF_OUT -->|"export_outliers()"| YAML_OUT
    YAML_OUT -->|"import_outliers()"| DF_OUT

    %% TD workflow
    SERIES -->|"select_td()"| DF_TD
    WS -->|"retrieve_td()"| DF_TD
    DF_TD -->|"export_td()"| YAML_TD
    YAML_TD -->|"import_td()"| DF_TD
    DF_TD -->|"assign_td()"| WS

    %% Styles
    classDef ws fill:#e6f2ff,stroke:#4a7ebb,stroke-width:1px;
    classDef df fill:#e9f7ef,stroke:#2e8b57,stroke-width:1px;
    classDef yaml fill:#fff3e0,stroke:#cc8400,stroke-width:1px;
    classDef series fill:#f5e6ff,stroke:#7a3db8,stroke-width:1px;

    class WS ws
    class DF_OUT,DF_TD df
    class YAML_OUT,YAML_TD yaml
    class SERIES series

Installation

To get the current stable version (from the latest release):

# install.packages("remotes")
remotes::install_github("InseeFr/rjd3production@*release")
install.packages("rjd3production", repos = c("https://TanguyBarthelemy.r-universe.dev", "https://cloud.r-project.org"))

Development version

You can install the development version of {rjd3production} from GitHub with:

# install.packages("remotes")
remotes::install_github("InseeFr/rjd3production")