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

lifecycle

ariel

The goal of ariel is to provide an easy access to the SIRENE API from R.

Installation

remotes::install_github("ColinFay/ariel")

Before using

You need to create an account on the INSEE website, and get an access token. See here for more infos about how to do that.

Example

Set your token

token <- "XXX"

With SIRENE

get_with_siren(siren = "810064519",
                date = "2017-01-01",
                token = token)

With SIRET

get_with_siret("81006451900020", 
               token = token)

Misc

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



ColinFay/ariel documentation built on May 20, 2019, 8 p.m.