Localized business directory
Businesses with localized company names, places and filler text across six showcase languages.
- Languages
deuengfraitaporspa- Formats
csv
Recipe
gbddl 1
language(eng, deu, fra, ita, spa, por)
table businesses rows 15 (
id int64 autoincrement primarykey
name text company()
city text same(geo) city()
country text same(geo) country()
description text sentence(maxWords: 8)
)
output csv
This is the exact recipe.gbddl committed to the repository. Copy it, or download the raw source.
About this recipe
Localized business directory
A single-table recipe that generates a business directory in six showcase languages: English, German, French, Italian, Spanish and Brazilian Portuguese. Each row draws one language and every localized column is written in it, so the same shape produces a localized directory without changing the model.
What it demonstrates
- Multiple languages — the recipe header declares
language(eng, deu, fra, ita, spa, por), so each row draws one language. - Localized names —
nameis a company name in the row's language. - Localized places —
cityandcountryshare asame(geo)group and are written in the row's language, describing one coherent place. - Localized text —
descriptionis a filler sentence in the row's language.
Run it
Submit the recipe body to POST /api/v1/jobs?input_format=gbddl, or paste it
into Chef, to generate the data. The repository's local runner (run by
task test) also generates it and verifies its output.
The recipe outputs one CSV table file, businesses.csv, holding fifteen rows.
Guarantees
Each row has a unique id; the name, city and country are coherent per row and
written in the row's language. Text and names are synthetic and do not name
real companies or places.
Tested features
Smart types, physical types, rules and formats this recipe exercises and verifies.
companycitycountrysentencesame:geographylanguage:recipeautoincrementprimary-key