Skip to content

Commit

Permalink
update old URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
andybega committed Sep 5, 2023
1 parent a0b79a2 commit 6f619d3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Several small fixes.
- Manually add a "states-packge" alias for the package doc since **roxygen2** does not do this by default anymore.
- Switch from the deprecated `ggplot2::aes_string()` to `ggplot2::aes()` + the `.data` pronoun in `plot_missing()`.
- Fix a **dplyr** join warning in `state_panel()` due to the new "relationship" argument.
- Update old URLs in README and other documentation.


# states 0.3.1
Expand Down
2 changes: 1 addition & 1 deletion R/data-docs.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#'
#' @source
#' Marshall, Monty G., Ted Robert Gurr, and Keith Jaggers. 2017. ``Polity IV
#' Project: Dataset Users' Manual.'' [http://www.systemicpeace.org/inscr/p4manualv2016.pdf]( http://www.systemicpeace.org/inscr/p4manualv2016.pdf)
#' Project: Dataset Users' Manual.'' [https://www.systemicpeace.org/inscr/p4manualv2016.pdf](https://www.systemicpeace.org/inscr/p4manualv2016.pdf)
#'
#' @examples
#' data("polity")
Expand Down
8 changes: 4 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
<!-- badges: start -->
[![R build status](https://github.com/andybega/states/workflows/R-CMD-check/badge.svg)](https://github.com/andybega/states/actions)
[![CRAN versions](http://www.r-pkg.org/badges/version/states)](https://cran.r-project.org/package=states)
[![Coverage status](https://codecov.io/gh/andybega/states/branch/master/graph/badge.svg)](https://codecov.io/github/andybega/states?branch=master)
[![Coverage status](https://codecov.io/gh/andybega/states/branch/master/graph/badge.svg)](https://app.codecov.io/github/andybega/states?branch=master)
<!-- badges: end -->

Create country-year/month/day panels consistent with the COW or Gleditsch & Ward lists of independent states. I mainly use this for merging different data sources:
Expand Down Expand Up @@ -51,7 +51,7 @@ countries <- state_panel(1991, 2001)
str(countries)
```

- Visualize missing/non-independent cases in your data. See this related [blog post for more details](https://www.andybeger.com/2016/09/14/data-management-and-missing-data/).
- Visualize missing/non-independent cases in your data. See this related [blog post for more details](https://www.andybeger.com/blog/2016-09-13-data-management/).

```{r, fig.height = 5}
data("polity")
Expand Down Expand Up @@ -87,10 +87,10 @@ remotes::install_github("andybega/states")

## Citations

For the [Gleditsch and Ward (G&W) state data](http://privatewww.essex.ac.uk/~ksg/statelist.html):
For the [Gleditsch and Ward (G&W) state data](http://ksgleditsch.com/statelist.html):

Gleditsch, Kristian S. & Michael D. Ward. 1999. "Interstate System Membership: A Revised List of the Independent States since 1816." International Interactions 25: 393-413.

For the [Correlates of War (COW) state data](https://correlatesofwar.org/data-sets/state-system-membership):
For the [Correlates of War (COW) state data](https://correlatesofwar.org/data-sets/state-system-membership/):

Correlates of War Project. 2017. "State System Membership List, v2016." Online, https://correlatesofwar.org
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ status](https://github.com/andybega/states/workflows/R-CMD-check/badge.svg)](htt
[![CRAN
versions](http://www.r-pkg.org/badges/version/states)](https://cran.r-project.org/package=states)
[![Coverage
status](https://codecov.io/gh/andybega/states/branch/master/graph/badge.svg)](https://codecov.io/github/andybega/states?branch=master)
status](https://codecov.io/gh/andybega/states/branch/master/graph/badge.svg)](https://app.codecov.io/github/andybega/states?branch=master)
<!-- badges: end -->

Create country-year/month/day panels consistent with the COW or
Expand Down Expand Up @@ -70,7 +70,7 @@ str(countries)

- Visualize missing/non-independent cases in your data. See this related
[blog post for more
details](https://www.andybeger.com/2016/09/14/data-management-and-missing-data/).
details](https://www.andybeger.com/blog/2016-09-13-data-management/).

``` r
data("polity")
Expand Down Expand Up @@ -120,14 +120,14 @@ remotes::install_github("andybega/states")
## Citations

For the [Gleditsch and Ward (G&W) state
data](http://privatewww.essex.ac.uk/~ksg/statelist.html):
data](http://ksgleditsch.com/statelist.html):

Gleditsch, Kristian S. & Michael D. Ward. 1999. “Interstate System
Membership: A Revised List of the Independent States since 1816.”
International Interactions 25: 393-413.

For the [Correlates of War (COW) state
data](https://correlatesofwar.org/data-sets/state-system-membership):
data](https://correlatesofwar.org/data-sets/state-system-membership/):

Correlates of War Project. 2017. “State System Membership List, v2016.”
Online, <https://correlatesofwar.org>
2 changes: 1 addition & 1 deletion man/polity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f619d3

Please sign in to comment.