knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(tidyGDPR)
The General Data Protection Regulation (GDPR) as 'tidy' objects.
http://openscience.adaptcentre.ie/projects/GDPRtEXT/, made available under the CC-by-4.0 license.
You can install the development version of tidyGDPR from GitHub with:
devtools::install_github("jonocarroll/tidyGDPR")
(please accept all cookies and agree to the terms and conditions.)
tidyGDPR
contains the recitals, chapters, and citations from the GDPR regulations as individual tibble
s. The recitals
GDPR_recitals
The chapters (articles, points, subpoints)
GDPR_chapters
and the citations
GDPR_citations
Also included is the list of all these components, GDPR_list
.
GDPR_chapters
contains a column of contents
which contains deeply nested data.frame
s of articles, points, and subpoints.
A helpful extractor function can extract articles and (any subset of) points from within chapters, by number
# list all articles in chapter (1) chapter_components(chapter = 1) # extract all points in (1, 1) chapter_components(chapter = 1, article = 1) # extract (1, 1, 2) chapter_components(chapter = 1, article = 1, points = 2)
If you wish to obtain the full GDPR_list
and these components yourself (in the case they are updated) get_GDPR()
returns a list of each of the above data components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.