Package: lapop 2.2

Robert Vidigal

lapop: Processing, Visualizing, and Labeling Americas Barometer Data

Labeling, weighting, and plotting data following custom style guidelines for use in reports, presentations, and social media posts. The Center for Global Democracy (formerly the Latin American Public Opinion Project) at Vanderbilt University is a leader in public survey research, best known for the Americas Barometer project. The publicly available data can be downloaded from: <https://www.vanderbilt.edu/cgd/data-access/>.

Authors:Robert Vidigal [cre, aut], Luke Plutowski [ctb, aut]

lapop_2.2.tar.gz
lapop_2.2.zip(r-4.7-any)lapop_2.2.zip(r-4.6-any)lapop_2.2.zip(r-4.5-any)
lapop_2.2.tgz(r-4.6-any)lapop_2.2.tgz(r-4.5-any)
lapop_2.2.tar.gz(r-4.7-any)lapop_2.2.tar.gz(r-4.6-any)
lapop_2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lapop/json (API)

# Install 'lapop' in R:
install.packages('lapop', repos = c('https://lapop-central.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lapop-central/lapop/issues

Pkgdown/docs site:https://lapop-central.github.io

Datasets:
  • bra23 - Bra23: Single-country Single-year Dataset
  • cm23 - Cm23: Single-country Multi-year Dataset
  • world - Bra23: Single-country Single-year Dataset
  • ym23 - Ym23: Multi-country Single-year Dataset

On CRAN:

Conda:

5.44 score 1 stars 11 scripts 356 downloads 42 exports 88 dependencies

Last updated from:4b8fe0ee75. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK168
source / vignettesOK250
linux-releaseOK252
macos-releaseOK172
macos-oldrelOK113
windows-develOK156
windows-releaseOK144
windows-oldrelOK161
wasm-releaseOK168

Exports:bra23cm23lapop_butterflylapop_cclapop_cccomblapop_ccmlapop_coeflapop_dblapop_demoglapop_dumblapop_floatlapop_fontslapop_fonts_designlapop_histlapop_maplapop_mlinelapop_moverlapop_savelapop_sblapop_splitbarlapop_stacklapop_tslapop_tsmultilpr_cclpr_ccmlpr_cilpr_coeflpr_datalpr_dumblpr_extract_noteslpr_extract_roslpr_histlpr_mlinelpr_moverlpr_na_attributeslpr_resclpr_set_attrlpr_set_roslpr_stacklpr_tsworldym23

Dependencies:backportsbase64encbitbit64checkmateclassclassIntclicliprcommonmarkcpp11crayoncurldata.tableDBIdplyre1071farverforcatsFormulagenericsggplot2ggrepelggtextgluegridExtragridtextgtablehavenhmsinsightisobandjpegjsonliteKernSmoothlabelinglatticelifecyclelitedownmagrittrmarginaleffectsmarkdownMatrixminqamitoolsnumDerivpillarpkgconfigpngprettyunitsprogressproxypurrrR6RColorBrewerRcppRcppArmadilloreadrrlangs2S7scalessfshowtextshowtextdbsrvyrstringistringrsurveysurvivalsvglitesysfontssystemfontstextshapingtibbletidyrtidyselecttzdbunitsutf8vctrsviridisLitevroomwithrwkxfunxml2zoo

LAPOP Visualization Guide
Introduction | Load Packages | Survey Design for the Data | Fonts for 2023 Pulse of Democracy report. | Figure 1.1: Time Series | Figure 1.2: Cross-Country Comparison | Figure 2.1: Multi-line Over Time | Figure 2.3: CC Multiple Variables | Figure Mover Example: Satisfaction with Democracy | Figure Histogram: Citizens’ Views | Figure 3.5: Dumbell Plot | Figure 3.8: Stack Plot by Country | Bonus: Reverse Variables | End

Last update: 2026-09-04
Started: 2025-05-20

AmericasBarometer Labels Guide
Introduction | Installing LAPOP Lab package | How LAPOP Lab stores variables metadata | How to load AmericasBarometer Data in R | AmericasBarometer Variables Labels (Question Wording) | How do I find the correct language labels? | AmericasBarometer Values Labels (Response Options) | Takeaways (TLDR) | Data Structure | Preferred Loading Method | Variable Labels (Question Wording): | Value Labels (Response Options): | Quick Access Options

Last update: 2025-08-27
Started: 2025-06-25

Readme and manuals

Help Manual

Help pageTopics
bra23: Single-country Single-year Datasetbra23
cm23: Single-country Multi-year Datasetcm23
LAPOP Cross-Country Bar Graphslapop_cc
LAPOP Bar Graphslapop_cccomb
LAPOP Cross-Country Bar Graphslapop_ccm
LAPOP Regression Graphslapop_coef
LAPOP Dummbell Graphslapop_dumb
LAPOP Floating Bar Graphlapop_float
LAPOP Fontslapop_fonts
LAPOP Fonts (design)lapop_fonts_design
LAPOP Bar Graphslapop_hist
LAPOP World and Americas Map Graphlapop_map
LAPOP Multi-line Time-Series Graphslapop_mline
LAPOP Multiple-Over/Breakdown Graphslapop_mover
LAPOP Savelapop_save
LAPOP Split Bar Graphlapop_butterfly lapop_splitbar
LAPOP Stacked Bar Graphslapop_stack
LAPOP Time-Series Graphslapop_ts
LAPOP Cross-Country Bar Graph Pre-Processinglpr_cc
LAPOP Grouped Bar Graph Pre-Processinglpr_ccm
Compute Design-Based Proportion and Confidence Intervallpr_ci
LAPOP Regression Coefficients Graph Pre-Processinglpr_coef
LAPOP Data Processinglpr_data
LAPOP Dumbbell Graphslpr_dumb
Extract Stata variable notes and characteristicslpr_extract_notes
Extract original response codes and labelslpr_extract_ros
LAPOP Bar/Histogram Graphslpr_hist
LAPOP Multi-Line Time Series Graph Pre-Processinglpr_mline
LAPOP "Multiple-Over" Breakdown Graphslpr_mover
Convert LAPOP missing-value codes to haven tagged NAslpr_na_attributes
LAPOP Rescalelpr_resc
Set Variable Attributes from AmericasBarometer Notes (with propagation)lpr_set_attr
Set Response Option (ROS) labels for variables in AmericasBarometer datasetslpr_set_ros
LAPOP Stacked Bar Graph Pre-Processinglpr_stack
LAPOP Time-Series Line Graph Pre-Processinglpr_ts
bra23: Single-country Single-year Datasetworld
ym23: Multi-country Single-year Datasetym23