get_metadata: Get Metadata

Description Usage Arguments Value See Also Examples

View source: R/depr_get_metadata.R

Description

This functions stores and returns metadata on each competition.

Usage

1
2
3
4
5
get_metadata(
  competition_ids = NA,
  latest_european_season = "2020_2021",
  output_format = "list"
)

Arguments

competition_ids

Each competition has a unique competition_id to identify it. If left as NA, the default, all competitions will be returned. From here you can inspect all competition_ids for future use.

latest_european_season

e.g. "2019_2020", stick to that format

output_format

"list" or "tibble" default is a list

Value

A list containing the metadata on that competition.

Each element of the output list will be named with the competition_id so you can easily access the required part. Each sub-element is structured as follows:


There are some other special sub-elements


Within football_data there are several sub2-elements:

More element details will be added to metadata as data sources and coverage expands.

See Also

sequence_seasons

Examples

1
2
metadata <- get_metadata()
metadata_subset <- get_metadata(c("eng_pl", "eng_champ"))

neilcuz/panenkar documentation built on June 19, 2021, 7:31 p.m.