/Covid_enseignes

Which chain stores are opened during Covid-19 lockdown ?

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Chain stores open during Covid-19 lockdown

Which chain stores are open during Covid-19 lockdown ? Answer is here !

The objective of this repository is to list rules applicable to chain stores worldwide concerning their opening during the Covid-19 lockdown period. This allows to create maps like Ça reste ouvert (it stays open in French) of open shops during lockdown.

Examples :

  • Do-it-yourself shops "Pro hardware" are open country-wide from 09:00 to 18:00
  • Bakeries "Bonne baguette" are closed country-wide

How you can contribute

Report information

To report information about a chain of stores (at least 10 shops, for independent shops please use opening_hours:covid19 tag on OpenStreetMap), you can create an issue in this repository.

Your issue should be formatted like below :

* __Brand__ : brand name of concerned shops
* __Opening rule__ : shops closed / shops open as usual / shops open with adapted opening hours (give some details : on appointment, only by delivery...)
* __Wikipedia / Wikidata__ : (optional) URL to Wikipedia or [Wikidata](https://www.wikidata.org/) page
* __Opening hours__ : (optional) URL to web page with opening hours list for shops
* __Source__ : URL to web page where you got info from

Before creating an issue, please check that info you want to report is not already listed or in another open issue.

Pro-tip : to easily find missing brands, you can have a look at this CSV file, which lists brands found in "Ça reste ouvert" data. Open it in a spreadsheet software (like LibreOffice), then filter on most recent date. Look at brands with unknown status, there are many chances they don't exist in our repository.

Integrate information

Based on open issues, and if you're comfortable with GitHub, you can integrate information received into the CSV file rules.csv. Then, propose a pull request to the master branch, and remember to link the corresponding issue in your commit comment.

Result

The aim is to produce a worlwide map showing open shops during lockdown, and their associated opening hours. This is useful because :

  • It avoids useless trips to closed shops
  • It makes easier to find a shop near you instead of going far from your home
  • It allows to see how things are evolving during the lockdown

All data is compiled in a single spreadsheet file rules.csv, which defines received opening rules to be used with OpenStreetMap and Wikidata. It has the following format (encoding : UTF-8, delimiter : ,) :

  • country : 2-letters, uppercase country code (ISO 3166-1 alpha-2 code)
  • category : category of chain stores (following OpenStreetMap tagging)
  • brand_name : chain name
  • wikidata_id : Wikidata identifier (starting with Q)
  • opening_rule : opening status of stores (possible values : open = as usual, open_adapted = open with specific opening hours, partial = not all shops are opened, closed = all shops are closed)
  • opening_hours : opening hours of all stores (following OpenStreetMap opening_hours tagging scheme)
  • description : information about shop accessibility, reduced services...
  • source_url : URL of web page where you find info from
  • opening_hours_url : URL of web page where opening hours during lockdown are listed

For backward compatibility, another deprecated file regles.csv is also available (only French shops) with this format :

  • nom_enseigne : nom de l'enseigne
  • categorie : type de commerce (en Anglais, selon la description OpenStreetMap : supermarket, bakery...)
  • id_wikidata : identifiant Wikidata de cette enseigne
  • url_source : lien URL où les infos d'ouveture/fermeture sont renseignées
  • url_horaires : en cas d'horaires adaptées, lien URL recensant les horaires
  • regle_ouverture : statut d'ouverture des magasins (valeurs possibles : ouvert = pas de changement, ouvert_adapté = ouvert avec horaires adaptés, partiel = certains magasins fermés, fermé = tous les magasins fermés)
  • horaires : horaires au format opening_hours OpenStreetMap si valables pour tous les commerces de l'enseigne
  • infos : champ texte libre d'informations supplémentaires

License

Copyright 2020 Adrien PAVIE

Data under Creative Commons Public Domain License (CC0), see full license for details.

JavaScript code under GNU Affero General Public License.