InseeFrLab / pynsee

pynsee package contains tools to easily search and download french data from INSEE and IGN APIs
https://pynsee.readthedocs.io/en/latest/
MIT License
67 stars 8 forks source link

search_sirene does not support range patterns #165

Closed tfardet closed 1 year ago

tfardet commented 1 year ago

Because of the automatic split in search_sirene, the function cannot handle range requests.

E.g.

pynsee.search_sirene(variable = ["codeCommuneEtablissement", "trancheEffectifsEtablissement"],
                     pattern = ['77083', "[12 TO 53]"], kind = 'siret')

Will propose a fix soon.