mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:00:48 +01:00
WHONET/EARS-Net support
This commit is contained in:
1 parent
f6336fdd89
commit
6aae206320
83 files changed
+1428
-633
No files matched your search
+1
-5
@@ -107,11 +107,7 @@ set_mo_source <- function(path) {
|
||||
if (!"readxl" %in% utils::installed.packages()) {
|
||||
stop("Install the 'readxl' package first.")
|
||||
}
|
||||
if (path %like% '[.]xlsx$') {
|
||||
df <- readxl::read_xlsx(path)
|
||||
} else {
|
||||
df <- readxl::read_xls(path)
|
||||
}
|
||||
df <- readxl::read_excel(path)
|
||||
|
||||
} else {
|
||||
# try comma first
|
||||
|
||||
Reference in new issue
Block a user