Skip to content
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

new procedure: run_op #7

Closed
semio opened this issue Aug 1, 2016 · 1 comment
Closed

new procedure: run_op #7

semio opened this issue Aug 1, 2016 · 1 comment
Labels

Comments

@semio
Copy link
Owner

semio commented Aug 1, 2016

Reason

Some datapoints are made with other datapoints by running math operators. We need a procedure for this task.

API

run_op accepts following parameters:

  • ingredients: the ingredients to run operation.
  • op: a dictionary, which are new_key: calculation pairs. For example:
{
    # male_population_0_14_years and female_population_0_14_years should exist 
    # in the ingredient
    sex_ratio_0_14_years: "male_population_0_14_years / female_population_0_14_years"
}
@semio semio added bug recipe and removed bug labels Aug 1, 2016
semio added a commit that referenced this issue Aug 1, 2016
related issue: #7
@semio
Copy link
Owner Author

semio commented Aug 3, 2016

@semio semio closed this as completed Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant