https://github.com/malloydata/try-malloy
Quick start for trying Malloy in VS Code in the browser
https://github.com/malloydata/try-malloy
Last synced: 8 months ago
JSON representation
Quick start for trying Malloy in VS Code in the browser
- Host: GitHub
- URL: https://github.com/malloydata/try-malloy
- Owner: malloydata
- License: mit
- Created: 2023-02-23T21:58:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T21:45:08.000Z (about 2 years ago)
- Last Synced: 2025-02-26T00:25:44.549Z (over 1 year ago)
- Homepage: http://www.malloydata.dev
- Size: 9.63 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Try Malloy
### [Click here](https://github.dev/malloydata/try-malloy/blob/main/airports.malloy) to try Malloy instantly in your browser
This repository is a quick-start for playing with Malloy in VS Code. It can be used directly on [Github's online editor](https://github.dev/malloydata/try-malloy/blob/main/airports.malloy), on [vscode.dev](https://vscode.dev/github/malloydata/try-malloy), or inside a local VS Code instance. All that is required is an instance of VS Code and the Malloy extension. The extension can be installed by clicking on the Extensions section in the left sidebar and searching for "Malloy", or by opening `airports.malloy` and waiting for VS Code to suggest the Malloy extension.
The repository contains two important files:
* A CSV file, `airports.csv`, with information about US airports
* An `airports.malloy` file that contains a simple Malloy model that operates on the CSV file.
When `airports.malloy` is opened, the Malloy extension reads the file - a Malloy model - which tells the extension to load `airports.csv` into a local instance of DuckDB that is included by the extension. Once the data is loaded into DuckDB and the schema is read, the model is ready to be used.
There are instructions in the file for how to try a few things - [go check it out](https://github.dev/malloydata/try-malloy/airports.malloy)! And follow along with the [quick start](https://malloydata.github.io/documentation/user_guides/basic.html) if you'd like to learn more.
## Additional Resources:
* [Malloy Home Page](https://www.malloydata.dev)
* [Docs and Guides](https://malloydata.github.io/documentation/)
* [Malloy Github repository](https://github.com/malloydata/malloy/)
* Join our [Slack community](https://join.slack.com/t/malloy-community/shared_invite/zt-1kgfwgi5g-CrsdaRqs81QY67QW0~t_uw)