harvestmonthlyarchive
Downloads archive data from comext and transfer all sub products
of the given product codes to the database.
The structure of the table template 'raw_comext_monthly'
should already be present in the database.
The database structure is regularly recreated in harvestrecent
,
so there is no need to recreate it harvestmonhtlyarchive
.
This function can be run on a yearly basis when new archives become available.
harvestyearlyarchive
downloads yearly archive and transfer it to the database.
The structure of the database table 'raw_comext_yearly'
should already present in the database.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | harvestrecent()
harvestmonthlyarchive(
...,
rawdatafolder,
startyear,
tabletemplate = "raw_comext_monthly_template",
template = getOption("tradeharvester")$template
)
harvestyearlyarchive(
...,
rawdatafolder,
startyear,
tabletemplate = "raw_comext_yearly_template",
template = getOption("tradeharvester")$template
)
|
... |
parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.