Skip to content

Inconsistency between column names and content for SUIVI-DEMANDE-TOURISTIQUE #201

Closed

Description

@tfardet

The columns titles and content in SUIVI-DEMANDE-TOURISTIQUE got shifted for some reason:

from pynsee.macrodata import get_series_list

dt = get_series_list("SUIVI-DEMANDE-TOURISTIQUE")

set(dt.DESTINATION_VOYAGE)   # {'SO'}
set(dt.TYPE_HEBERGEMENT)     # {'AELE', 'ETRANGER', 'ETRANGER_HORS_EUROPE', 'FRANCE', 'TOTAL'}
set(dt.MOTIF_VOYAGE)         # {'AUTRE_NON_PAYANT',  ..., 'MARCHAND',  'NON_MARCHAND', ..., 'TOTAL'}

Activity

  1. added
    bug
    on Jun 17, 2024
  2. self-assigned this
    on Feb 27, 2025
  3. tfardet commented on Feb 27, 2025

    @tfardet
    CollaboratorAuthor

    The issue comes from the fact that the order of the dimensions obtained from _get_dataset_dimension and the values in cleFlow from _download_idbank_list are different.

    I would propose to use the last column ("list_var") from the idbank file instead, and not remove it from the data here.

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions