Skip to content

Where variable min / max == +/- Inf, set to NA #29

@dlebauer

Description

@dlebauer

Summary

Many records in the variables table have min / max == +/- Inf.

This is because there was a 'not null' constraint on this field. But using +/- Inf seems misleading and can be incorrect.

incorrect when

  • a variable must be >=0
  • a variable is categorical

Affected Record(s)

Field Value
Dataset variables
Record ID(s) >800 records, see below
Column(s) min, max
variables |> 
  dplyr::select(id, name, min, max) |> 
  dplyr::filter(min == '-Infinity' | max == 'Infinity')`

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataData build, formats, objects

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions