Package: lapop 2.1.6

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/lapop/data-access.php>.

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

lapop_2.1.6.tar.gz
lapop_2.1.6.zip(r-4.7-any)lapop_2.1.6.zip(r-4.6-any)lapop_2.1.6.zip(r-4.5-any)
lapop_2.1.6.tgz(r-4.6-any)lapop_2.1.6.tgz(r-4.5-any)
lapop_2.1.6.tar.gz(r-4.7-any)lapop_2.1.6.tar.gz(r-4.6-any)
lapop_2.1.6.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.76 score 2 stars 12 scripts 323 downloads 38 exports 89 dependencies

Last updated from:6db0c8c37d. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE235
source / vignettesOK291
linux-release-x86_64NOTE232
macos-release-arm64NOTE147
macos-oldrel-arm64NOTE174
windows-devel-x86_64NOTE164
windows-release-x86_64NOTE178
windows-oldrel-x86_64NOTE155
wasm-releaseOK617

Exports:bra23cm23lapop_cclapop_cccomblapop_ccmlapop_coeflapop_dblapop_demoglapop_dumblapop_fontslapop_fonts_designlapop_histlapop_maplapop_mlinelapop_moverlapop_savelapop_sblapop_stacklapop_tslapop_tsmultilpr_cclpr_ccmlpr_cilpr_coeflpr_datalpr_dumblpr_extract_noteslpr_extract_roslpr_histlpr_mlinelpr_moverlpr_resclpr_set_attrlpr_set_roslpr_stacklpr_tsworldym23

Dependencies:backportsbase64encbitbit64checkmateclassclassIntclicliprcommonmarkcpp11crayoncurldata.tableDBIdplyre1071farverforcatsFormulagenericsggplot2ggrepelggtextgluegridExtragridtextgtablehavenhmsinsightisobandjpegjsonliteKernSmoothlabelinglatticelifecyclelitedownmagrittrmarginaleffectsmarkdownMASSMatrixminqamitoolsnumDerivpillarpkgconfigpngprettyunitsprogressproxypurrrR6RColorBrewerRcppRcppArmadilloreadrrlangs2S7scalessfshowtextshowtextdbsrvyrstringistringrsurveysurvivalsvglitesysfontssystemfontstextshapingtibbletidyrtidyselecttzdbunitsutf8vctrsviridisLitevroomwithrwkxfunxml2zoo

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-04-23
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 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 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 Notes from AmericasBarometer Attributeslpr_extract_notes
Extract Response Option (RO) values and texts for all variables into a tidy table.lpr_extract_ros
LAPOP Bar/Histogram Graphslpr_hist
LAPOP Multi-Line Time Series Graph Pre-Processinglpr_mline
LAPOP "Multiple-Over" Breakdown Graphslpr_mover
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