From 296dd718bae40d12b7f6d936c8b85e742a3114e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Luginb=C3=BChl?= Date: Fri, 17 Nov 2017 17:26:59 +0100 Subject: [PATCH] Fixing issue#1 The na.string '"....."' (5 dots) was missing in order to read some PX files from the Swiss Federal Statistical Office (or BFS) online database (https://www.pxweb.bfs.admin.ch/) with the pxR::read.px function. --- R/read.px.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/read.px.R b/R/read.px.R index 9be8bc1..ded958c 100644 --- a/R/read.px.R +++ b/R/read.px.R @@ -31,7 +31,7 @@ ################################################################# read.px <- function(filename, encoding = NULL, - na.strings = c('"."', '".."', '"..."', '"...."', '":"')) { + na.strings = c('"."', '".."', '"..."', '"...."', '"....."', '":"')) { ## auxiliary functions ##