Skip to content

Commit

Permalink
[infra] change download functions to consume CKAN endpoints #1129 (#…
Browse files Browse the repository at this point in the history
…1130)

* [infra] add function to wrap bd_dataset_search endpoint

* Update download.py

* [infra] modify list_datasets function to consume CKAN endpoint

* [infra] fix list_dataset function to include limit and remove order_by

* [infra] change function list_dataset_tables to use CKAN endpoint

* [infra] apply PEP8 to list_dataset_tables and respective tests

* add get_dataset_description, get_table_description, get_table_columns

* [infra] fix dataset_config.yaml folder path (#1067)

* feat(infra) merge master

* fix files organization to match master

* remove download.py

* remove test_download

* Delete test_download.py

* remove test files

* remove test_download.py

* remove test_download.py

* remove test_download.py

* remove test_download.py

* add tests metadata

* remove test_download.py

* remove unused imports

* [infra] add _safe_fetch and get_table_size functions

Co-authored-by: lucascr91 <[email protected]>
  • Loading branch information
d116626 and lucascr91 authored Feb 22, 2022
1 parent b1862d9 commit a480d49
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 273 deletions.
3 changes: 2 additions & 1 deletion python-package/basedosdados/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
get_dataset_description,
get_table_columns,
get_table_size,
)
search
)
Loading

0 comments on commit a480d49

Please sign in to comment.