Skip to content

Proposal: a frictionless tool that creates a spec file that has inside the field separator #663

Answered by roll
aborruso asked this question in Ideas
Discussion options

You must be logged in to vote

Frictionless does it:

Note that the default delimiter ',' will be omitted

$ frictionless describe data/delimiter.csv --yaml
dialect:
  delimiter: ;
encoding: utf-8
format: csv
hashing: md5
name: delimiter
path: data/delimiter.csv
profile: tabular-data-resource
schema:
  fields:
    - name: id
      type: integer
    - name: name
      type: string
scheme: file
$ frictionless validate data/delimiter.csv --yaml
errors: []
stats:
  errors: 0
  tasks: 1
tasks:
  - errors: []
    partial: false
    resource:
      dialect:
        delimiter: ;
      encoding: utf-8
      format: csv
      hashing: md5
      name: delimiter
      path: data/delimiter.csv
      profile: tabular-data-resource

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@aborruso
Comment options

Comment options

You must be logged in to vote
5 replies
@aborruso
Comment options

@roll
Comment options

roll Apr 6, 2021
Maintainer

@roll
Comment options

roll Apr 6, 2021
Maintainer

@roll
Comment options

roll Apr 7, 2021
Maintainer

@aborruso
Comment options

Answer selected by roll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #560 on April 06, 2021 14:11.