Skip to content

Commit 3616901

Browse files
authored
Merge pull request #57 from UBC-MDS/ken_ms4
edited dependencies and added RSelenium::remoteDriver import in nba_s…
2 parents 302508a + 9a666e0 commit 3616901

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import(dplyr)
88
import(forcats)
99
import(ggplot2)
1010
import(scales)
11+
importFrom(RSelenium,remoteDriver)
1112
importFrom(forcats,fct_reorder)
1213
importFrom(magrittr,"%>%")
1314
importFrom(readr,read_csv)

R/nba_scraper.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#' @importFrom rvest html_nodes
2323
#' @importFrom rvest html_text
2424
#' @importFrom tibble as_tibble
25+
#' @importFrom RSelenium remoteDriver
2526
#'
2627
#' @return A tibble of scraped ESPN NBA data
2728
#'

README.Rmd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,28 @@ For a more detailed understanding of the functions and their use cases, please r
216216

217217
To do testing of the package functions, please refer to the instructions found in the [README.md located at the testing subdirectory folder](https://github.com/UBC-MDS/rsketball/blob/master/tests/README.md).
218218

219+
## Dependencies
220+
221+
dplyr>=0.8.3
222+
223+
forcats>=0.5.0
224+
225+
ggplot2>=3.2.1
226+
227+
magrittr>=1.5
228+
229+
readr>=1.3.1
230+
231+
rlang>=0.4.2
232+
233+
rvest>=0.3.4
234+
235+
scales>=1.1.0
236+
237+
tibble>=2.1.3
238+
239+
RSelenium>=1.7.7
240+
219241
## R Ecosystem
220242

221243
This `rsketball` package aims to further gain understanding of ESPN NBA data and does not have a specific fit to the R ecosystem. There are currently some other library packages such as [`nbastatR`](https://www.rdocumentation.org/packages/nbastatR/versions/0.1.10131) that take data from other sources (NBA Stats API, Basketball Insiders, Basketball-Reference, HoopsHype, and RealGM), but no package that we currently know of takes data from ESPN NBA specifically.

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,29 @@ To do testing of the package functions, please refer to the instructions
297297
found in the [README.md located at the testing subdirectory
298298
folder](https://github.com/UBC-MDS/rsketball/blob/master/tests/README.md).
299299

300+
Dependencies
301+
------------
302+
303+
dplyr>=0.8.3
304+
305+
forcats>=0.5.0
306+
307+
ggplot2>=3.2.1
308+
309+
magrittr>=1.5
310+
311+
readr>=1.3.1
312+
313+
rlang>=0.4.2
314+
315+
rvest>=0.3.4
316+
317+
scales>=1.1.0
318+
319+
tibble>=2.1.3
320+
321+
RSelenium>=1.7.7
322+
300323
R Ecosystem
301324
-----------
302325

0 commit comments

Comments
 (0)