-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
55 lines (41 loc) · 1.71 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# efun
<!-- badges: start -->
[![test-coverage](https://github.com/edalfon/efun/workflows/test-coverage/badge.svg)](https://github.com/edalfon/efun/actions)
[![codecov](https://codecov.io/gh/edalfon/efun/branch/main/graph/badge.svg?token=hXUa7O9iTB)](https://codecov.io/gh/edalfon/efun)
[![R-CMD-check](https://github.com/edalfon/efun/workflows/R-CMD-check/badge.svg)](https://github.com/edalfon/efun/actions)
<!-- badges: end -->
`efun` is a miscellaneous package. A collection of functions that I have
accumulated over the years and used for various tasks. For a long time it was just a private package, only shared sometimes with collaborators.
Most functions do not have much guardrails, though.
## Installation
You can install from Github:
``` r
remotes::install_packages_github("edalfon/efun")
```
## Example
```{r include=FALSE}
temp_html <- tempfile(fileext = ".html")
nlsw88 <- haven::read_dta('http://www.stata-press.com/data/r15/nlsw88.dta')
dt_widget <- efun::abridge_df(nlsw88, file = temp_html)
webshot::webshot(temp_html, file = "man/figures/README-abdridge.png")
```
```{r eval=FALSE}
nlsw88 <- haven::read_dta('http://www.stata-press.com/data/r15/nlsw88.dta')
efun::abridge_df(nlsw88)
```
![](man/figures/README-abdridge.png)<!-- -->
See `efun`'s web site [https://edalfon.github.io/efun](https://edalfon.github.io/efun) for some more
[examples](https://edalfon.github.io/efun/articles/efun.html) and
[all functions](https://edalfon.github.io/efun/reference/index.html)