Skip to content

Commit be7b727

Browse files
committed
Update url, close #9
1 parent 5fcc948 commit be7b727

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

R/get_boundaries.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ get_boundaries = function(type = "la") {
1919
u = "https://opendata.arcgis.com/datasets/cc5941be78a8458393a03c69518b2bf9_0.geojson" # April 2020 generalised 20m (BGC)
2020
} else if(type == "la") {
2121
# u = "https://opendata.arcgis.com/datasets/3b374840ce1b4160b85b8146b610cd0c_0.geojson" # May 2020 generalised 20m (BGC)
22-
u = "https://opendata.arcgis.com/datasets/0c09b7cde8b44c4ab6e2a1e47a91e400_0.geojson" # December 2011 EW generalised 20m (BGC)
22+
u = "https://github.com/ITSLeeds/pct/releases/download/v0.9.7/LSOA_.Dec_2011._Boundaries_Super_Generalised_Clipped_.BSC._EW_V3.geojson" # December 2011 EW generalised 20m (BGC)
2323
}
2424
res = sf::read_sf(u)
2525
res

README.Rmd

+18
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,24 @@ jts04_gps$table_title
7474
jts04_gps$sheet
7575
```
7676

77+
As an example, our packages allow easy retrieval and mapping of data on the average journey time to employment centres (with 100 to 499 jobs) by public transport simply by running the following lines of code:
78+
79+
```{r}
80+
jts_df = (type_code="jts05", spec="employment", sheet=2019, geo=True)
81+
jts.choropleth_map(
82+
jts_df,
83+
"500EmpPTt",
84+
title="Travel time to jobs by public transport",
85+
cblabel="Average travel time in minutes",
86+
logscale=True,
87+
cbticks=[1, 10, 100],
88+
cbticklabels=["1", "10", "100"],
89+
linewidth=0.001,
90+
)
91+
92+
```
93+
94+
7795
Imagine you're interested in how average travel time to GP services changed between 2017 and 2019.
7896
You can do that as follows:
7997

0 commit comments

Comments
 (0)