Skip to content

3mmaRand/ussie

Repository files navigation

ussie

R-CMD-check test-coverage

The goal of ussie is to help you work with European football league data supplied by the engsoccerdata package.

Installation

You can install the development version of ussie from GitHub with:

# install.packages("devtools")
devtools::install_github("3mmaRand/ussie")

Example

This is a basic example which shows you how to solve a common problem:

library(ussie)
## get the Spanish league data in a standard format
uss_make_matches(engsoccerdata::spain, "Spain")
#> # A tibble: 23,915 × 8
#>    country tier  season date       home         visitor goals_home goals_visitor
#>    <chr>   <fct>  <int> <date>     <chr>        <chr>        <int>         <int>
#>  1 Spain   1       1928 1929-02-10 Arenas de G… Atleti…          2             3
#>  2 Spain   1       1928 1929-02-10 Espanyol Ba… Real U…          3             2
#>  3 Spain   1       1928 1929-02-10 Real Madrid  CE Eur…          5             0
#>  4 Spain   1       1928 1929-02-10 Real Socied… Athlet…          1             1
#>  5 Spain   1       1928 1929-02-12 Racing Sant… FC Bar…          0             2
#>  6 Spain   1       1928 1929-02-17 FC Barcelona Real M…          1             2
#>  7 Spain   1       1928 1929-02-17 Athletic Bi… Espany…          9             0
#>  8 Spain   1       1928 1929-02-17 Atletico Ma… Real S…          0             3
#>  9 Spain   1       1928 1929-02-17 Real Union   Racing…          3             1
#> 10 Spain   1       1928 1929-02-17 CE Europa    Arenas…          5             2
#> # … with 23,905 more rows

About

What the Package Does (One Line, Title Case)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages