...
URL literal examples:
d-codelang-syntax |
---|
RawWrangle | true |
---|
Type | ref |
---|
showNote | true |
---|
WrangleText | derive type:single value: |
---|
| URLPARAMSurlparams('http://example.com?color=blue&shape=square' ) as: 'myURLParams' |
|
urlparams('http://example.com?color=blue&shape=square') |
Output: Generates the myURLParams
column containing Returns the following Object:
Code Block |
---|
{"color": "blue","shape": "square"} |
Column reference example:
d-codelang-syntax |
---|
RawWrangle | true |
---|
Type | ref |
---|
showNote | true |
---|
WrangleText | derive type:single value: |
---|
| URLPARAMSurlparams(myURLs) as: 'myURLParams' |
|
urlparams(myURLs) |
Output:
...
Returns the query parameters extracted from the URLs in the myURLs
column.
d-codelang-syntax |
---|
RawWrangle | true |
---|
Type | syntax |
---|
showNote | true |
---|
WrangleText | derive type:single value: |
---|
| URLPARAMS |
urlparams(column_url) |
Argument | Required? | Data Type | Description |
---|
column_url | Y | string | Name of column or String or URL literal containing the parameters and their values to extract |
...