Description Usage Arguments Value Examples
View source: R/product_code_changes.R
Prepare the code changes table Code changes are obtained from EUROSTAT Ramon https://ec.europa.eu/eurostat/ramon/relations/index.cfm?TargetUrl=LST_REL The Excel file is simply saved to a csv by hand.
1 2 3 4 | update_cn_code_changes(
csv_file = "~/downloads/CN_2019_update_of_codes.csv",
rdata_file = "data/cn_code_changes.rda"
)
|
csv_file |
character path to the csv file from EUROSTAT Ramon where code changes are given |
packagefodler |
character path to the rds file where to save the updated data. Defaults inside the package. |
a data frame of this form origin_code destination_code orig_end_year dest_start_year <chr> <chr> <dbl> <dbl> 1 02012011 02012021 1988 1989 2 02012011 02012029 1988 1989
1 2 3 4 5 | ## Not run:
# Update the codes while developing the package
update_code_changes()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.