Text crawl dataset
Collection
Text dataset gathered using crawlers.
•
23 items
•
Updated
•
1
Error code: FeaturesError Exception: ValueError Message: Not able to read records in the JSON file at hf://datasets/malaysia-ai/crawl-foodpanda@1e0e9792d75f2b8304d89b55cccf1af89924b198/foodpanda-foods-old.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['Kuala Lumpur', 'Penang', 'Petaling Jaya', 'Subang', 'Shah Alam', 'Cyberjaya', 'Johor Bahru', 'Melaka', 'Kuching', 'Miri', 'Kuantan', 'Bangi', 'Ipoh', 'Terengganu', 'Kajang', 'Kelantan', 'Putrajaya', 'Kota-Kinabalu', 'Klang', 'Negeri Sembilan', 'Sungai Petani', 'Alor Setar', 'Kulim', 'Rawang', 'Taiping', 'Sitiawan', 'Kluang', 'Kulai', 'Sibu', 'Sepang', 'Kangar', 'Temerloh', 'Bintulu', 'Petra Jaya', 'Sandakan', 'Pontian', 'Segamat', 'Nibong Tebal', 'Kampar', 'Ulu Tiram']. Select the correct one and provide it as `field='XXX'` to the dataset loading method. Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 240, in compute_first_rows_from_streaming_response iterable_dataset = iterable_dataset._resolve_features() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2216, in _resolve_features features = _infer_features_from_batch(self.with_format(None)._head()) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1239, in _head return _examples_to_batch(list(self.take(n))) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1389, in __iter__ for key, example in ex_iterable: File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1044, in __iter__ yield from islice(self.ex_iterable, self.n) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 282, in __iter__ for key, pa_table in self.generate_tables_fn(**self.kwargs): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 170, in _generate_tables raise ValueError( ValueError: Not able to read records in the JSON file at hf://datasets/malaysia-ai/crawl-foodpanda@1e0e9792d75f2b8304d89b55cccf1af89924b198/foodpanda-foods-old.json. You should probably indicate the field of the JSON file containing your records. This JSON file contain the following fields: ['Kuala Lumpur', 'Penang', 'Petaling Jaya', 'Subang', 'Shah Alam', 'Cyberjaya', 'Johor Bahru', 'Melaka', 'Kuching', 'Miri', 'Kuantan', 'Bangi', 'Ipoh', 'Terengganu', 'Kajang', 'Kelantan', 'Putrajaya', 'Kota-Kinabalu', 'Klang', 'Negeri Sembilan', 'Sungai Petani', 'Alor Setar', 'Kulim', 'Rawang', 'Taiping', 'Sitiawan', 'Kluang', 'Kulai', 'Sibu', 'Sepang', 'Kangar', 'Temerloh', 'Bintulu', 'Petra Jaya', 'Sandakan', 'Pontian', 'Segamat', 'Nibong Tebal', 'Kampar', 'Ulu Tiram']. Select the correct one and provide it as `field='XXX'` to the dataset loading method.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Available cities and page links.
{'Kuala Lumpur': '/city/kuala-lumpur',
'Penang': '/city/bayan-baru',
'Petaling Jaya': '/city/petaling-jaya',
'Subang': '/city/puchong',
'Shah Alam': '/city/shah-alam',
'Cyberjaya': '/city/cyberjaya',
Available restaurants for each cities.
{'Kuala Lumpur': {'La Risata Bar Pizzeria Ristorante': {'star': '4.5',
'delivery': 'Free',
'characters': ['Meat', 'Pasta', 'Salad', 'Pizza', 'Italian'],
'link': '/chain/ce3iw/la-risata-bar-pizzeria-ristorante'},
'Viapre Italian Restaurant KL': {'star': '4.3',
'delivery': 'Free',
'characters': ['Pizza'],
'link': '/chain/ck3sy/viapre-italian-restaurant-kl'},
Total size is 98.7 MB.
Available foods for each restaurants.
{'La Risata Bar Pizzeria Ristorante': {'star': '4.5',
'delivery': 'Free',
'characters': ['Meat', 'Pasta', 'Salad', 'Pizza', 'Italian'],
'link': '/chain/ce3iw/la-risata-bar-pizzeria-ristorante',
'data': []},
'Viapre Italian Restaurant KL': {'star': '4.3',
'delivery': 'Free',
'characters': ['Pizza'],
'link': '/chain/ck3sy/viapre-italian-restaurant-kl',
'data': [['Starters',
{'is_half_type_available': False,
'id': 639959,
'name': 'Bresaola',
'code': 'm4yz-pr-dpsn',
'description': 'Air dry beef loin slices on fresh mozzarella, mushroom pikles, evo oil and fine balsamic',
'file_path': '',
'logo_path': '',
'half_type': None,
'is_alcoholic_item': False,
'product_variations': [{'id':
Last update on 24th November 2019.
Total size is 382.1 MB.
Available foods for each restaurants.
Last update on 15th August 2020.