Skip to content

Commit

Permalink
Increment version number to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aymennasri committed Jan 31, 2025
1 parent d49bbb2 commit 9d135c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ggfootball
Title: Plotting Expected Goals (xG) Stats with 'Understat' Data
Version: 0.1.0
Version: 0.2.0
Authors@R:
person("Aymen", "Nasri", , "aymennasrii@proton.me", role = c("aut", "cre", "cph"))
Description: Scrapes shots data from 'Understat' <https://understat.com/> and visualizes it using interactive plots:
Expand Down
7 changes: 4 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ and visualizes it using interactive plots:

## Installation

You can install the development version of ggfootball from [GitHub](https://github.com/) with:
You can install ggfootball from [CRAN](https://cran.r-project.org/package=ggfootball) with:

``` r
pak::pak("aymennasri/ggfootball")
install.packages("ggfootball")
```

## Example
Expand All @@ -49,7 +49,8 @@ xg_chart(match_id = 26631,
home_team_color = "red",
away_team_color = "grey",
competition = "Premier League",
background_color = "#FFF1E5")
bg_color = "#FFF1E5",
plot_bg_color = "#FFF1E5")
# Shot/xG map
xg_map(match_id = 26631, title = "xG Map")
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ plots:

## Installation

You can install the development version of ggfootball from
[GitHub](https://github.com/) with:
You can install ggfootball from
[CRAN](https://cran.r-project.org/package=ggfootball) with:

``` r
pak::pak("aymennasri/ggfootball")
install.packages("ggfootball")
```

## Example
Expand All @@ -42,7 +42,8 @@ xg_chart(match_id = 26631,
home_team_color = "red",
away_team_color = "grey",
competition = "Premier League",
background_color = "#FFF1E5")
bg_color = "#FFF1E5",
plot_bg_color = "#FFF1E5")

# Shot/xG map
xg_map(match_id = 26631, title = "xG Map")
Expand Down

0 comments on commit 9d135c0

Please sign in to comment.