Skip to content

Commit

Permalink
Merge pull request #164 from GFDRR/codelist_snake_case
Browse files Browse the repository at this point in the history
update codeslist to snake_case formatting
  • Loading branch information
odscjen authored Aug 3, 2023
2 parents 34b0f19 + 28a7ff9 commit e73c502
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions codelists/closed/frequency_distribution.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Code,Title,Description
poisson,Poisson,Data modelled using a poisson distribution.
negativeBinomial,Negative Binomial,Data modelled using a negative binomial distribution.
userDefined,User defined,Data modelled using a user defined distribution.
negative_binomial,Negative Binomial,Data modelled using a negative binomial distribution.
user_defined,User defined,Data modelled using a user defined distribution.
2 changes: 1 addition & 1 deletion codelists/closed/seasonality.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Code,Title
uniform,Uniform
userDefined,User defined
user_defined,User defined
1 change: 1 addition & 0 deletions docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ This page lists changes to the Risk Data Library Standard.
- [#121](https://github.com/GFDRR/rdl-standard/pull/121) - Create 'frequency_distribution.csv' and 'seasonality.csv'
- [#130](https://github.com/GFDRR/rdl-standard/pull/130) - 'hazard_type.csv' add descriptions and hazard category which aligns with UNDRR Hazard taxonomy, and update codes from abbreviations to human-readable words.
- [#134](https://github.com/GFDRR/rdl-standard/pull/134) - 'risk_data_type.csv', replace codes with lower-case versions.
- [#164](https://github.com/GFDRR/rdl-standard/pull/164) - replace camelCase codes with snake_case codes in 'frequency_distribution.csv' and 'seasonality.csv'

### Normative documentation

Expand Down
6 changes: 3 additions & 3 deletions schema/rdl_schema_0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1708,8 +1708,8 @@
"openCodelist": false,
"enum": [
"poisson",
"negativeBinomial",
"userDefined"
"negative_binomial",
"user_defined"
]
},
"seasonality": {
Expand All @@ -1720,7 +1720,7 @@
"openCodelist": false,
"enum": [
"uniform",
"userDefined"
"user_defined"
]
},
"calculation_method": {
Expand Down

0 comments on commit e73c502

Please sign in to comment.