You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
- Fixed a typo in the lookup path that meant the package wouldn't work on Windows (RStudio Desktop).
4
4
- Make the minimum required R version 4.1
5
+
- Overhaul the README; fixed out of date information, and added more detail and examples.
5
6
- Metadata is now available! Currently, this is only for the Scottish Postcode Directory (`get_spd()`), but we will bring it to the other lookups soon, too. You can see the metadata by using `metadata()` on the lookup object, for example:
It is not yet available from the PHS Posit Package Manager, it will never be available on CRAN as it is intended to be an internal only package.
44
+
Note that phslookups will never be available on CRAN as it is intended to be an internal-only package, and relies on lookup files on internal-only drives.
45
+
46
+
## Available lookups
47
+
48
+
- The Scottish Postcode Directory - `get_spd()`
49
+
- HSCP Localities - `get_hscp_locality()`
50
+
- SIMD lookups - `get_simd_datazone()` and `get_simd_postcode()`
35
51
36
52
## Example
37
53
38
-
Load the Scottish Postcode Directory
54
+
Load the latest available version of the full Scottish Postcode Directory.
39
55
40
-
```{rexample}
56
+
```{rspd_latest_full}
41
57
library(phslookups)
42
58
43
59
spd <- get_spd()
60
+
head(spd)
61
+
```
62
+
63
+
Get a specific version of a file, great if you want to 'lock' your code to a specific version too.
0 commit comments