Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 440 hawkinR v1.1.2 w/ addition of TS test types #28

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rhistory
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@ devtools::install_github("HawkinDynamics/hawkinR", auth_token = Sys.getenv("GITH
github_token <- Sys.getenv("GITHUB_PAT")
Sys.getenv("GITHUB_PAT")
logger::log_formatter(logger::formatter_glue_or_sprintf)
devtools::load_all(".")
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: hawkinR
Title: R package to work with data from the Hawkin Dynamics API
Version: 1.1.1
Version: 1.1.2
Authors@R:
person("Lauren", "Green", , "[email protected]", role = c("aut", "cre"))
Description: Provides simple functionality with Hawkin Dynamics API. These functions are for use with 'Hawkin Dynamics Beta API' version 1.8-beta. You must be an Hawkin Dynamics user with active integration account to utilize functions within the package. This API is designed to get data out of your Hawkin Dynamics database into your own database. It is not designed to be accessed from client applications directly. There is a limit on the amount of data that can be returned in a single request. As your database grows, it will be necessary to use the from and to parameters to limit the size of the responses. Responses that exceed the memory limit will fail.
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## hawkinR v1.1.2

* Bug fix: addition of TruStrength test types to typeId validation methods

## hawkinR v1.1.1

* fixes (or removes) log suppression: surface more useful logging to end-users by removing log suppression present in v1.1.0 and earlier
Expand Down
2 changes: 1 addition & 1 deletion R/get_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#' Names | Abbreviations: "Countermovement Jump" | "CMJ", "Squat Jump" | "SJ",
#' "Isometric Test" | "ISO", "Drop Jump" | "DJ", "Free Run" | "FREE",
#' "CMJ Rebound" | "CMJR", "Multi Rebound" | "MR", "Weigh In" | "WI",
#' "Drop Landing" | "DL"
#' "Drop Landing" | "DL", "TS Free Run" | "TSFR", "TS Isometric Test" | "TSISO"
#'
#' @param groupId Supply a group’s ID, a list of group IDs, or a string of a comma
#' separated group id’s to receive tests from the specified groups. A maximum of 10 groups
Expand Down
3 changes: 2 additions & 1 deletion R/get_tests_type.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#'
#' Names | Abbreviations: "Countermovement Jump" | "CMJ", "Squat Jump" | "SJ",
#' "Isometric Test" | "ISO", "Drop Jump" | "DJ", "Free Run" | "FREE", "CMJ Rebound" | "CMJR",
#' "Multi Rebound" | "MR", "Weigh In" | "WI", "Drop Landing" | "DL"
#' "Multi Rebound" | "MR", "Weigh In" | "WI", "Drop Landing" | "DL", "TS Free Run" | "TSFR",
#' "TS Isometric Test" | "TSISO"
#'
#' @param from Optionally supply a time (Unix time stamp) you want the tests from. If you do not
#' supply this value you will receive every test. This parameter is best suited for bulk exports of
Expand Down
8 changes: 5 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,15 @@ TestIdCheck <- function(arg_id) {
id = c(
"7nNduHeM5zETPjHxvm7s", "QEG7m7DhYsD6BrcQ8pic", "2uS5XD5kXmWgIZ5HhQ3A",
"gyBETpRXpdr63Ab2E0V8", "5pRSUQVSJVnxijpPMck3", "pqgf2TPUOQOQs6r0HQWb",
"r4fhrkPdYlLxYQxEeM78", "ubeWMPN1lJFbuQbAM97s", "rKgI4y3ItTAzUekTUpvR"
"r4fhrkPdYlLxYQxEeM78", "ubeWMPN1lJFbuQbAM97s", "rKgI4y3ItTAzUekTUpvR",
"4KlQgKmBxbOY6uKTLDFL", "umnEZPgi6zaxuw0KhUpM"
),
name = c(
"Countermovement Jump", "Squat Jump", "Isometric Test", "Drop Jump",
"Free Run", "CMJ Rebound", "Multi Rebound", "Weigh In", "Drop Landing"
"Free Run", "CMJ Rebound", "Multi Rebound", "Weigh In", "Drop Landing",
"TS Free Run", "TS Isometric Test"
),
abbreviation = c("CMJ", "SJ", "ISO", "DJ", "FR", "CMJR", "MR", "WI", "DL")
abbreviation = c("CMJ", "SJ", "ISO", "DJ", "FR", "CMJR", "MR", "WI", "DL","TSFR","TSISO")
)

# Check typeId and extract corresponding id
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ knitr::opts_chunk$set(
)
```

# hawkinR v1.1.1 <img src="man/figures/hdlogo.png" align="right" width="120"/>
# hawkinR v1.1.2 <img src="man/figures/hdlogo.png" align="right" width="120"/>

**Get your data from the Hawkin Dynamics API**

Expand All @@ -23,7 +23,7 @@ knitr::opts_chunk$set(
[![R-CMD-check](https://github.com/HawkinDynamics/hawkinR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/HawkinDynamics/hawkinR/actions/workflows/R-CMD-check.yaml) [![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](/commits/master) [![license](https://img.shields.io/badge/license-MIT%20+%20file%20LICENSE-lightgrey.svg)](https://choosealicense.com/)
[![minimal R version](https://img.shields.io/badge/R%3E%3D-`r "3.5.0"`-6666ff.svg)](https://cran.r-project.org/)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![packageversion](https://img.shields.io/badge/Package%20version-`r "1.1.1"`-orange.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-`r "1.1.2"`-orange.svg?style=flat-square)](commits/master)
[![thanks-md](https://img.shields.io/badge/THANKS-md-ff69b4.svg)](THANKS.md)


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# hawkinR v1.1.1 <img src="man/figures/hdlogo.png" align="right" width="120"/>
# hawkinR v1.1.2 <img src="man/figures/hdlogo.png" align="right" width="120"/>

**Get your data from the Hawkin Dynamics API**

<!-- badges: start -->

[![R-CMD-check](https://github.com/HawkinDynamics/hawkinR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/HawkinDynamics/hawkinR/actions/workflows/R-CMD-check.yaml)
[![Last-changedate](https://img.shields.io/badge/last%20change-2024--07--30-yellowgreen.svg)](/commits/master)
[![Last-changedate](https://img.shields.io/badge/last%20change-2024--07--31-yellowgreen.svg)](/commits/master)
[![license](https://img.shields.io/badge/license-MIT%20+%20file%20LICENSE-lightgrey.svg)](https://choosealicense.com/)
[![minimal R
version](https://img.shields.io/badge/R%3E%3D-3.5.0-6666ff.svg)](https://cran.r-project.org/)
[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![packageversion](https://img.shields.io/badge/Package%20version-1.1.1-orange.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-1.1.2-orange.svg?style=flat-square)](commits/master)
[![thanks-md](https://img.shields.io/badge/THANKS-md-ff69b4.svg)](THANKS.md)

<!-- badges: end -->
Expand Down
2 changes: 1 addition & 1 deletion man/get_tests.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/get_tests_type.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading