Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moohan/spaceusage
https://github.com/moohan/spaceusage
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/moohan/spaceusage
- Owner: Moohan
- License: other
- Created: 2022-08-04T13:13:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-23T16:35:47.000Z (about 2 years ago)
- Last Synced: 2024-05-02T04:22:18.751Z (6 months ago)
- Language: R
- Homepage: https://moohan.github.io/spaceusage/
- Size: 382 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
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")
```