install_python() uses reticulate to create or activate a Python virtual environment and install the required packages for running spacyr (sentence tokenization) and huggingfaceR (issue-area classification via ManifestoBERTA).
install_python(env_name = "iscores", manifestoberta_model_id = "2024-1-1")Invisibly returns TRUE.
Character. Name of the Python virtual environment to set up. Defaults to "iscores".
Character. Version of the ManifestoBERTA model to load (must match a valid model). Defaults to "2024-1-1".