valvaletl / smmt Goto Github PK
View Code? Open in Web Editor NEWR tool to get municipality mapping table between two time points for Swiss municipalities
Home Page: https://cran.r-project.org/package=SMMT
R tool to get municipality mapping table between two time points for Swiss municipalities
Home Page: https://cran.r-project.org/package=SMMT
Dear Valentin,
First of all: thanks for developing such a useful package for the scientific community!
I just wanted to use it for the first time and I'm having an issue with the .xml data import from the municipality inventory. When I run the following code (following the example on the SMMT manual page: https://smmt.valentinknechtl.ch/articles/manual.html#setup), I get an error message:
library(SMMT)
path_inventory_xml <- download_municipality_inventory(path = getwd())
The error message is "Error in if (!copy_success) stop(paste0("XML File already exists at target (", :
the condition has length > 1"
Despite the error message, an .xml-file appears in the working directory, and I can get into R with the alternative option that is indicated on the webpage, in my case:
file_path_inventory_xml <- "path/to/eCH0071_230101.xml"
However, when I then want to generate the mutations_object through the following line of code
mutations_object <- import_CH_municipality_inventory(file_path = file_path_inventory_xml)
I get another error message: "Error: XML content does not seem to be XML: ''
I'm a bit lost concerning what I'm doing wrong or what the issue is here and help would be much appreciated.
I'm using R version 4.2.2 ((2022-10-31 ucrt) -- "Innocent and Trusting") on a Windows 64-bit machine if that is of any help.
Thanks a lot,
Michael
Check ob alle Links funktionieren, sonst fixen.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.