-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCensus.h
43 lines (36 loc) · 957 Bytes
/
Census.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// Created by kwoodle on 4/21/18.
//
#ifndef CENSUS_CENSUS_H
#define CENSUS_CENSUS_H
#include <string>
#include <map>
#include <vector>
#include <ktrade/nlohmann/json.hpp>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
using std::string;
using std::vector;
using std::map;
using json = nlohmann::json;
int build_age_table(po::variables_map &vm);
/* From metadata.json
* "columns": {
"B01001001": {
"name": "Total:",
"indent": 0
},
"B01001002": {
"name": "Male:",
"indent": 1
},
"B01001003": {
"name": "Under 5 years",
"indent": 2
},
"B01001004": {
"name": "5 to 9 years",
"indent": 2
},
*/
#endif //CENSUS_CENSUS_H