plot_missing() with the
future ggplot2 release (#28).Several small fixes.
ggplot2::aes_string() to
ggplot2::aes() + the .data pronoun in
plot_missing().state_panel() due to the new “relationship” argument.prettyc(),
e.g. instead of “Belarus (Byelorussia)”, just “Belarus”.all.equal() in R 4.1.x (R-devel at this point) will
check environments for equivalence as well. This breaks one test since
2e testthat relies on all.equal() for
expect_equal(). Moving to testthat 3e fixes this bug.
(#26)cowstates
data now has a microstates coding derived from the G&W coding (#24).
This makes it easier, for example, to filter out micro-states from a
state panel dataset.state_panel() has further improved support for input
shortcuts (#3):
parse_date()
for details.state_panel("YYYY-01-01", partial = "exact", ...). This can
now instead be done with
state_panel(2006, partial = "first", ...).country_names() to translate country codes to
country names and prettyc() to shorten some of the longer
country names, like “Macedonia, the former Yugoslav Republic of”.compare() helper to compare two statelist data
frames prior to merging.parse_date() to handle more flexible “start” and
“end” date input (#12).state_panel(2001, 2005) instead of
state_panel("2001-01-01", "2005-01-01", by = "year", partial = "any").state_panel().plot_missing improvements: examples with Polity data,
added a skip_labels option that will plot every n-th label
for countries instead of all labels to avoid overplotting on the y-axis.
The latter is inspired by https://github.com/xuyiqing/panelView.gwstates$country_names like
Cote d’Ivoire and Wüttemberg.state_panel and add a partial option to allow
including partial state-periods (as opposed to the default which is
based on the exact start date, for all period resolutions in “by”).plot_missing: fix a bug that would leave out
independent states with no cases in the input data; add
missing_info function that generates the data underlying
the plots.pkgdown website for states package
documentation.NEWS.md file to track changes to the
package.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.