Skip to content

Nicer Formatting #14

Description

@pforero

Currently the output is not well formatted. For example the output of methods returns the coding of regions and/or parties. A nicer output for the final user would be get the names instead of the codes.

An important thing to take into account is that these functions are used both for internal calculations and output. Coding is useful for the output of internal calculations. But names are better for the final user output. Not sure if maybe separate functions are needed for each case, or how best to do it.

Functions that need a nicer formatting:

election.mps()
election.parlament()
election.most_voted()

This can also be true for attributes, such as:

election.votes
election.parties /electoral_map
election.regions /electoral_map
election.distributon /electoral_map

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions