raphael0202 commited on
Commit
f6a473c
1 Parent(s): 2adcc96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +62 -0
README.md CHANGED
@@ -8,4 +8,66 @@ configs:
8
  data_files:
9
  - split: prices
10
  path: prices.parquet
 
 
 
 
 
11
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  data_files:
9
  - split: prices
10
  path: prices.parquet
11
+ tags:
12
+ - price
13
+ - food
14
+ size_categories:
15
+ - 10K<n<100K
16
  ---
17
+
18
+ # Open Prices
19
+
20
+ ## What is Open Prices?
21
+
22
+ [Open Prices](https://prices.openfoodfacts.org/) is a project to collect and share prices of products around the world.
23
+ It's a publicly available dataset that can be used for research, analysis, and more. Open Prices is developed and maintained by Open Food Facts.
24
+
25
+ There are currently few companies that own large databases of product prices at the barcode level.
26
+ These prices are not freely available, but sold at a high price to private actors, researchers and other organizations that can afford them.
27
+
28
+ Open Prices aims to democratize access to price data by collecting and sharing under an open licence product prices. The data is available under the [Open Database License (ODbL)](https://opendatacommons.org/licenses/odbl/1.0/), which means that it can be used for any purpose, as long as you credit Open Prices and share any modifications you make to the dataset. Images submitted as proof are licensed under the [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/).
29
+
30
+ ## Dataset description
31
+
32
+ This dataset contains in Parquet format all price information contained in the Open Prices database. The dataset is updated daily.
33
+
34
+ Here is a description of the most important columns:
35
+
36
+ - `id`: The ID of the price in DB
37
+ - `product_code`: The barcode of the product, null if the product is a "raw" product (fruit, vegetable, etc.)
38
+ - `category_tag`: The category of the product, only present for "raw" products. We follow Open Food Facts category taxonomy for category IDs.
39
+ - `labels_tags`: The labels of the product, only present for "raw" products. We follow Open Food Facts label taxonomy for label IDs.
40
+ - `origins_tags`: The origins of the product, only present for "raw" products. We follow Open Food Facts origin taxonomy for origin IDs.
41
+ - `price`: The price of the product, with the discount if any.
42
+ - `price_is_discounted`: Whether the price is discounted or not.
43
+ - `price_without_discount`: The price of the product without discount, null if the price is not discounted.
44
+ - `price_per`: The unit for which the price is given (e.g. "KILOGRAM", "UNIT")
45
+ - `currency`: The currency of the price
46
+ - `location_osm_id`: The OpenStreetMap ID of the location where the price was recorded. We use OpenStreetMap to identify uniquely the store where the price was recorded.
47
+ - `location_osm_type`: The type of the OpenStreetMap location (e.g. "NODE", "WAY")
48
+ - `location_id`: The ID of the location in the Open Prices database
49
+ - `date`: The date when the price was recorded
50
+ - `proof_id`: The ID of the proof of the price in the Open Prices DB
51
+ - `owner`: a hash of the owner of the price, for privacy.
52
+ - `created`: The date when the price was created in the Open Prices DB
53
+ - `updated`: The date when the price was last updated in the Open Prices DB
54
+ - `proof_file_path`: The path to the proof file in the Open Prices DB
55
+ - `proof_type`: The type of the proof. Possible values are `RECEIPT`, `PRICE_TAG`, `GDPR_REQUEST`, `SHOP_IMPORT`
56
+ - `proof_date`: The date of the proof
57
+ - `proof_currency`: The currency of the proof, should be the same as the price currency
58
+ - `proof_created`: The datetime when the proof was created in the Open Prices DB
59
+ - `proof_updated`: The datetime when the proof was last updated in the Open Prices DB
60
+ - `location_osm_display_name`: The display name of the OpenStreetMap location
61
+ - `location_osm_address_city`: The city of the OpenStreetMap location
62
+ - `location_osm_address_postcode`: The postcode of the OpenStreetMap location
63
+
64
+
65
+ ## How can I download images?
66
+
67
+ All images can be accessed under the `https://prices.openfoodfacts.org/img/` base URL. You just have to concatenate the `proof_file_path` column to this base URL to get the full URL of the image (ex: https://prices.openfoodfacts.org/img/0010/lqGHf3ZcVR.webp).
68
+
69
+ ## Can I contribute to Open Prices?
70
+
71
+ Of course! You can contribute by adding prices, trough the [Open Prices website](https://prices.openfoodfacts.org/) or through Open Food Facts mobile app.
72
+
73
+ To participate in the technical development, you can check the [Open Prices GitHub repository](https://github.com/openfoodfacts/open-prices).