Skip to content

Wages adjustment Series #9

@PyMap

Description

@PyMap

Wages are read from this source https://datos.gob.ar/dataset/sspm-indice-salarios-base-octubre-2016/archivo/sspm_149.1 and loaded here https://github.com/PyMap/ssyt/blob/main/ssyt/ssyt_container.py#L67.

Then is formatted here https://github.com/PyMap/ssyt/blob/main/ssyt/visprev.py#L150-L175 when prices are adjusted using IPC.
Now, we only use the general index

image

... but we can parametrize and select from others:

Index(['indice_tiempo', 'indice_salarios', 'indice_salarios_registrado',
       'indice_salarios_registrado_sector_privado',
       'indice_salarios_registrado_sector_publico',
       'indice_salarios_no_registrado_sector_privado'],
      dtype='object')

TODO 1: set a new selector to choose form options above here https://github.com/PyMap/ssyt/blob/main/ssyt/ssyt_container.py#L67

Current wages version we use goes up to 2021-07. but IPC end on 2021-10.
TODO 2: set a cut point to use prices based on salary availability or complete salaries based on historical behavior

In this notebook https://colab.research.google.com/drive/1-NSwwSANfATUxjYpyGDogZw8xZHjyv1T?usp=sharing, I take the mean from last available year and progressively add based on IPC limit.
It would be nice to discuss it more and write an automatic way to do it (out of a notebook) without loosing streamlit performance while loading the data

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions