Now you can request additional data and/or customized columns!

Try It Now!

English Premier League (football)

sports-data

Files Size Format Created Updated License Source
11 2MB csv zip 11 months ago 1 month ago Open Data Commons Public Domain Dedication and License v1.0 www.football-data.co.uk/
This dataset contains data for last 10 seasons of English Premier League including current season. The data is updated on weekly basis via Travis-CI. The dataset is sourced from http://www.football-data.co.uk/ website and contains various statistical data such as final and half time result, read more
Download Developers

Data Files

Download files in this dataset

season-1819  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
PSH 33 number (default)
PSD 34 number (default)
PSA 35 number (default)
WHH 36 number (default)
WHD 37 number (default)
WHA 38 number (default)
VCH 39 number (default)
VCD 40 number (default)
VCA 41 number (default)
Bb1X2 42 integer (default)
BbMxH 43 number (default)
BbAvH 44 number (default)
BbMxD 45 number (default)
BbAvD 46 number (default)
BbMxA 47 number (default)
BbAvA 48 number (default)
BbOU 49 integer (default)
BbMx>2.5 50 number (default)
BbAv>2.5 51 number (default)
BbMx<2.5 52 number (default)
BbAv<2.5 53 number (default)
BbAH 54 integer (default)
BbAHh 55 number (default)
BbMxAHH 56 number (default)
BbAvAHH 57 number (default)
BbMxAHA 58 number (default)
BbAvAHA 59 number (default)
PSCH 60 number (default)
PSCD 61 number (default)
PSCA 62 number (default)

season-1718  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
LBH 33 number (default)
LBD 34 number (default)
LBA 35 number (default)
PSH 36 number (default)
PSD 37 number (default)
PSA 38 number (default)
WHH 39 number (default)
WHD 40 number (default)
WHA 41 number (default)
VCH 42 number (default)
VCD 43 number (default)
VCA 44 number (default)
Bb1X2 45 integer (default)
BbMxH 46 number (default)
BbAvH 47 number (default)
BbMxD 48 number (default)
BbAvD 49 number (default)
BbMxA 50 number (default)
BbAvA 51 number (default)
BbOU 52 integer (default)
BbMx>2.5 53 number (default)
BbAv>2.5 54 number (default)
BbMx<2.5 55 number (default)
BbAv<2.5 56 number (default)
BbAH 57 integer (default)
BbAHh 58 number (default)
BbMxAHH 59 number (default)
BbAvAHH 60 number (default)
BbMxAHA 61 number (default)
BbAvAHA 62 number (default)
PSCH 63 number (default)
PSCD 64 number (default)
PSCA 65 number (default)

season-1617  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
LBH 33 number (default)
LBD 34 number (default)
LBA 35 number (default)
PSH 36 number (default)
PSD 37 number (default)
PSA 38 number (default)
WHH 39 number (default)
WHD 40 number (default)
WHA 41 number (default)
VCH 42 number (default)
VCD 43 number (default)
VCA 44 number (default)
Bb1X2 45 integer (default)
BbMxH 46 number (default)
BbAvH 47 number (default)
BbMxD 48 number (default)
BbAvD 49 number (default)
BbMxA 50 number (default)
BbAvA 51 number (default)
BbOU 52 integer (default)
BbMx>2.5 53 number (default)
BbAv>2.5 54 number (default)
BbMx<2.5 55 number (default)
BbAv<2.5 56 number (default)
BbAH 57 integer (default)
BbAHh 58 number (default)
BbMxAHH 59 number (default)
BbAvAHH 60 number (default)
BbMxAHA 61 number (default)
BbAvAHA 62 number (default)
PSCH 63 number (default)
PSCD 64 number (default)
PSCA 65 number (default)

season-1516  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
LBH 33 number (default)
LBD 34 number (default)
LBA 35 number (default)
PSH 36 number (default)
PSD 37 number (default)
PSA 38 number (default)
WHH 39 number (default)
WHD 40 number (default)
WHA 41 number (default)
VCH 42 number (default)
VCD 43 number (default)
VCA 44 number (default)
Bb1X2 45 integer (default)
BbMxH 46 number (default)
BbAvH 47 number (default)
BbMxD 48 number (default)
BbAvD 49 number (default)
BbMxA 50 number (default)
BbAvA 51 number (default)
BbOU 52 integer (default)
BbMx>2.5 53 number (default)
BbAv>2.5 54 number (default)
BbMx<2.5 55 number (default)
BbAv<2.5 56 number (default)
BbAH 57 integer (default)
BbAHh 58 number (default)
BbMxAHH 59 number (default)
BbAvAHH 60 number (default)
BbMxAHA 61 number (default)
BbAvAHA 62 number (default)
PSCH 63 number (default)
PSCD 64 number (default)
PSCA 65 number (default)

season-1415  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
LBH 33 number (default)
LBD 34 number (default)
LBA 35 number (default)
PSH 36 number (default)
PSD 37 number (default)
PSA 38 number (default)
WHH 39 number (default)
WHD 40 number (default)
WHA 41 number (default)
SJH 42 string (default)
SJD 43 string (default)
SJA 44 string (default)
VCH 45 number (default)
VCD 46 number (default)
VCA 47 number (default)
Bb1X2 48 integer (default)
BbMxH 49 number (default)
BbAvH 50 number (default)
BbMxD 51 number (default)
BbAvD 52 number (default)
BbMxA 53 number (default)
BbAvA 54 number (default)
BbOU 55 integer (default)
BbMx>2.5 56 number (default)
BbAv>2.5 57 number (default)
BbMx<2.5 58 number (default)
BbAv<2.5 59 number (default)
BbAH 60 integer (default)
BbAHh 61 number (default)
BbMxAHH 62 number (default)
BbAvAHH 63 number (default)
BbMxAHA 64 number (default)
BbAvAHA 65 number (default)
PSCH 66 number (default)
PSCD 67 number (default)
PSCA 68 number (default)

season-1314  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
IWH 30 number (default)
IWD 31 number (default)
IWA 32 number (default)
LBH 33 number (default)
LBD 34 number (default)
LBA 35 number (default)
PSH 36 number (default)
PSD 37 number (default)
PSA 38 number (default)
WHH 39 number (default)
WHD 40 number (default)
WHA 41 number (default)
SJH 42 number (default)
SJD 43 number (default)
SJA 44 number (default)
VCH 45 number (default)
VCD 46 number (default)
VCA 47 number (default)
Bb1X2 48 integer (default)
BbMxH 49 number (default)
BbAvH 50 number (default)
BbMxD 51 number (default)
BbAvD 52 number (default)
BbMxA 53 number (default)
BbAvA 54 number (default)
BbOU 55 integer (default)
BbMx>2.5 56 number (default)
BbAv>2.5 57 number (default)
BbMx<2.5 58 number (default)
BbAv<2.5 59 number (default)
BbAH 60 string (default)
BbAHh 61 string (default)
BbMxAHH 62 string (default)
BbAvAHH 63 string (default)
BbMxAHA 64 string (default)
BbAvAHA 65 string (default)
PSCH 66 number (default)
PSCD 67 number (default)
PSCA 68 number (default)

season-1213  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
GBH 30 string (default)
GBD 31 string (default)
GBA 32 string (default)
IWH 33 number (default)
IWD 34 number (default)
IWA 35 number (default)
LBH 36 string (default)
LBD 37 string (default)
LBA 38 string (default)
PSH 39 number (default)
PSD 40 number (default)
PSA 41 number (default)
WHH 42 number (default)
WHD 43 number (default)
WHA 44 number (default)
SJH 45 number (default)
SJD 46 number (default)
SJA 47 number (default)
VCH 48 number (default)
VCD 49 number (default)
VCA 50 number (default)
BSH 51 number (default)
BSD 52 number (default)
BSA 53 number (default)
Bb1X2 54 integer (default)
BbMxH 55 number (default)
BbAvH 56 number (default)
BbMxD 57 number (default)
BbAvD 58 number (default)
BbMxA 59 number (default)
BbAvA 60 number (default)
BbOU 61 integer (default)
BbMx>2.5 62 number (default)
BbAv>2.5 63 number (default)
BbMx<2.5 64 number (default)
BbAv<2.5 65 number (default)
BbAH 66 integer (default)
BbAHh 67 number (default)
BbMxAHH 68 number (default)
BbAvAHH 69 number (default)
BbMxAHA 70 number (default)
BbAvAHA 71 number (default)
PSCH 72 number (default)
PSCD 73 number (default)
PSCA 74 number (default)

season-1112  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
GBH 30 number (default)
GBD 31 number (default)
GBA 32 number (default)
IWH 33 number (default)
IWD 34 number (default)
IWA 35 number (default)
LBH 36 number (default)
LBD 37 number (default)
LBA 38 number (default)
SBH 39 number (default)
SBD 40 number (default)
SBA 41 number (default)
WHH 42 number (default)
WHD 43 number (default)
WHA 44 number (default)
SJH 45 number (default)
SJD 46 number (default)
SJA 47 number (default)
VCH 48 number (default)
VCD 49 number (default)
VCA 50 number (default)
BSH 51 number (default)
BSD 52 number (default)
BSA 53 number (default)
Bb1X2 54 integer (default)
BbMxH 55 number (default)
BbAvH 56 number (default)
BbMxD 57 number (default)
BbAvD 58 number (default)
BbMxA 59 number (default)
BbAvA 60 number (default)
BbOU 61 integer (default)
BbMx>2.5 62 number (default)
BbAv>2.5 63 number (default)
BbMx<2.5 64 number (default)
BbAv<2.5 65 number (default)
BbAH 66 integer (default)
BbAHh 67 number (default)
BbMxAHH 68 number (default)
BbAvAHH 69 number (default)
BbMxAHA 70 number (default)
BbAvAHA 71 number (default)

season-1011  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 string (default)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
GBH 30 number (default)
GBD 31 number (default)
GBA 32 number (default)
IWH 33 number (default)
IWD 34 number (default)
IWA 35 number (default)
LBH 36 number (default)
LBD 37 number (default)
LBA 38 number (default)
SBH 39 number (default)
SBD 40 number (default)
SBA 41 number (default)
WHH 42 number (default)
WHD 43 number (default)
WHA 44 number (default)
SJH 45 number (default)
SJD 46 number (default)
SJA 47 number (default)
VCH 48 number (default)
VCD 49 number (default)
VCA 50 number (default)
BSH 51 number (default)
BSD 52 number (default)
BSA 53 number (default)
Bb1X2 54 integer (default)
BbMxH 55 number (default)
BbAvH 56 number (default)
BbMxD 57 number (default)
BbAvD 58 number (default)
BbMxA 59 number (default)
BbAvA 60 number (default)
BbOU 61 integer (default)
BbMx>2.5 62 number (default)
BbAv>2.5 63 number (default)
BbMx<2.5 64 number (default)
BbAv<2.5 65 number (default)
BbAH 66 integer (default)
BbAHh 67 number (default)
BbMxAHH 68 number (default)
BbAvAHH 69 number (default)
BbMxAHA 70 number (default)
BbAvAHA 71 number (default)

season-0910  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
Div 1 string (default)
Date 2 date (%Y-%m-%d)
HomeTeam 3 string (default)
AwayTeam 4 string (default)
FTHG 5 integer (default)
FTAG 6 integer (default)
FTR 7 string (default)
HTHG 8 integer (default)
HTAG 9 integer (default)
HTR 10 string (default)
Referee 11 string (default)
HS 12 integer (default)
AS 13 integer (default)
HST 14 integer (default)
AST 15 integer (default)
HF 16 integer (default)
AF 17 integer (default)
HC 18 integer (default)
AC 19 integer (default)
HY 20 integer (default)
AY 21 integer (default)
HR 22 integer (default)
AR 23 integer (default)
B365H 24 number (default)
B365D 25 number (default)
B365A 26 number (default)
BWH 27 number (default)
BWD 28 number (default)
BWA 29 number (default)
GBH 30 number (default)
GBD 31 number (default)
GBA 32 number (default)
IWH 33 number (default)
IWD 34 number (default)
IWA 35 number (default)
LBH 36 number (default)
LBD 37 number (default)
LBA 38 number (default)
SBH 39 number (default)
SBD 40 number (default)
SBA 41 number (default)
WHH 42 number (default)
WHD 43 number (default)
WHA 44 number (default)
SJH 45 number (default)
SJD 46 number (default)
SJA 47 number (default)
VCH 48 number (default)
VCD 49 number (default)
VCA 50 number (default)
BSH 51 number (default)
BSD 52 number (default)
BSA 53 number (default)
Bb1X2 54 integer (default)
BbMxH 55 number (default)
BbAvH 56 number (default)
BbMxD 57 number (default)
BbAvD 58 number (default)
BbMxA 59 number (default)
BbAvA 60 number (default)
BbOU 61 integer (default)
BbMx>2.5 62 number (default)
BbAv>2.5 63 number (default)
BbMx<2.5 64 number (default)
BbAv<2.5 65 number (default)
BbAH 66 integer (default)
BbAHh 67 number (default)
BbMxAHH 68 number (default)
BbAvAHH 69 number (default)
BbMxAHA 70 number (default)
BbAvAHA 71 number (default)

Similar Datasets

English Premier League

Spanish La Liga

German Bundesliga

Italian Serie A

French Ligue 1

Integrate this dataset into your favourite tool

Use our data-cli tool designed for data wranglers:

data get https://datahub.io/sports-data/english-premier-league
data info sports-data/english-premier-league
tree sports-data/english-premier-league
# Get a list of dataset's resources
curl -L -s https://datahub.io/sports-data/english-premier-league/datapackage.json | grep path

# Get resources

curl -L https://datahub.io/sports-data/english-premier-league/r/0.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/1.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/2.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/3.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/4.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/5.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/6.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/7.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/8.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/9.csv

curl -L https://datahub.io/sports-data/english-premier-league/r/10.zip

If you are using R here's how to get the data you want quickly loaded:

install.packages("jsonlite", repos="https://cran.rstudio.com/")
library("jsonlite")

json_file <- 'https://datahub.io/sports-data/english-premier-league/datapackage.json'
json_data <- fromJSON(paste(readLines(json_file), collapse=""))

# get list of all resources:
print(json_data$resources$name)

# print all tabular data(if exists any)
for(i in 1:length(json_data$resources$datahub$type)){
  if(json_data$resources$datahub$type[i]=='derived/csv'){
    path_to_file = json_data$resources$path[i]
    data <- read.csv(url(path_to_file))
    print(data)
  }
}

Note: You might need to run the script with root permissions if you are running on Linux machine

Install the Frictionless Data data package library and the pandas itself:

pip install datapackage
pip install pandas

Now you can use the datapackage in the Pandas:

import datapackage
import pandas as pd

data_url = 'https://datahub.io/sports-data/english-premier-league/datapackage.json'

# to load Data Package into storage
package = datapackage.Package(data_url)

# to load only tabular data
resources = package.resources
for resource in resources:
    if resource.tabular:
        data = pd.read_csv(resource.descriptor['path'])
        print (data)

For Python, first install the `datapackage` library (all the datasets on DataHub are Data Packages):

pip install datapackage

To get Data Package into your Python environment, run following code:

from datapackage import Package

package = Package('https://datahub.io/sports-data/english-premier-league/datapackage.json')

# print list of all resources:
print(package.resource_names)

# print processed tabular data (if exists any)
for resource in package.resources:
    if resource.descriptor['datahub']['type'] == 'derived/csv':
        print(resource.read())

If you are using JavaScript, please, follow instructions below:

Install data.js module using npm:

  $ npm install data.js

Once the package is installed, use the following code snippet:

const {Dataset} = require('data.js')

const path = 'https://datahub.io/sports-data/english-premier-league/datapackage.json'

// We're using self-invoking function here as we want to use async-await syntax:
;(async () => {
  const dataset = await Dataset.load(path)
  // get list of all resources:
  for (const id in dataset.resources) {
    console.log(dataset.resources[id]._descriptor.name)
  }
  // get all tabular data(if exists any)
  for (const id in dataset.resources) {
    if (dataset.resources[id]._descriptor.format === "csv") {
      const file = dataset.resources[id]
      // Get a raw stream
      const stream = await file.stream()
      // entire file as a buffer (be careful with large files!)
      const buffer = await file.buffer
      // print data
      stream.pipe(process.stdout)
    }
  }
})()

Read me

This dataset contains data for last 10 seasons of English Premier League including current season. The data is updated on weekly basis via Travis-CI. The dataset is sourced from http://www.football-data.co.uk/ website and contains various statistical data such as final and half time result, corners, yellow and red cards etc.

Datapackage.json

Request Customized Data


Notifications of data updates and schema changes

Warranty / guaranteed updates

Workflow integration (e.g. Python packages, NPM packages)

Customized data (e.g. you need different or additional data)

Or suggest your own feature from the link below