-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathREADME.Rmd
114 lines (76 loc) · 2.97 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
comment = "",
fig.path = "man/figures/README-",
out.width = "50%",
fig.align = "center",
message = FALSE,
eval = TRUE
)
```
# fakir <img src="man/figures/logo.png" align="right" alt="" width="120" />
<!-- badges: start -->
[](https://app.codecov.io/gh/ThinkR-open/fakir?branch=master)
[](https://github.com/ThinkR-open/fakir/actions/workflows/R-CMD-check.yaml)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
<!-- badges: end -->
The goal of `{fakir}` is to provide fake datasets that can be used for prototyping or teaching purpose.
The full documentation is in this `{pkgdown} `site: <https://thinkr-open.github.io/fakir/>.
`{fakir}` is part of the [golemverse](https://golemverse.org/).
## About
You're reading the doc about version : `r pkgload::pkg_version()`
This README has been compiled on the
```{r}
Sys.time()
```
Here are the test & coverage results :
```{r}
devtools::check(quiet = TRUE)
```
```{r echo = FALSE}
unloadNamespace("fakir")
```
```{r eval = TRUE, message = TRUE}
covr::package_coverage()
```
## Installation
You can install the released version of `{fakir}` from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("fakir")
```
Or the development version from GitHub with:
```r
# From r-universe.dev (No need for GITHUB_PAT)
install.packages(
"fakir",
repos = c("thinkropen" = "https://thinkr-open.r-universe.dev")
)
# With {remotes} using GitHub API
# install.packages("remotes")
remotes::install_github("ThinkR-open/fakir")
```
## Characteristics & usage
This package is designed for simulating real life datasets:
- some datasets follow the tidy-data principles, others don't.
- Some missing values are set for numeric and categorical variables
- Some variables values are correlated
Supported languages are, for now, French and US English.
See the Vignette for examples.
## Prior work
This package is heavily inspired by [{charlatan}](https://github.com/ropensci/charlatan).
Scott Chamberlain (2017). charlatan: Make Fake Data. R package version 0.1.0.
https://CRAN.R-project.org/package=charlatan
## Contribute
You can contribute to ``{fakir}`` in two ways:
### Translate
You can translate to other locales by providing :
+ new `vec` in "R/utils"
+ new `local` in "R/fake_client" and "R/fake_transport"
### New dataset
Feel free to create new datasets generators.
## Code of Conduct
Please note that the fakir project is released with a [Contributor Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). By contributing to this project, you agree to abide by its terms.