Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dbnomics-data-model
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johan Richer
dbnomics-data-model
Commits
78cfe3f5
Commit
78cfe3f5
authored
6 years ago
by
Constance de Quatrebarbes
Committed by
Christophe Benz
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Extending cheat_sheet.md to ease dev
parent
b192b6fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cheat_sheet.md
+87
-0
87 additions, 0 deletions
cheat_sheet.md
with
87 additions
and
0 deletions
cheat_sheet.md
+
87
−
0
View file @
78cfe3f5
...
...
@@ -92,3 +92,90 @@
]
}
```
## category_tree.json
#### (not mandatory)
```
[
{
"children":[
{
"code":"ap",
"name":"Average Price Data"
},
{
"code":"cw",
"name":"Urban Wage Earners and Clerical Workers (Current Series)"
},
{
"code":"cu",
"name":"All Urban Consumers (Current Series)"
},
{
"code":"pc",
"name":"Industry Data"
},
{
"code":"wp",
"name":"Commodity Data including \"headline\" FD-ID indexes"
}
],
"code":"inflation_and_prices",
"name":"Inflation & Prices"
},
{
"children":[
{
"code":"fm",
"name":"Marital and family labor force statistics"
},
{
"code":"lu",
"name":"Union Affiliation Data"
},
{
"code":"sm",
"name":"Employment, Hours, and Earnings - State and Metro Area"
}
],
"code":"employment",
"name":"Employment"
},
{
"children":[
{
"code":"la",
"name":"Local Area Unemployment Statistics (LAUS)"
}
],
"code":"unemployment",
"name":"Unemployment"
}
]
```
## Observations.tsv
```
PERIOD VALUE
2013 78
2014 75.3
```
- Conventions for observations files
* File values must me SORTED in ASCENDING Values
* Remove M13 Q5 S3 W54
* Add a `\n` at the end of the file
* Periods must be consistant and continous
* File an have an additionnal column
- Conventions for PERIOD
- `YYYY` for years
- `YYYY-MM` for months (MUST be padded for `MM`)
- `YYYY-MM-DD` for days (MUST be padded for `MM` and `DD`)
- `YYYY-Q[1-4]` for year quarters
- `YYYY-S[1-2]` for year semesters
- `YYYY-W[01-53]` for year weeks (MUST be padded)
- Conventions for VALUE
- decimal with `.`
- if value is blank write `NA`
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment