knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  warning = FALSE,
  message = FALSE
)

DiDoR

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.{target='_blank'} R-CMD-check Codecov test coverage

R library to explore and access data published by CGDD/SDES on https://data.statistiques.developpement-durable.gouv.fr/dido/api/v1/apidoc.html

Installation

There's no released version of didor on CRAN.

You can install development version from GitHub:

# Install from GitHub
library(devtools)
devtools::install_github("mtes-mct/didor")

Example

library(didor)
library(tidyverse)

result <- datasets() %>%
  dido_search("produit-petrolier") %>%
  datafiles() %>%
  dido_search("drom") %>%
  get_data()
knitr::kable(head(result))

See this tutorial or this one and the package homepage for more information and examples.



MTES-MCT/didor documentation built on April 7, 2023, 7:42 a.m.