dataset Commands
Manage Analytics datasets.
analytics dataset display
Displays an Analytics dataset’s details.
Examples for analytics dataset display
1sf analytics dataset display -i datasetId
1sf analytics dataset display -n datasetApiName
Command Syntax
sf analytics dataset display
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATASETID]
[-n DATASETNAME]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --datasetid DATASETID
Optional
Dataset ID.
Type: id
-n | --datasetname DATASETNAME
Optional
Dataset api name.
Type: string
analytics dataset list
Lists Analytics datasets in the specified target org.
Examples for analytics dataset list
1sf analytics dataset list
Command Syntax
sf analytics dataset list
[--json]
[--api-version APIVERSION]
-o TARGETORG
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--api-version APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
analytics dataset rows fetch
Fetch the rows of an Analytics dataset.
Examples for analytics dataset rows fetch
1sf analytics dataset rows fetch -i datasetId
1sf analytics dataset rows fetch -n datasetApiName -r csv
Command Syntax
sf analytics dataset rows fetch
[--json]
[--api-version APIVERSION]
-o TARGETORG
[-i DATASETID]
[-n DATASETNAME]
[--limit LIMIT]
[-r RESULTFORMAT]
Parameters
--json
Optional
Format output as JSON.
Type: boolean
--loglevel LOGLEVEL
Optional
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
Type: enum
Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Default value: warn
-u | --targetusername TARGETUSERNAME
Optional
A username or alias for the target org. Overrides the default target org.
Type: string
--apiversion APIVERSION
Optional
Override the API version used for API requests made by this command.
Type: string
-o TARGETORG
Required
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i | --datasetid DATASETID
Optional
Dataset ID.
Type: id
-n | --datasetname DATASETNAME
Optional
Dataset api name.
Type: string
--limit LIMIT
Optional
The maximum number of rows to include.
Type: number
-r | --resultformat RESULTFORMAT
Optional
Result format emitted to stdout.
Type: enum
Valid values are: human, csv, or json
Default value: human