View source: R/ruralDemandShares.R
ruralDemandShares | R Documentation |
reports rural demand shares based on local consumption
ruralDemandShares(
gdx,
type = "tradOnly",
level = "reg",
product_aggr = TRUE,
file = NULL
)
gdx |
GDX file |
type |
Type of ratio that should be calculated
|
level |
spatial aggregation to report employment ("reg", "glo" or "regglo") |
product_aggr |
sum over products if TRUE |
file |
a file name the output should be written to using write.magpie |
share of food consumed locally
David M Chen
## Not run:
x <- localDemandShares(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.