-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a3e4d8
commit 974272b
Showing
12 changed files
with
110 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: cbbdata | ||
Type: Package | ||
Title: API for College Basketball Data | ||
Version: 0.3.0 | ||
Version: 0.3.0.9000 | ||
Authors@R: person("Andrew", "Weatherman", email = "[email protected]", | ||
role = c("aut", "cre")) | ||
Description: Provides direct access to clean and tidy college basketball data using the | ||
|
@@ -37,3 +37,5 @@ Roxygen: list(markdown = TRUE) | |
URL: https://cbbdata.aweatherman.com/ | ||
BugReports: https://github.com/andreweatherman/cbbdata | ||
Config/Needs/website: rmarkdown | ||
Depends: | ||
R (>= 2.10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#' Daily NET Rankings | ||
#' | ||
#' Pulls daily NET rankings along with other metrics from the 2023-24 season. | ||
#' | ||
#' @param ... OPTIONAL. To load the complete data set, pass no arguments through | ||
#' to the function. Else, you can filter on `team`, `conf`, or `year`. | ||
#' | ||
#' @examples | ||
#' \donttest{try(cbd_net_archive(team = "Duke"))} | ||
#' @export | ||
cbd_net_archive <- function(...) { | ||
|
||
base_url <- 'https://www.cbbdata.com/api/etc/archive-net?' | ||
|
||
data <- cbbdata:::get_cbd_file(base_url, ...) | ||
|
||
return(data) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.