forked from NYCPlanning/edm-metadata-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtable.sql
More file actions
81 lines (75 loc) · 1.55 KB
/
table.sql
File metadata and controls
81 lines (75 loc) · 1.55 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
-- Readme Table
CREATE TABLE readme (
uid serial PRIMARY key NOT NULL,
common_name text,
sde_name text,
tags_guide text,
tags_sde text,
summary text,
summary_update_date text,
description text,
description_data_loc text,
data_steward text,
data_engineer text,
credits text,
genconst text,
legconst text,
update_freq text,
date_last_update text,
date_underlying_data text,
data_source text,
version text,
common_uses text,
data_quality text,
caveats text,
future_plans text,
distribution text,
contact text,
date_last_updated text,
dates_input_dataset text,
extent text,
fgdc_geo_format text,
series_name text,
series_issue text,
spatial_repre_type text,
processing_env text,
arcgis_item_prop_name text,
rpoc_contact_position text,
rpoc_address text,
sr_geo_coor_ref text,
sr_projection text,
terms_fees text,
dis_transfer_option_location text,
dis_transfer_option_description text,
responsible_party_name text,
sdp_vector_object_count text,
data_access text
);
-- Maintenance Frequency Table
CREATE TABLE maintfreq (
maintfreq text,
tag text
);
INSERT INTO datatype (maintfreq, tag)
VALUES ('monthly', '005'),
('biannually', '007'),
('annually', '008'),
('quarterly', '006'),
('daily', '002'),
('weekly', '003'),
('fortnightly', '004'),
('as-needed', '009');
CREATE TABLE collaboration(
sdename text,
email text
)
-- Data Type Table
-- CREATE TABLE datatype (
-- datatype text
-- );
--
-- INSERT INTO datatype (datatype)
-- VALUES ('String'),
-- ('OID'),
-- ('Geometry'),
-- ('Double');