You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/remote_data.rst
+49-11Lines changed: 49 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -25,25 +25,33 @@ Remote Data Access
25
25
26
26
Functions from :mod:`pandas_datareader.data` and :mod:`pandas_datareader.wb`
27
27
extract data from various Internet sources into a pandas DataFrame.
28
-
Currently the following sources are supported:
28
+
Currently the following sources are supported and tested:
29
29
30
-
- :ref:`Alpha Vantage<remote_data.alphavantage>`
31
-
- :ref:`Econdb<remote_data.econdb>`
32
-
- :ref:`Enigma<remote_data.enigma>`
33
-
- :ref:`Eurostat<remote_data.eurostat>`
34
-
- :ref:`IEX<remote_data.iex>`
30
+
- :ref:`St.Louis FED (FRED)<remote_data.fred>`
35
31
- :ref:`Kenneth French's data library<remote_data.ff>`
32
+
- :ref:`Stooq<remote_data.stooq>`
33
+
- :ref:`Enigma<remote_data.enigma>`
36
34
- :ref:`MOEX<remote_data.moex>`
37
35
- :ref:`Nasdaq Trader symbol definitions<remote_data.nasdaq_symbols>`
38
36
- :ref:`Naver Finance<remote_data.naver>`
39
-
- :ref:`OECD<remote_data.oecd>`
37
+
38
+
39
+
The following sources may not be working since they require an API key for testing:
40
+
41
+
- :ref:`Alpha Vantage<remote_data.alphavantage>`
40
42
- :ref:`Quandl<remote_data.quandl>`
41
-
- :ref:`St.Louis FED (FRED)<remote_data.fred>`
42
-
- :ref:`Stooq<remote_data.stooq>`
43
-
- :ref:`Thrift Savings Plan<remote_data.tsp>`
44
43
- :ref:`Tiingo<remote_data.tiingo>`
45
-
- :ref:`World Bank<remote_data.wb>`
44
+
- :ref:`IEX<remote_data.iex>`
45
+
46
+
The following sources have been previously supported but are fully working in the current version:
47
+
46
48
- :ref:`Yahoo Finance<remote_data.yahoo>`
49
+
- :ref:`Eurostat<remote_data.eurostat>`
50
+
- :ref:`OECD<remote_data.oecd>`
51
+
- :ref:`Econdb<remote_data.econdb>`
52
+
- :ref:`World Bank<remote_data.wb>`
53
+
- :ref:`Thrift Savings Plan<remote_data.tsp>`
54
+
47
55
48
56
It should be noted, that various sources support different kinds of data, so not all sources implement the same methods and the data elements returned might also differ.
49
57
@@ -447,6 +455,7 @@ FRED
447
455
====
448
456
449
457
.. ipython:: python
458
+
:okexcept:
450
459
451
460
import pandas_datareader.data as web
452
461
import datetime
@@ -470,6 +479,7 @@ Access datasets from the `Fama/French Data Library
470
479
The ``get_available_datasets`` function returns a list of all available datasets.
471
480
472
481
.. ipython:: python
482
+
:okexcept:
473
483
474
484
from pandas_datareader.famafrench import get_available_datasets
475
485
import pandas_datareader.data as web
@@ -650,6 +660,11 @@ See docstrings for more info.
650
660
OECD
651
661
====
652
662
663
+
.. warning::
664
+
665
+
The OECD reader is currently not working. PRs to fix are welcome.
666
+
667
+
653
668
`OECD Statistics <http://stats.oecd.org/>`__ are available via ``DataReader``.
654
669
You have to specify OECD's data set code.
655
670
@@ -658,6 +673,7 @@ example is to download 'Trade Union Density' data which set code is 'TUD'.
658
673
659
674
660
675
.. ipython:: python
676
+
:okexcept:
661
677
662
678
import pandas_datareader.data as web
663
679
import datetime
@@ -673,6 +689,11 @@ example is to download 'Trade Union Density' data which set code is 'TUD'.
673
689
Eurostat
674
690
========
675
691
692
+
.. warning::
693
+
694
+
The Eurostat reader is currently not working. PRs to fix are welcome.
695
+
696
+
676
697
`Eurostat <http://ec.europa.eu/eurostat/>`__ are available via ``DataReader``.
677
698
678
699
Get `Rail accidents by type of accident (ERA data) <http://appsso.eurostat.ec.europa.eu/nui/show.do?dataset=tran_sf_railac&lang=en>`_ data. The result will be a ``DataFrame`` which has ``DatetimeIndex``as index and``MultiIndex`` of attributes or countries as column. The target URLis:
@@ -682,6 +703,7 @@ Get `Rail accidents by type of accident (ERA data) <http://appsso.eurostat.ec.eu
682
703
You can specify dataset ID'tran_sf_railac' to get corresponding data via ``DataReader``.
683
704
684
705
.. ipython:: python
706
+
:okexcept:
685
707
686
708
import pandas_datareader.data as web
687
709
@@ -693,9 +715,15 @@ You can specify dataset ID 'tran_sf_railac' to get corresponding data via ``Data
693
715
Thrift Savings Plan (TSP) Fund Data
694
716
===================================
695
717
718
+
.. warning::
719
+
720
+
The TSP reader is currently not working. PRs to fix are welcome.
721
+
722
+
696
723
Download mutual fund index prices for the Thrift Savings Plan (TSP).
0 commit comments