-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OData4 implementation #8
Open
J535D165
wants to merge
12
commits into
main
Choose a base branch
from
odata4
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Add warning for version 3 (in the transition period) |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request proposes an implementation of the new OData4 protocol used by CBS. CBS migrates from OData version 3 to OData version 4. This migration comes with a lot of other changes. Read about the changes at the website of CBS https://beta.opendata.cbs.nl/OData4/index.html.
All feedback is welcome.
Available functions
Example
Tidy data/Long data
The new data is in a tidy (or long) format. Read more about tidy data: https://en.wikipedia.org/wiki/Tidy_data.
Transform long data into a pivot table with Pandas.
Migration
In a couple of months, we release a version 4.0.0 of this client-side library. This version drops support for OData 3 completely.
cbsodata>=4
Installs version 4 or higher. This version uses OData4 by default.
pip install cbsodata>=4
cbsodata<4
Default version 3 and experimental implementation of OData version 4.
pip install cbsodata<4
Use version 3
Use version 4
Todo
@jolienoomens