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

handle no title or description for a field #29

Closed
dennisangemi opened this issue Jul 7, 2023 · 1 comment
Closed

handle no title or description for a field #29

dennisangemi opened this issue Jul 7, 2023 · 1 comment
Milestone

Comments

@dennisangemi
Copy link
Owner

dennisangemi commented Jul 7, 2023

Avoid printing null

Related issue: #3

Input:

  - path: data/press.csv
    name: press
    profile: tabular-data-resource
    scheme: file
    format: csv
    hashing: md5
    encoding: utf-8
    schema:
      fields:
        - name: id
          type: integer
        - name: post_id
          type: integer
          title: Post ID
        - name: url
          title: Post URL
          type: string
          format: uri
        - name: post_title
          type: string
        - name: post_subtitle
          type: string
        - name: type
          title: Post type
          type: string
          constraints:
            enum:
              - articolo
              - fact-checking
        - name: source
          type: string
          title: Post source
        - name: subject
          type: string
        - name: list
          type: string
        - name: subject_id
          type: integer
        - name: list_id
          type: integer

Ouput:

📄 press

  • Path: data/press.csv
  • Encoding: utf-8
Field Type Description Example
id integer null 1
post_id integer Post ID 1
url string Post URL https://pagellapolitica.it/articoli/guida-sondaggi-politici
post_title string null Guida alla lettura dei sondaggi politic
post_subtitle string null Nelle prossime settimane ne vedremo decine: le informazioni utili per
saperli leggere
type string Post type articolo
source string Post source Pagella Politica
subject string null
list string null
subject_id integer null
list_id integer null
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

No branches or pull requests

1 participant