Skip to content

Commit 65f458f

Browse files
econdb: add functional interface
1 parent 52f2672 commit 65f458f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pandas_datareader/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
get_components_yahoo,
99
get_dailysummary_iex,
1010
get_data_alphavantage,
11+
get_data_econdb,
1112
get_data_enigma,
1213
get_data_famafrench,
1314
get_data_fred,
@@ -38,6 +39,7 @@
3839
__all__ = [
3940
"__version__",
4041
"get_components_yahoo",
42+
"get_data_econdb",
4143
"get_data_enigma",
4244
"get_data_famafrench",
4345
"get_data_yahoo",

pandas_datareader/data.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
__all__ = [
4343
"get_components_yahoo",
44+
"get_data_econdb",
4445
"get_data_enigma",
4546
"get_data_famafrench",
4647
"get_data_fred",
@@ -80,6 +81,10 @@ def get_data_yahoo(*args, **kwargs):
8081
return YahooDailyReader(*args, **kwargs).read()
8182

8283

84+
def get_data_econdb(*args, **kwargs):
85+
return EcondbReader(*args, **kwargs).read()
86+
87+
8388
def get_data_enigma(*args, **kwargs):
8489
return EnigmaReader(*args, **kwargs).read()
8590

0 commit comments

Comments
 (0)