View source: R/ts_hsfcl_nolinks_statistic.R
ts_hsfcl_nolinks_statistic | R Documentation |
Extracts time series of not mapped HS codes number
ts_hsfcl_nolinks_statistic(collection_path = NULL, prefix = NULL)
collection_path |
String with path where single-year report directories are stored. |
prefix |
String with report directory name prefix without trailing underscore. By default NULL. |
Data frame
## Not run:
library(ggplot2)
library(dygraph)
library(dplyr)
ts1 <- ts_hsfcl_nolinks_statistic("/mnt/storage/sws_share/chr", "complete_tf_cpc")
ts1 %>%
group_by(year) %>%
dplyr::summarize(total_nolinks = sum(nolinks)) %>%
ungroup() %>%
ggplot(aes(year, total_nolinks)) +
geom_bar(stat = "identity")
ts1 %>%
group_by(year) %>%
dplyr::summarize(total_nolinks = sum(nolinks)) %>%
ungroup() %>%
dygraph(
ylab = "Total number of unmapped HS (duplicates across years possible)",
main = "Unmapped HS codes (Tariff line and Eurostat)")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.