Git Product home page Git Product logo

spa's Introduction

spa

SAS Programming Area (for SAS Language)

This is intended for blank, single projects.

Usage:

  • Clone repository
  • Update programs/macros/setup.sas (and other setup*.sas files as necessary for the project)
  • data/misc/define20map.xml - an XML map to access define.xml v2.0 data through libname xml engine

Playground rules (which are nice to follow, but..):

  • 4 spaces to indent, UTF-8 encoding (no tabs)
  • No code obscuring, hiding in the log.
  • No compiled macros without source code.
  • Macros updates/new features: backward compatible (if possible)
  • Macros to declare %local or %global macro variable scape, use named macro parameters instead of positional (unless it is necessary),
  • Macros to not change options (unless, user expects macro to be changing options, i.e. data processing or reporting macros should not change mprint mlogic etc. options)
  • User defined log messages:
    • ERROR: (use put 'ER' 'ROR: ' or %put %sysfunc(cats(ER,ROR:)) for unexpected program path etc or detected issue)
    • WARNING: (use put 'WA' 'RNING: ' or %put %sysfunc(cats(WA,RNING:)) for correct program path, but most likely not expected, or deviated from expected
    • NOTICE: (use put 'NO' 'TICE: ' or %put %sysfunc(cats(NO,TICE:)) for debug or information
    • NOTE: only by SAS/WPS itself.
  • Nice to have:
    • When not running in batch, produce all outputs into "work", so that actual outputs aren't modified until the program is batch submitted and log files are saved

TODO:

  • Prepare metadata for TLFs (titles/footnotes etc.) and datasets (dependencies?)
  • Prepare python script to output .md if it contains "md ... md;" comments.
  • Log parser..

Disclaimer

Not affiliated with:

spa's People

Contributors

tomhub avatar

Watchers

 avatar

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.