sasutils / macros Goto Github PK
View Code? Open in Web Editor NEWSAS Utility Macros
SAS Utility Macros
I recently tried to import a CSV-file with one column name missing and I tried doing that with your CSV2DS macro.
It resulted in an error.
The following statement, in the data step that creates TYPES, solves that problem and doesn't impact the way the macro words when there are no missing column names.
if missing(name) then name=upcase;
During the execution of the code, is requested the macro 'contentv'. I can't find it in the branch.
This is a very useful macro.
There is a situation where the macro does not seem to work, when there are many (>=10 it seems) variables with long names with the first several characters in the names identical.
This results in the same name being given to 2 of the variables in the generated datastep. The length statement contains the same name twice, once with a numeric and once with a character length.
I have tried to use the macro with many CSV-files and 6 of them cause this error and they all have variable names as described above.
Hi, I came across your code and wanted to use (parts of) it. However, you do not explicitly state a licence and so I cannot use it for my purposes.
Is it by intention that you have not described/provided a license?
Without a license, it makes it hard to others use/modify/remix your nice code.
See e.g. https://choosealicense.com/no-permission/ for more info.
In any case, thank you for sharing the code.
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.