-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs, tests, remove search functions
- Loading branch information
1 parent
208da1f
commit 2d84fdf
Showing
11 changed files
with
538 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Basic functionality | ||
|
||
The basic functionality for `wbdata` users is provided by a set of functions in | ||
the topic level package namespace. | ||
|
||
## Data Retrieval | ||
|
||
These are the functions for actually getting data values from the World Bank | ||
API. | ||
|
||
### Raw Data Retrieval | ||
|
||
::: wbdata.client.Client.get_data | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
|
||
### Pandas Data Retrieval | ||
|
||
These functions require Pandas to be installed to work. | ||
|
||
::: wbdata.client.Client.get_series | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
::: wbdata.client.Client.get_dataframe | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
## Metadata Retrieval | ||
|
||
These functions, for the most part, are for finding the parameters you want to | ||
put into the data retrieval functions. These all return | ||
[SearchResult][wbdata.client.SearchResults], which are lists that pretty-print | ||
the table in an interactive environment, and which contain dictionary | ||
representations of the requested resource. | ||
|
||
### Searchable Metadata | ||
|
||
There are enough indicators and countries that it's annoying to look through | ||
them, so the functions for retrieving information about them can be narrowed | ||
with additional facets and filtered with a search term or regular expression | ||
supplied to the `query` parameter. | ||
|
||
::: wbdata.client.Client.get_country | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
|
||
::: wbdata.client.Client.get_indicator | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
### Indicator Facets | ||
|
||
::: wbdata.client.Client.get_source | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
::: wbdata.client.Client.get_topic | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
### Country Facets | ||
|
||
::: wbdata.client.Client.get_incomelevel | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 | ||
|
||
::: wbdata.client.Client.get_lendingtype | ||
options: | ||
show_root_heading: true | ||
show_root_full_path: false | ||
heading_level: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Client Module | ||
::: wbdata.client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Dates module | ||
|
||
::: wbdata.dates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Fetcher Module | ||
|
||
::: wbdata.fetcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.