View source: R/post-processing-nationalization.R
This function serves to process completed nationalization measures to remove a number of inappropriate values or values that are not valuable for analysis. This function mostly cherry-picks specific cases, removing measures that do not make sense. In the future, this script could/should evolve to include more cases/problematic measures to filter, making this script an ever-evolving processing function.
1 | post.processing(folderLocation, removeSingleConstituencies, rewriteLocation)
|
folderLocation |
Character string of the location in which nationalization data exists on the user's local machine. Note that this folder should be the location where ALL the files should be (i.e., "C:/Users/Name/Downloads/" if the files all exist in the downloads folder). |
removeSingleConstituencies |
Option for the user to remove countries that are a single, national constituency (i.e., countries/elections that are aggregated at the
national-level, where |
rewriteLocation |
Character string of the folder location where the user would like the new, post-processed nationalization data to be rewritten. NOTE that if
this argument is left blank/not-specified, the rewrite will take place in the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.