Skip to content

Commit

Permalink
Merge pull request #61 from malloydata/update_samples_for_composer
Browse files Browse the repository at this point in the history
Update malloy-samples so composer can render them.
  • Loading branch information
kylenesbit authored Apr 22, 2024
2 parents 6a81f61 + af1175c commit 9bf5aa1
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 11 deletions.
44 changes: 33 additions & 11 deletions apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ play with them. **[Source code for these examples](https://github.com/malloydat
Data for these dataset is included. DuckDB is built into both [Malloy Composer](https://github.com/malloydata/malloy-composer)
and the [Malloy VSCode](https://marketplace.visualstudio.com/items?itemName=malloydata.malloy-vscode) extension. These example should load without any configuration.


<!-- malloy-app
app="names"
name="USA Baby Names"
description="All births in the USA since 1910 by state, first name, and gender"
app="auto_recalls"
name="Automobile Recalls"
description="Public data from data.gov on automobile recalls"
-->

<!-- malloy-app
Expand All @@ -29,9 +28,21 @@ and the [Malloy VSCode](https://marketplace.visualstudio.com/items?itemName=mall
-->

<!-- malloy-app
app="recalls"
name="Automobile Recalls"
description="Public data from data.gov on automobile recalls"
app="ga4"
name="Google Analytics 4"
description="Public data from Google Analytics with examples of how to compute user and events statistics."
-->

<!-- malloy-app
app="imdb"
name="IMDB"
description="IMDb makes data available for download via their website. Used with permission. Example of how to compute and report metrics about movies and the people who act in them."
-->

<!-- malloy-app
app="names"
name="USA Baby Names"
description="All births in the USA since 1910 by state, first name, and gender"
-->

### BigQuery datasets
Expand All @@ -44,14 +55,25 @@ gcloud config set project {my_project_id} --installation
```

<!-- malloy-app
app="hackernews"
app="bigquery_ga_sessions"
name="Google Analytics Sessions"
description="Public data from Google Analytics with examples of how to compute and report sessions metrics."
-->

<!-- malloy-app
app="bigquery_ga4"
name="Google Analytics"
description="Public data from Google Analytics with examples of how to compute and report user and events statistics."
-->

<!-- malloy-app
app="bigquery_hackernews"
name="Hacker News"
description="Posts from news.ycombinator.com"
-->

<!-- malloy-app
app="iowa"
app="bigquery_iowa"
name="Iowa Liquor Store Purchases"
description="Public data from state owned Iowa Liquor Stores"
-->

-->
49 changes: 49 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"apps": [
{
"id": "auto_recalls",
"path": "./auto_recalls/"
},
{
"id": "ecommerce",
"path": "./ecommerce/"
},
{
"id": "faa",
"path": "./faa/"
},
{
"id": "ga4",
"path": "./ga4/"
},
{
"id": "imdb",
"path": "./imdb/"
},
{
"id": "names",
"path": "./names/"
},
{
"id": "bigquery_ga_sessions",
"path": "./bigquery/ga_sessions/"
},
{
"id": "bigquery_ga4",
"path": "./bigquery/ga4/"
},
{
"id": "bigquery_hackernews",
"path": "./bigquery/hackernews/"
},
{
"id": "bigquery_iowa",
"path": "./bigquery/iowa/"
},
{
"id": "bigquery_the_met",
"path": "./bigquery/the_met/"
}
],
"readme": "./apps.md"
}

0 comments on commit 9bf5aa1

Please sign in to comment.