CITTYJAMES commited on
Commit
371b45d
·
verified ·
1 Parent(s): 8579be1

Upload new README.md for dataset metadata and documentation

Browse files
Files changed (1) hide show
  1. README.md +107 -0
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pretty_name: Melbourne Cafés & Restaurants (OSM / Overpass)
5
+ ---
6
+
7
+ ---
8
+ license: odbl-1.0
9
+ ---
10
+
11
+ # Melbourne Cafés & Restaurants (OpenStreetMap / Overpass)
12
+
13
+ **Area:** Melbourne CBD + Fitzroy + Carlton + Collingwood + Richmond West
14
+ **Method:** Two Overpass API queries (`amenity=cafe`, `amenity=restaurant`) over a Melbourne **bounding box**, merged and augmented
15
+ **Collection date:** 22 October 2025 (Australia/Perth)
16
+ **Canonical file:** `melbourne_cafes_restaurants_clean.csv` (1,896 × 31)
17
+ **Licence:** © OpenStreetMap contributors — **ODbL 1.0**
18
+
19
+ ---
20
+
21
+ ## Dataset Description
22
+ An open dataset of cafés and restaurants in metropolitan Melbourne collected with the OpenStreetMap Overpass API.
23
+ The table includes geospatial coordinates, address details, and engineered features for text and vector-search tasks.
24
+
25
+ ---
26
+
27
+ ## Collection Parameters
28
+ - **Bounding box:** `south = -38.26`, `north = -37.47`, `west = 144.49`, `east = 145.49`
29
+ - **Queries executed:**
30
+ - `amenity="cafe"`
31
+ - `amenity="restaurant"`
32
+ - **Elements captured:** nodes, ways, relations (with `center` geometry)
33
+ - **Output:** JSON → flattened to CSV
34
+
35
+ **Example Overpass query (cafés):**
36
+ ```overpass
37
+ [out:json][timeout:180];
38
+ (
39
+ node["amenity"="cafe"](-38.26,144.49,-37.47,145.49);
40
+ way["amenity"="cafe"](-38.26,144.49,-37.47,145.49);
41
+ relation["amenity"="cafe"](-38.26,144.49,-37.47,145.49);
42
+ );
43
+ out tags center;
44
+
45
+ Data Cleaning & Augmentation
46
+
47
+ After merging café and restaurant records:
48
+
49
+ Cleaning: drop null names/coords; de-duplicate by name + rounded coordinates; standardise address fields and combine into address_full.
50
+
51
+ Derived features:
52
+
53
+ distance_to_cbd_km — Haversine distance from Flinders Street Station
54
+
55
+ cuisine_primary — first value from semicolon-separated cuisine
56
+
57
+ name_len — character length of venue name
58
+
59
+ desc — short human-readable summary
60
+
61
+ text — concatenated string used for zero-shot and embeddings
62
+
63
+ boolean flags: has_wifi, has_outdoor, is_accessible (where inferable)
64
+
65
+ Validation: simple checks for duplicates, coordinate ranges, and missing essentials.
66
+
67
+
68
+ Reliability & Coverage
69
+
70
+ Coverage bias: OSM completeness varies by suburb; some tags (e.g., cuisine, opening_hours) may be missing.
71
+
72
+ Temporal snapshot: Data reflects 22 Oct 2025; venues may change over time.
73
+
74
+ No personal data: Only business POIs (public venues).
75
+
76
+ Intended Use
77
+
78
+ Task 2: Apply a pre-trained Transformer (zero-shot) to label text (e.g., fine dining, family friendly).
79
+
80
+ Task 3: Generate text embeddings and perform FAISS top-k similarity search.
81
+
82
+ Licence & Attribution
83
+
84
+ ODbL 1.0 — © OpenStreetMap contributors.
85
+ Attribution and share-alike apply to adapted databases and redistributions.
86
+ See: https://www.openstreetmap.org/copyright
87
+
88
+ Ethics & Privacy (Australia)
89
+
90
+ Dataset contains only business locations — no personal or sensitive information.
91
+ Complies with APP 3 (collection), APP 5 (notification), and APP 8 (cross-border disclosure) under the Privacy Act 1988 (Cth).
92
+ Hugging Face hosting occurs outside Australia; attribution, data retention, and provenance are documented in the course report.
93
+
94
+ Storage & Versioning
95
+
96
+ Earlier raw/intermediate files (osm_melb_cafes_raw.json, melbourne_cafes_restaurants.csv) were uploaded temporarily for validation and are now archived locally to keep the preview clean.
97
+ Only the canonical file melbourne_cafes_restaurants_clean.csv remains at repo root.
98
+ Version history is available in the Files & Versions tab.
99
+
100
+ Load
101
+ from datasets import load_dataset
102
+ ds = load_dataset("CITTYJAMES/melbourne-cafes-restaurants-osm")
103
+
104
+ Citation
105
+
106
+ Gaddi, Heidi (2025). Melbourne Cafés & Restaurants (OpenStreetMap / Overpass).
107
+ Hugging Face Datasets. https://huggingface.co/datasets/CITTYJAMES/melbourne-cafes-restaurants-osm