Comments (5)
@bngksgl, or anyone else, if you're seeing json DecodeErrors, it may be that the input file is not a valid json file. The Yelp dataset is delivered as a compressed archive, .tar and is, 'double-zipped'. Before running the converter script you should see 5 separate json files (business,json, review.json etc...). In Windows, after unzipping yelp_dataset_challenge_academic_dataset.tar, I had to add the .tar extension again to the ~2GB output file, and unzip that to get the individual files... Then, converting the individual json files worked fine. I ran into a similar error, not realizing the file hadn't been completely unpacked.
from dataset-examples.
I faced the same issue while downloading the dataset on MAC. It is a double zipped file.
Thank you @russ-white for the resolution!!
from dataset-examples.
Thank you @russ-white for the explanation!
from dataset-examples.
Yes, thanks from me as well
from dataset-examples.
You saved a lot of time man! @russ-white
from dataset-examples.
Related Issues (20)
- Survivorship HOT 6
- More/Fewer total reviews per business than in 'review_count'
- where is the label if review is positive or negative?
- json_to_csv_converter.py has a small issue for the new yelp dataset HOT 1
- json_to_csv_converter.py fixed for Python 3 HOT 7
- What's the meaing of each column heading ?
- question about date availability for business in NYC HOT 2
- Review_count HOT 1
- Get Yelp original json file HOT 1
- Check-in data is not user-related? HOT 1
- missing attribute in category_predictor.py HOT 1
- Is the first entry in the variable “categories” the superordinate category?
- business.json is not converted to business.csv HOT 2
- Broken links in README HOT 2
- Question regarding the time zones in the review.json file HOT 1
- 'NoneType' object is not subscriptable error when yelp_academic_dataset_business.json conversion
- Citation issue
- Including not recommended reviews
- Convert JSON to CSV: Missing module source and missing undefined variable
- Extract review.json file from yelp_academic_dataset.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataset-examples.