Skip to content

Commit d7333e3

Browse files
authored
Merge pull request #1 from fiboa/updates
Some small changes
2 parents 8c19bb7 + cc968d0 commit d7333e3

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
fiboa-cli = ">=0.3"
7+
fiboa-cli = ">=0.8.0"
88
pymarkdownlnt = ">=0.9"
99

1010
[scripts]

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ This document explains the Crop field Extension to the
1212
Many published crop field datasets use a crop code list to identify the crop on each crop field. This extension
1313
harmonizes the columns to describe a coding list, a crop code and a crop name.
1414

15-
A `code_list` should be an url with a csv with at least fields `original_code`, `original_name`, `translated_name`.
16-
Examples of usable code_lists are the [EuroCrops code lists](https://github.com/maja601/EuroCrops/blob/main/csvs/country_mappings/).
17-
A valid value for `crop:code_list` would be `https://github.com/maja601/EuroCrops/blob/main/csvs/country_mappings/dk_2019.csv`
18-
1915
- Examples:
2016
- [GeoJSON](examples/geojson/)
2117
- [GeoParquet](examples/geoparquet/)
@@ -26,15 +22,21 @@ A valid value for `crop:code_list` would be `https://github.com/maja601/EuroCrop
2622

2723
The properties in the table below can be used in these parts of fiboa documents:
2824

29-
- [ ] Collection
25+
- [x] Collection
3026
- [x] Feature Properties
3127

32-
| Property Name | Type | Description |
33-
|----------------| ------ |--------------------------------------------------|
34-
| crop:code_list | string | A link to the coding list |
35-
| crop:code | string | **REQUIRED** The crop code |
36-
| crop:name | string | **REQUIRED** Crop name in the original language. |
37-
| crop:name_en | string | **optional** Crop name in English |
28+
| Property Name | Type | Description |
29+
| -------------- | ------ | ------------------------------------ |
30+
| crop:code_list | string | **REQUIRED** A link to the code list |
31+
| crop:code | string | **REQUIRED** The crop code |
32+
| crop:name | string | Crop name in the original language. |
33+
| crop:name_en | string | Crop name in English |
34+
35+
### crop:code_list
36+
37+
The `crop:code_list` should be an permanent URL with a CSV file (separator: `,`) with at least columns `original_code`, `original_name`, `translated_name` as headers.
38+
Examples of usable code lists are the [EuroCrops code lists](https://github.com/maja601/EuroCrops/blob/main/csvs/country_mappings/).
39+
A valid value for `crop:code_list` would be `https://github.com/maja601/EuroCrops/blob/main/csvs/country_mappings/dk_2019.csv`.
3840

3941
## Contributing
4042

-1.16 KB
Binary file not shown.

schema/schema.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ $schema: https://fiboa.github.io/schema/v0.1.0/schema.json
22
required:
33
- crop:code_list
44
- crop:code
5-
- crop:name
65
properties:
76
crop:code_list:
87
type: string

0 commit comments

Comments
 (0)