View source: R/wcvp_reformat.r
wcvp_reformat | R Documentation |
Reformat local versions of WCVP
wcvp_reformat(wcvp_local, version = NULL)
wcvp_local |
Data.frame. Local copy of the WCVP. |
version |
Either 9 or "v9". We will add support for other versions as needed. |
Note that not all of the original variables are preserved during reformatting.
For example, publication is a single variable in v9, but split over multiple in
the data package. It is therefore not possible to simply rename this variable.
Variables that are present in the data package but not in v9 are filled with NA
.
A data.frame with the same variable structure as the WCVP that is
included in the data package rWCVPdata
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.