Skip to content

Commit ec853ff

Browse files
committed
docs: clarify version limitation with regional splits
Fixes #308
1 parent 93edfef commit ec853ff

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

R/get.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
#' directory index'). Note: the geographical coverage of an extract may
5353
#' change over time. For example, recent (2021+) extracts for Barcelona are
5454
#' at the regional level (cataluna), while older (2012-2021) extracts are at
55-
#' the national level (spain).
55+
#' the national level (spain). This means that downloading historical data
56+
#' for a place like Barcelona may require changing the `place` argument to
57+
#' "spain" for older versions.
5658
#' @param download_directory Directory to store the file containing OSM data?.
5759
#' @param force_download Should the `.osm.pbf` file be updated even if it has
5860
#' already been downloaded? `FALSE` by default. This parameter is used to

vignettes/osmextract.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Finally, to reduce unnecessary computational resources and save bandwidth/electr
270270

271271
### Matching historical OSM extracts
272272

273-
Starting from `osmextract` v0.5.2, the `version` argument can be used to match historical OSM extracts stored by Geofabrik provider. The default value is `"latest"` which corresponds to the most recent OSM extract. Other values can be specified using the format `"YYMMDD"`. The available extracts for each zone can be browsed from Geofabrik [website](https://download.geofabrik.de/). Note that the geographical coverage of an extract may change over time. For example, recent (2021+) extracts for Barcelona are at the regional level (cataluna), while older (2012-2021) extracts are at the national level (spain).
273+
Starting from `osmextract` v0.5.2, the `version` argument can be used to match historical OSM extracts stored by Geofabrik provider. The default value is `"latest"` which corresponds to the most recent OSM extract. Other values can be specified using the format `"YYMMDD"`. The available extracts for each zone can be browsed from Geofabrik [website](https://download.geofabrik.de/). Note that the geographical coverage of an extract may change over time. For example, recent (2021+) extracts for Barcelona are at the regional level (cataluna), while older (2012-2021) extracts are at the national level (spain). This means that downloading historical data for a place like Barcelona may require changing the `place` argument to "spain" for older versions.
274274

275275
For example:
276276

0 commit comments

Comments
 (0)