Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add functions for parameter validity check and parameter transformation #308

Closed
FlorianK13 opened this issue Jul 25, 2022 · 1 comment · Fixed by #337
Closed

Add functions for parameter validity check and parameter transformation #308

FlorianK13 opened this issue Jul 25, 2022 · 1 comment · Fixed by #337
Assignees
Labels
🚀 feature New feature or request

Comments

@FlorianK13
Copy link
Member

Create new set of functions or edit existing functions that can handle the parameter harmonisation adressed in #252:

  • validate_parameter_tables(method, data) checks if parameter values and chosen method ("API" or "bulk") work together
  • transform_parameter creates new parameters that are needed for the download depending on the user input (such as api_location_types if "location" in data and method="API")
@FlorianK13 FlorianK13 added the 🚀 feature New feature or request label Jul 25, 2022
chrwm added a commit that referenced this issue Jul 25, 2022
chrwm added a commit that referenced this issue Jul 25, 2022
deniztepe added a commit that referenced this issue Aug 19, 2022
The parameter 'technology' is replaced with 'data' wherever it means more than only technologies.
It requires a thorough scan of scripts for a consistent refactoring.
The documentation must be adapted as well.
deniztepe added a commit that referenced this issue Aug 22, 2022
deniztepe added a commit that referenced this issue Aug 22, 2022
*api_data_types and api_location_types default now to all possible selections.
* transform function returns lists required from lower functions -> lower functions must handle only lists -> no parsing etc.
deniztepe added a commit that referenced this issue Aug 22, 2022
deniztepe added a commit that referenced this issue Aug 22, 2022
deniztepe added a commit that referenced this issue Aug 24, 2022
* Technology is renamed to data where necessary
* In docstring, a table for possible data values is added
deniztepe added a commit that referenced this issue Aug 24, 2022
@deniztepe deniztepe linked a pull request Aug 24, 2022 that will close this issue
chrwm added a commit that referenced this issue Aug 26, 2022
FlorianK13 added a commit that referenced this issue Aug 29, 2022
…-technology-parameter

Feature #308 transform technology parameter

Closes #308
@FlorianK13
Copy link
Member Author

Closed with #337

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🚀 feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants