Feature request: number of records constraints
See original GitHub issueOverview
Hi, below you have one of the official documentation yaml file. There some constraints fields related.
A lot of time I know that I know that a resource is valid only if it is made up of at least 365 rows (some annual dataset including leap years). Or that the rows shouldn’t be more than 10.
I think it should be a great validate and check feature to have.
Thank you
dialect:
delimiter: ;
encoding: utf-8
format: csv
hashing: md5
layout:
headerRows:
- 2
name: country-2
path: country-2.csv
profile: tabular-data-resource
schema:
fields:
- name: id
title: Identifier
type: integer
- name: neighbor_id
title: Identifier of the neighbor
type: integer
- name: name
title: Name of the country
type: string
- constraints:
minimum: 0
description: According to the year 2020's data
name: population
title: Population
type: integer
foreignKeys:
- fields:
- neighbor_id
reference:
fields:
- id
resource: ''
scheme: file
Please preserve this line to notify @roll (lead of this repository)
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Quotas - Amazon Timestream
Default quotas; Supported data types; Naming constraints; Reserved keywords ... The maximum number of records in a WriteRecords API request. 100.
Read more >Number of rows removed from this list by security constraints
Solved: So I moved some itil users to business stakeholder , assuing business stakeholder role has read access to all modules But when...
Read more >Dolt Now Supports Check Constraints | DoltHub Blog
Check constraints are a data validation mechanism for table rows ... 1-to-1 porting MySQL features, and check constraints are no exception.
Read more >"extends oneof" generic constraint; allows for narrowing type ...
Feature Request : "extends oneof" generic constraint; allows for narrowing type parameters #27808. Open. 4 tasks done.
Read more >Capabilities, constraints, and settings - Web APIs | MDN
This article discusses the twin concepts of constraints and capabilities, as well as media settings, and includes an example we call the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
WOW, really great
Hi @aborruso,
I’ve created a feature request for it - https://github.com/frictionlessdata/frictionless-py/issues/1078 - we will be on it soon