lcdb.update: update the local database

Description Usage Arguments Value Author(s) Examples

View source: R/pub03_DatabaseOperationFuncs.R

Description

update the local database

Due to the SHENWAN inustry standard changing in 2014, fix local database's shenwan industry rule's bug and make the rule keep consistent. The new industry standard is 33. Update 3 related local tables:CT_SystemConst,CT_IndustryList and LC_ExgIndusry.

Usage

 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

Arguments

begT

a numeric date. if missing, 'max(EndDate)' in the lcdb.

endT

a numeric date. if missing, 99990101.

Value

nothing.

nothing.

Author(s)

Andrew Dow

Qian Han

Examples

1
2
3
4
5
6
lcdb.update.LC_IndexComponentsWeight() # update all the indexs up to date
lcdb.update.LC_IndexComponentsWeight(20060101,20060330) # update all the indexs in given period
lcdb.update.LC_IndexComponentsWeight(19000101,99990101,"EI000905") # update all the data of given index
lcdb.update.LC_IndexComponentsWeight(20060101,20060330,"EI000905")
lcdb.fix.swindustry()
lcdb.fix.ezindustry()

QuantAndrew/QDataGet documentation built on May 14, 2019, 7:35 a.m.