![]() ![]() For example, you can extract all the variables that mention “corruption” in the codebook labels:Ĭorruption_vars # A tibble: 27,192 x 63 #> vdem_country_name vdem_country_text~ vdem_country_id year extended_country_~ #> #> 1 Mexico Mexico #> 2 Mexico Mexico #> 3 Mexico Mexico #> 4 Mexico Mexico #> 5 Mexico Mexico #> 6 Mexico Mexico #> 7 Mexico Mexico #> 8 Mexico Mexico #> 9 Mexico Mexico #> 10 Mexico Mexico #> #. It is possible to extract variables whose labels mention certain words. You can also specify whether you want the measures of uncertainty included in the dataset ( _codehigh and _codelow confidence interval extremes) returned, or whether certain variable types (e.g., ordinal-scale variables) should be excluded. (You will note that this table includes a couple of identifiers I added, providing information about the membership of the country-year in the Gleditsch-Ward state system membership list). The function extract_vdem always returns a tibble with all the identifiers in the dataset (country name, id, year, COW code, etc.) plus the requested variables. with 27,182 more rows, and 100 more variables: GWn, #> # historical_date, project, historical, histname, #> # codingstart, codingend, codingstart_contemp, #> # codingend_contemp, codingstart_hist, codingend_hist, #> # gapstart1, gapstart2, gapstart3, gapend1, #> # gapend2, gapend3, gap_index, vdem_cown, #> # v2x_polyarchy, v2x_libdem, v2x_partipdem, #> # v2x_delibdem, v2x_egaldem, v2x_api, v2x_mpi, #> # v2x_freexp_altinf, v2x_frassoc_thick, v2x_suffr, #> # v2xel_frefair, v2x_elecoff, v2x_liberal, v2xcl_rol, #> # v2x_jucon, v2xlg_legcon, v2x_partip, v2x_cspart, #> # v2xdd_dd, v2xel_locelec, v2xel_regelec, #> # v2xdl_delib, v2x_egal, v2xeg_eqprotec, #> # v2xeg_eqaccess, v2xeg_eqdr, v2x_polyarchy_codelow, #> # v2x_libdem_codelow, v2x_partipdem_codelow, #> # v2x_delibdem_codelow, v2x_egaldem_codelow, #> # v2x_api_codelow, v2x_mpi_codelow, #> # v2x_freexp_altinf_codelow, v2x_frassoc_thick_codelow, #> # v2xel_frefair_codelow, v2x_liberal_codelow, #> # v2xcl_rol_codelow, v2x_jucon_codelow, #> # v2xlg_legcon_codelow, v2x_partip_codelow, #> # v2x_cspart_codelow, v2xel_locelec_codelow, #> # v2xel_regelec_codelow, v2xdl_delib_codelow, #> # v2x_egal_codelow, v2xeg_eqprotec_codelow, #> # v2xeg_eqaccess_codelow, v2xeg_eqdr_codelow, #> # v2x_polyarchy_codehigh, v2x_libdem_codehigh, #> # v2x_partipdem_codehigh, v2x_delibdem_codehigh, #> # v2x_egaldem_codehigh, v2x_api_codehigh, v2x_mpi_codehigh, #> # v2x_freexp_altinf_codehigh, v2x_frassoc_thick_codehigh, #> # v2xel_frefair_codehigh, v2x_liberal_codehigh, #> # v2xcl_rol_codehigh, v2x_jucon_codehigh, #> # v2xlg_legcon_codehigh, v2x_partip_codehigh, #> # v2x_cspart_codehigh, v2xel_locelec_codehigh, #> # v2xel_regelec_codehigh, v2xdl_delib_codehigh, #> # v2x_egal_codehigh, v2xeg_eqprotec_codehigh, #> # v2xeg_eqaccess_codehigh, v2xeg_eqdr_codehigh, #> # GW_startdate, GW_enddate, GWc, extended_region, #> # extended_continent, microstate, lat, lon, #> # in_GW_system Library ( vdem ) main_indices # A tibble: 27,192 x 105 #> vdem_country_name vdem_country_text~ vdem_country_id year extended_country_~ #> #> 1 Mexico Mexico #> 2 Mexico Mexico #> 3 Mexico Mexico #> 4 Mexico Mexico #> 5 Mexico Mexico #> 6 Mexico Mexico #> 7 Mexico Mexico #> 8 Mexico Mexico #> 9 Mexico Mexico #> 10 Mexico Mexico #> #.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |