Skip to content

Clean and reformat acaps dataset #65

@sammerpuranpost

Description

@sammerpuranpost

Currently the acaps dataset has a seperate row for each new policy adapted by a country, the goal is to to have one row for each country with the column values indication if a certain policy has been adapted or not (kind of like one hot encoding)

Trello card : https://trello.com/c/V3JYaToE/88-social-distancing-policies

1.The idea is to transpose the rows for each policy to columns with value of 1 or 0 indicating if a policy has been adapted by a certain country.

  1. A Basic approach would be a function to create a pivot table of the acaps dataset. The input would be the current acaps dataframe and the output the pivoted dataframe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions