Description Usage Arguments Examples
Connect to the raw database and load all tradeflows for the given product code, for all years, in all directions, for all reporter and all partners.
1 | readdbproduct(productcode_, tableread, convcountrynames = FALSE)
|
productcode_ |
the code of a product |
tableread |
the database table to read from |
convcontrynames |
logical weather to convert contry names this should not be needed if the database server is rendering utf-8 data. |
1 2 3 4 5 | ## Not run:
othersawnwod <- readdbproduct(440799, "raw_flow_yearly")
head(othersawnwod[c("year","reporter","partner","flow","tradevalue","quantity","weight")])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.