# YelpArchive/dataset-examples

Samples for users of the Yelp Academic Dataset

Repository: https://github.com/YelpArchive/dataset-examples
Canonical: https://ross.abutalabs.com/products/dataset-examples
Homepage: http://www.yelp.com/academic_dataset
Language: Python
License: NOASSERTION
License Family: other
Archived: true
Last push: 2023-05-28T04:06:33+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5458, "days_push": 1193, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1260, forks 608 (observed 2026-08-28T04:04:10.016282+00:00)

## What it is
A collection of Python example scripts from Yelp demonstrating how to work with the Yelp Academic/Open Dataset, including a JSON-to-CSV converter, a category predictor, a Markov-chain review generator, and a word positivity scorer. The examples are built on Yelp's mrjob library and can run locally or on AWS EMR/Hadoop.

## Use cases
- convert the yelp academic dataset from  to csv
- learn how to process the yelp open dataset with python
- predict business categories from review text
- generate fake yelp-style reviews with a markov chain
- run mapreduce jobs on the yelp dataset with mrjob
- analyze word sentiment per review category
- get started with the yelp dataset challenge

## When to choose
- you are a student or researcher starting with the Yelp Academic Dataset
- you want simple, runnable Python examples for JSON dataset conversion and basic NLP
- you want to learn mrjob and run jobs locally or on AWS EMR

## When to avoid
- you need a production data pipeline or maintained library rather than sample code
- you need Python 3-only tooling, since the examples target Python 2.6+ era mrjob
- you are not working with the Yelp dataset specifically

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: data-science, etl, nlp, machine-learning, csv
- domain: data-science, big-data, analytics, tutorials
- platform: python, cli, cross-platform
- tags: yelp-dataset, mrjob, sample-code, mapreduce, academic-dataset, -to-csv, markov-chain, aws-emr, natural-language-processing

## Member repositories
- YelpArchive/dataset-examples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.016282+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:04:22.608725+00:00, confidence not recorded.
  - readme: https://github.com/YelpArchive/dataset-examples (fetched 2026-08-28T04:04:10.016282+00:00, sha 7c7f3023c5f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
