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

Try It Now!

French Ligue 1 (football)

sports-data

Files Size Format Created Updated License Source
11 2MB csv zip 1 year ago 4 months 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 French Ligue 1 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 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
PSH 32 number (default)
PSD 33 number (default)
PSA 34 number (default)
WHH 35 number (default)
WHD 36 number (default)
WHA 37 number (default)
VCH 38 number (default)
VCD 39 number (default)
VCA 40 number (default)
Bb1X2 41 integer (default)
BbMxH 42 number (default)
BbAvH 43 number (default)
BbMxD 44 number (default)
BbAvD 45 number (default)
BbMxA 46 number (default)
BbAvA 47 number (default)
BbOU 48 integer (default)
BbMx>2.5 49 number (default)
BbAv>2.5 50 number (default)
BbMx<2.5 51 number (default)
BbAv<2.5 52 number (default)
BbAH 53 integer (default)
BbAHh 54 number (default)
BbMxAHH 55 number (default)
BbAvAHH 56 number (default)
BbMxAHA 57 number (default)
BbAvAHA 58 number (default)
PSCH 59 number (default)
PSCD 60 number (default)
PSCA 61 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
LBH 32 number (default)
LBD 33 number (default)
LBA 34 number (default)
PSH 35 number (default)
PSD 36 number (default)
PSA 37 number (default)
WHH 38 number (default)
WHD 39 number (default)
WHA 40 number (default)
VCH 41 number (default)
VCD 42 number (default)
VCA 43 number (default)
Bb1X2 44 integer (default)
BbMxH 45 number (default)
BbAvH 46 number (default)
BbMxD 47 number (default)
BbAvD 48 number (default)
BbMxA 49 number (default)
BbAvA 50 number (default)
BbOU 51 integer (default)
BbMx>2.5 52 number (default)
BbAv>2.5 53 number (default)
BbMx<2.5 54 number (default)
BbAv<2.5 55 number (default)
BbAH 56 integer (default)
BbAHh 57 number (default)
BbMxAHH 58 number (default)
BbAvAHH 59 number (default)
BbMxAHA 60 number (default)
BbAvAHA 61 number (default)
PSCH 62 number (default)
PSCD 63 number (default)
PSCA 64 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
LBH 32 number (default)
LBD 33 number (default)
LBA 34 number (default)
PSH 35 number (default)
PSD 36 number (default)
PSA 37 number (default)
WHH 38 number (default)
WHD 39 number (default)
WHA 40 number (default)
VCH 41 number (default)
VCD 42 number (default)
VCA 43 number (default)
Bb1X2 44 integer (default)
BbMxH 45 number (default)
BbAvH 46 number (default)
BbMxD 47 number (default)
BbAvD 48 number (default)
BbMxA 49 number (default)
BbAvA 50 number (default)
BbOU 51 integer (default)
BbMx>2.5 52 number (default)
BbAv>2.5 53 number (default)
BbMx<2.5 54 number (default)
BbAv<2.5 55 number (default)
BbAH 56 integer (default)
BbAHh 57 number (default)
BbMxAHH 58 number (default)
BbAvAHH 59 number (default)
BbMxAHA 60 number (default)
BbAvAHA 61 number (default)
PSCH 62 number (default)
PSCD 63 number (default)
PSCA 64 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
LBH 32 number (default)
LBD 33 number (default)
LBA 34 number (default)
PSH 35 number (default)
PSD 36 number (default)
PSA 37 number (default)
WHH 38 number (default)
WHD 39 number (default)
WHA 40 number (default)
VCH 41 number (default)
VCD 42 number (default)
VCA 43 number (default)
Bb1X2 44 integer (default)
BbMxH 45 number (default)
BbAvH 46 number (default)
BbMxD 47 number (default)
BbAvD 48 number (default)
BbMxA 49 number (default)
BbAvA 50 number (default)
BbOU 51 integer (default)
BbMx>2.5 52 number (default)
BbAv>2.5 53 number (default)
BbMx<2.5 54 number (default)
BbAv<2.5 55 number (default)
BbAH 56 integer (default)
BbAHh 57 number (default)
BbMxAHH 58 number (default)
BbAvAHH 59 number (default)
BbMxAHA 60 number (default)
BbAvAHA 61 number (default)
PSCH 62 number (default)
PSCD 63 number (default)
PSCA 64 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
LBH 32 number (default)
LBD 33 number (default)
LBA 34 number (default)
PSH 35 number (default)
PSD 36 number (default)
PSA 37 number (default)
WHH 38 number (default)
WHD 39 number (default)
WHA 40 number (default)
SJH 41 string (default)
SJD 42 string (default)
SJA 43 string (default)
VCH 44 number (default)
VCD 45 number (default)
VCA 46 number (default)
Bb1X2 47 integer (default)
BbMxH 48 number (default)
BbAvH 49 number (default)
BbMxD 50 number (default)
BbAvD 51 number (default)
BbMxA 52 number (default)
BbAvA 53 number (default)
BbOU 54 integer (default)
BbMx>2.5 55 number (default)
BbAv>2.5 56 number (default)
BbMx<2.5 57 number (default)
BbAv<2.5 58 number (default)
BbAH 59 integer (default)
BbAHh 60 number (default)
BbMxAHH 61 number (default)
BbAvAHH 62 number (default)
BbMxAHA 63 number (default)
BbAvAHA 64 number (default)
PSCH 65 number (default)
PSCD 66 number (default)
PSCA 67 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
IWH 29 number (default)
IWD 30 number (default)
IWA 31 number (default)
LBH 32 number (default)
LBD 33 number (default)
LBA 34 number (default)
PSH 35 number (default)
PSD 36 number (default)
PSA 37 number (default)
WHH 38 number (default)
WHD 39 number (default)
WHA 40 number (default)
SJH 41 number (default)
SJD 42 number (default)
SJA 43 number (default)
VCH 44 number (default)
VCD 45 number (default)
VCA 46 number (default)
Bb1X2 47 integer (default)
BbMxH 48 number (default)
BbAvH 49 number (default)
BbMxD 50 number (default)
BbAvD 51 number (default)
BbMxA 52 number (default)
BbAvA 53 number (default)
BbOU 54 integer (default)
BbMx>2.5 55 number (default)
BbAv>2.5 56 number (default)
BbMx<2.5 57 number (default)
BbAv<2.5 58 number (default)
BbAH 59 string (default)
BbAHh 60 string (default)
BbMxAHH 61 string (default)
BbAvAHH 62 string (default)
BbMxAHA 63 string (default)
BbAvAHA 64 string (default)
PSCH 65 number (default)
PSCD 66 number (default)
PSCA 67 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
GBH 29 number (default)
GBD 30 number (default)
GBA 31 number (default)
IWH 32 number (default)
IWD 33 number (default)
IWA 34 number (default)
LBH 35 number (default)
LBD 36 number (default)
LBA 37 number (default)
PSH 38 number (default)
PSD 39 number (default)
PSA 40 number (default)
WHH 41 number (default)
WHD 42 number (default)
WHA 43 number (default)
SJH 44 number (default)
SJD 45 number (default)
SJA 46 number (default)
VCH 47 number (default)
VCD 48 number (default)
VCA 49 number (default)
BSH 50 number (default)
BSD 51 number (default)
BSA 52 number (default)
Bb1X2 53 integer (default)
BbMxH 54 number (default)
BbAvH 55 number (default)
BbMxD 56 number (default)
BbAvD 57 number (default)
BbMxA 58 number (default)
BbAvA 59 number (default)
BbOU 60 integer (default)
BbMx>2.5 61 number (default)
BbAv>2.5 62 number (default)
BbMx<2.5 63 number (default)
BbAv<2.5 64 number (default)
BbAH 65 integer (default)
BbAHh 66 number (default)
BbMxAHH 67 number (default)
BbAvAHH 68 number (default)
BbMxAHA 69 number (default)
BbAvAHA 70 number (default)
PSCH 71 number (default)
PSCD 72 number (default)
PSCA 73 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 string (default)
AF 16 string (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
GBH 29 number (default)
GBD 30 number (default)
GBA 31 number (default)
IWH 32 number (default)
IWD 33 number (default)
IWA 34 number (default)
LBH 35 number (default)
LBD 36 number (default)
LBA 37 number (default)
SBH 38 number (default)
SBD 39 number (default)
SBA 40 number (default)
WHH 41 number (default)
WHD 42 number (default)
WHA 43 number (default)
SJH 44 number (default)
SJD 45 number (default)
SJA 46 number (default)
VCH 47 number (default)
VCD 48 number (default)
VCA 49 number (default)
BSH 50 number (default)
BSD 51 number (default)
BSA 52 number (default)
Bb1X2 53 integer (default)
BbMxH 54 number (default)
BbAvH 55 number (default)
BbMxD 56 number (default)
BbAvD 57 number (default)
BbMxA 58 number (default)
BbAvA 59 number (default)
BbOU 60 integer (default)
BbMx>2.5 61 number (default)
BbAv>2.5 62 number (default)
BbMx<2.5 63 number (default)
BbAv<2.5 64 number (default)
BbAH 65 integer (default)
BbAHh 66 number (default)
BbMxAHH 67 number (default)
BbAvAHH 68 number (default)
BbMxAHA 69 number (default)
BbAvAHA 70 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
GBH 29 number (default)
GBD 30 number (default)
GBA 31 number (default)
IWH 32 number (default)
IWD 33 number (default)
IWA 34 number (default)
LBH 35 number (default)
LBD 36 number (default)
LBA 37 number (default)
SBH 38 number (default)
SBD 39 number (default)
SBA 40 number (default)
WHH 41 number (default)
WHD 42 number (default)
WHA 43 number (default)
SJH 44 string (default)
SJD 45 string (default)
SJA 46 string (default)
VCH 47 number (default)
VCD 48 number (default)
VCA 49 number (default)
BSH 50 number (default)
BSD 51 number (default)
BSA 52 number (default)
Bb1X2 53 integer (default)
BbMxH 54 number (default)
BbAvH 55 number (default)
BbMxD 56 number (default)
BbAvD 57 number (default)
BbMxA 58 number (default)
BbAvA 59 number (default)
BbOU 60 integer (default)
BbMx>2.5 61 number (default)
BbAv>2.5 62 number (default)
BbMx<2.5 63 number (default)
BbAv<2.5 64 number (default)
BbAH 65 integer (default)
BbAHh 66 number (default)
BbMxAHH 67 number (default)
BbAvAHH 68 number (default)
BbMxAHA 69 number (default)
BbAvAHA 70 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)
HS 11 integer (default)
AS 12 integer (default)
HST 13 integer (default)
AST 14 integer (default)
HF 15 integer (default)
AF 16 integer (default)
HC 17 integer (default)
AC 18 integer (default)
HY 19 integer (default)
AY 20 integer (default)
HR 21 integer (default)
AR 22 integer (default)
B365H 23 number (default)
B365D 24 number (default)
B365A 25 number (default)
BWH 26 number (default)
BWD 27 number (default)
BWA 28 number (default)
GBH 29 number (default)
GBD 30 number (default)
GBA 31 number (default)
IWH 32 number (default)
IWD 33 number (default)
IWA 34 number (default)
LBH 35 number (default)
LBD 36 number (default)
LBA 37 number (default)
SBH 38 number (default)
SBD 39 number (default)
SBA 40 number (default)
WHH 41 number (default)
WHD 42 number (default)
WHA 43 number (default)
SJH 44 number (default)
SJD 45 number (default)
SJA 46 number (default)
VCH 47 number (default)
VCD 48 number (default)
VCA 49 number (default)
BSH 50 number (default)
BSD 51 number (default)
BSA 52 number (default)
Bb1X2 53 integer (default)
BbMxH 54 number (default)
BbAvH 55 number (default)
BbMxD 56 number (default)
BbAvD 57 number (default)
BbMxA 58 number (default)
BbAvA 59 number (default)
BbOU 60 integer (default)
BbMx>2.5 61 number (default)
BbAv>2.5 62 number (default)
BbMx<2.5 63 number (default)
BbAv<2.5 64 number (default)
BbAH 65 integer (default)
BbAHh 66 number (default)
BbMxAHH 67 number (default)
BbAvAHH 68 number (default)
BbMxAHA 69 number (default)
BbAvAHA 70 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/french-ligue-1
data info sports-data/french-ligue-1
tree sports-data/french-ligue-1
# Get a list of dataset's resources
curl -L -s https://datahub.io/sports-data/french-ligue-1/datapackage.json | grep path

# Get resources

curl -L https://datahub.io/sports-data/french-ligue-1/r/0.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/1.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/2.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/3.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/4.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/5.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/6.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/7.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/8.csv

curl -L https://datahub.io/sports-data/french-ligue-1/r/9.csv

curl -L https://datahub.io/sports-data/french-ligue-1/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/french-ligue-1/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/french-ligue-1/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/french-ligue-1/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/french-ligue-1/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 French Ligue 1 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