Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update codeslist to snake_case formatting #164

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading