Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move expressions to types and correct links #3288

Merged
merged 1 commit into from
Jan 21, 2018
Merged

Move expressions to types and correct links #3288

merged 1 commit into from
Jan 21, 2018

Conversation

domoritz
Copy link
Member

No description provided.

@kanitw
Copy link
Member

kanitw commented Jan 21, 2018

Please merge #3275 first to avoid conflict.

@@ -27,7 +27,7 @@ Vega-Lite filter transforms must have the `filter` property.
{:#expression}
## Filter Expression

For a [Vega Expression](https://vega.github.io/vega/docs/expressions/) string, each datum object can be referred using bound variable `datum`. For example, setting `filter` to `"datum.b2 > 60"` would make the output data includes only items that have values in the field `b2` over 60.
For an [Expression](types.html#expression) string, each datum object can be referred using bound variable `datum`. For example, setting `filter` to `"datum.b2 > 60"` would make the output data includes only items that have values in the field `b2` over 60.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In calculate, you still use "Vega Expression". We should be consistent :)

@@ -5,7 +5,7 @@ title: Calculate Transform
permalink: /docs/calculate.html
---

The formula transform extends data objects with new fields (columns) according to a calculation formula.
The formula transform extends data objects with new fields (columns) according to a an [expression](types.html#expression).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a an

- [Object](#object)
- [String](#string)
- [URL](#url)
- [DateTime](#datetime)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we order things by alphabetical order?

{: .column-list }

## Literal Values

<a name="*"></a><a name="Any" href="#Any">#</a>
<a name="*"></a><a name="any" href="#any">#</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please search and make sure we don't refer to these anchor names with Titlecase from other pages.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I searched for types.html.

@domoritz
Copy link
Member Author

Revised

@kanitw
Copy link
Member

kanitw commented Jan 21, 2018

Just merged #3275 -- there are a few minor conflicts.

@domoritz
Copy link
Member Author

Rebased

@domoritz domoritz merged commit 12593d7 into master Jan 21, 2018
@domoritz domoritz deleted the dom/expr-doc branch January 21, 2018 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants