Skip to content

Commit

Permalink
Update URLs (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Jul 31, 2024
1 parent 4dd239b commit d53d64a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# stats19 3.1.0
* stats19 now relies on the `stats19_variables` object to format the different tables columns (#245).
# stats19 3.1.0 2024-07

* stats19 now relies on the `stats19_variables` object to format the different tables columns (#245) (credit @layik), fixing an issue in which ages were removed from the `casualties` table, fixing (#235)

# stats19 3.0.3 2024-02

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ install.packages("stats19")
## get_stats19()

`get_stats19()` requires `year` and `type` parameters, mirroring the provision of STATS19 data files, which are categorised by year (from 1979 onward) and type (with separate tables for crashes, casualties and vehicles, as outlined below).
The following command, for example, gets crash data from 2022 (**note**: we follow the "crash not accident" campaign of [RoadPeace](https://www.roadpeace.org/get-involved/crash-not-accident/) in naming crashes, although the DfT refers to the relevant tables as 'accidents' data):
The following command, for example, gets crash data from 2022 (**note**: we follow the "crash not accident" campaign of [RoadPeace](https://www.roadpeace.org/working-for-change/crash-not-accident/) in naming crashes, although the DfT refers to the relevant tables as 'accidents' data):

```{r}
crashes = get_stats19(year = 2022, type = "collision")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ provision of STATS19 data files, which are categorised by year (from
vehicles, as outlined below). The following command, for example, gets
crash data from 2022 (**note**: we follow the “crash not accident”
campaign of
[RoadPeace](https://www.roadpeace.org/get-involved/crash-not-accident/)
[RoadPeace](https://www.roadpeace.org/working-for-change/crash-not-accident/)
in naming crashes, although the DfT refers to the relevant tables as
‘accidents’ data):

Expand Down
2 changes: 1 addition & 1 deletion vignettes/stats19.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A description of variables in the database can be found in a [document](https://
The datasets are collectively called STATS19 after the form used to report them, which can be found [here](https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/995422/stats19.pdf).
This vignette focuses on how to use the **stats19** package to work with STATS19 data.

**Note**: The Department for Transport used to refer to 'accidents', but "crashes" may be a more appropriate term, as emphasised in the "crash not accident" arguments of road safety advocacy groups such as [RoadPeace](https://www.roadpeace.org/get-involved/crash-not-accident/).
**Note**: The Department for Transport used to refer to 'accidents', but "crashes" may be a more appropriate term, as emphasised in the "crash not accident" arguments of road safety advocacy groups such as [RoadPeace](https://www.roadpeace.org/working-for-change/crash-not-accident/).
We use the term collision only in reference to nomenclature within the data as provided.

The development version is hosted on [GitHub](https://github.com/ITSLeeds/stats19) and can be installed and loaded as follows:
Expand Down

0 comments on commit d53d64a

Please sign in to comment.