Giter Club home page Giter Club logo

macros's People

Contributors

sasutils avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

macros's Issues

CSV2DS issue

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.

CSV2DS - files with missing column names

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;

No license?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.