https://github.com/nceas/scicomptools
Tools Developed by NCEAS Scientific Computing Support Team
https://github.com/nceas/scicomptools
data-science r r-package rstats
Last synced: about 2 months ago
JSON representation
Tools Developed by NCEAS Scientific Computing Support Team
- Host: GitHub
- URL: https://github.com/nceas/scicomptools
- Owner: NCEAS
- License: other
- Created: 2022-06-15T19:48:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T22:26:28.000Z (8 months ago)
- Last Synced: 2024-10-26T23:33:41.013Z (8 months ago)
- Topics: data-science, r, r-package, rstats
- Language: R
- Homepage: https://nceas.github.io/scicomptools/
- Size: 2.09 MB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>",
fig.path = "man/figures/README-", out.width = "100%")
```
# `scicomptools` - Tools Developed by the NCEAS Scientific Computing Support Team
[](https://github.com/NCEAS/scicomptools/actions/workflows/R-CMD-check.yaml)
[](https://cran.r-project.org/package=scicomptools)The goal of `scicomptools` is to house all of the standalone functions written by the National Center for Ecological Analysis and Synthesis (NCEAS) Scientific Computing Team staff that lack a specific project. Currently contains various tools to import, summarize, and visualize data. Non-function scripts created by this team are part of the [`scicomptasks` repository](https://github.com/NCEAS/scicomptasks#readme).
## Installation
You can install the development version of `scicomptools` from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("NCEAS/scicomptools")
```Or download from CRAN with:
``` r
install.packages("scicomptools")
```## Current Functions
### Modeling / Analysis
- **`stat_extract`** Extracts core summary statistics for model fit objects returned by the following functions: `lmerTest::lmer`, `stats::lm`, `stats::nls`, `stats::t.test`, `nlme::lme`, `ecodist::MRM`, and `RRPP::trajectory.analysis`
### Google Drive-Related
- **`drive_toc`**: Identifies the complete folder hierarchy within a user-supplied URL for a Google Drive folder. Useful in generating a table of contents for a Google Drive. Also allows exclusion of folders by name if there are folders that you would not want included in a table of contents
### Data Description / Wrangling
- **`molec_wt`**: Identifies molecular weight for the specified element (based on name, symbol, or atomic number)
- **`read_xl_sheets`**: Reads in all the sheets in a supplied Microsoft Excel workbook and returns a list of those contents
- **`read_xl_format`**: Identifies the formatting of every cell in a supplied Microsoft Excel workbook (including comment text)
### Text Mining
- **`word_cloud_prep`**: Performs text mining on a given text column of a dataframe to create a dataframe that is ready for word cloud creation
- **`word_cloud_plot`**: Performs text mining (using `word_cloud_prep`) *and* creates a simple `ggplot2` word cloud (for those who don't want to handle their own plotting aesthetics)
### Working Directory Management
- **`wd_loc`**: Allows user to easily specify file paths both for local and remote work and then toggle between them in the same script as needed. Useful when work is being done both in local computers and on a remote server
### Checking Access Tokens
- **`token_check`**: Checks for whether a token for the supplied API can be found for your current R session. For example, Qualtrics allows direct acquisition of data from R *if* you have a token and your R session "knows" that string. This function quickly checks whether you'd be able to use that workflow (currently only supports search for Qualtrics and GitHub tokens but could be easily expanded!)
### Exporting GitHub Issues as PDF Files
- **`issue_extract`**: Exports specified GitHub issues as PDF files when given the URL of a GitHub repository and a numeric vector of GitHub issue numbers. This function will export the first 10 issues as a default.