Tools to Download and Explore Datasets from Data.gouv.fr

Provides a client for the public API of data.gouv.fr, the French government's open data platform. It helps you find a dataset that matches your interests, judge whether it is usable, download it, and re-fetch the exact same table later in a reproducible way. You can search the catalog and filter by producer or theme (dg_find_datasets(), dg_find_organization(), dg_find_topics()), pull a dataset's tabular resources into tidy tibbles (dg_pull_dataset()), inspect the documented variables of its data schema (dg_schema()), and compute summary metrics such as size, number of columns and missing-value rate (dg_summary(), dg_summarise()). Each returned table carries a stable identifier (dg_table_id(), dg_refetch()) so it can be re-fetched later. Requests are built on top of 'httr2'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rdatagouv")

0.1.0 by Aymeric Stamm, a month ago


https://astamm.github.io/rdatagouv/, https://github.com/astamm/rdatagouv


Report a bug at https://github.com/astamm/rdatagouv/issues


Browse source code at https://github.com/cran/rdatagouv


Authors: Magali Berland [aut] , Pierre Gloaguen [aut] , Arthur Leroy [aut] , Mahendra Mariadassou [aut] , Cédric Midoux [aut] , Jean-François Rey [aut] , Aymeric Stamm [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, httr2, jsonlite, nanoparquet, readxl, tibble, vroom

Suggests dplyr, gt, knitr, pkgdown, quarto, testthat, withr, writexl


See at CRAN