Year
ID year
DatatypeNot PII
A calendar year in western notation like 2022 or 1913
- Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Microsoft CDM
means.calendar.year- Sherlock and Sato
year- Quality
- 70/100 · missing: longer description, anchored regexp, negative example, translation
- Metacrafter rules
- 16 rules (12 by field name, 4 by value)
aryearknownfield, ar/ar_datetime.yamlyearbydatafiltereddata, common/dateandtime.yamlyearbydataimprecisedata, common/dateandtime.yamlyearknownfield, common/dateandtime.yamlyearknownpatfield, common/dateandtime.yamldeyearnamefield, de/de_datetime.yamlusyearknownfield, en/dateandtime.yamlesmonthbydatafiltereddata, es/es_datetime.yaml- and 8 more (see the JSON)
- Supported by tools
- csv-detective, Doduo, Google Data Studio, metacrafter, metacrafterpro, Sato, Sherlock
Regular expression
\d{4}
Python re syntax. Not anchored: it can match inside longer text.
Examples
| Value | Description |
|---|---|
| 2022 | Year 2022 |
| 1243 | Year 1243 |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| birth_year | Year of birth PII draft | persons, pii, datetime | global | Year in which a person was born, written with four digits, for example 1984. Data sets publish it instead of the full date of birth to... |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Year
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/year - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/year.yamlon GitHub