Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moohan/spaceusage


https://github.com/moohan/spaceusage

Last synced: about 7 hours ago
JSON representation

Awesome Lists containing this project

README

        

---
output:
github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
eval = FALSE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# spaceusage

[![R-CMD-check](https://github.com/Moohan/spaceusage/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Moohan/spaceusage/actions/workflows/R-CMD-check.yaml)

Space usage was intended to get and plot drive usage. As a side affect it can
also get the full names of users with a given group membership.

See [the documentation](https://moohan.github.io/spaceusage/).

## Installation

You can install this package from GitHub with using {`remotes`} or {`pak`}

``` r
install.packages("pak")
pak::pak("Moohan/spaceusage")
```

## Analysing space usage

Get usage data for a given drive.

``` r
library(spaceusage)

hscdiip_usage <- get_usage("hsdiip")
```

Plot the usage.

``` r
plot_usage(hscdiip_usage)
```

## Checking on users in certain groups

Who has access to a certain group.

``` r
get_group_membership("hscdiip")
```