Tag: PROC HTTP

How to download and convert CSV files for use in SAS

In his recent article Perceptions of probability, Rick Wicklin explores how vague statements about “likeliness” translate into probabilities that we can express numerically. It’s a fun, informative post — I recommend it! You’ll “Almost Certainly” enjoy it. To prepare the article, Rick first had to download the source data from […]

The post How to download and convert CSV files for use in SAS appeared first on The SAS Dummy.

Using SAS to access Google Analytics APIs

Every day before I even wake up, I have little “SAS robots” that do work for me. These are SAS batch jobs that gather data from external services and build data marts, generate reports, and send e-mail. One of those SAS jobs gathers Google Analytics data about our SAS blogs […]

The post Using SAS to access Google Analytics APIs appeared first on The SAS Dummy.

Reporting on GitHub accounts with SAS

At SAS, we’ve published more repositories on GitHub as a way to share our open source projects and examples. These “repos” (that’s Git lingo) are created and maintained by experts in R&D, professional services (consulting), and SAS training. Some recent examples include: sas_kernel, which provides Jupyter notebook support for SAS. […]

The post Reporting on GitHub accounts with SAS appeared first on The SAS Dummy.

How to publish to a Slack channel with SAS

Slack is a tremendously popular app for team collaboration. At its core, it’s an open messaging app that allows team members to communicate with each other in real time. It works well with “startup”-style teamwork, which requires constant communication among people who aren’t always located together. I’ve heard a lot […]

The post How to publish to a Slack channel with SAS appeared first on The SAS Dummy.

Build your Pokémon library using SAS and the Pokéapi

Today is #EmbraceYourGeekness day, and you are either reveling in this new crazy town inhabited by Pokémon GO, or you are hiding in your house trying to avoid all of the Pokémon GO zombies wandering around. But since I’m living in SAS these days — not just the place (at […]

The post Build your Pokémon library using SAS and the Pokéapi appeared first on The SAS Dummy.

Reading and updating ZIP files with FILENAME ZIP

In a previous post, I shared an example of using ODS PACKAGE to create ZIP files. But what if you need to read a ZIP file within your SAS program? In SAS 9.4, you can use the FILENAME ZIP access method to do the job. In this example, let’s pretend […]

Using SAS to count the number of LinkedIn "shares" for your article

Last year I shared this popular tip for counting how many times a web link has been shared on Twitter or Facebook. I use this technique daily to report on the social media “popularity” of our blog articles at SAS. I wanted to add LinkedIn into the mix. Like Twitter […]

Using SAS to access data stored on Dropbox

I used “Dropbox” in the title for this post, but these techniques can be used for other cloud-based file sharing services, such as GitHub and Google Drive. Using PROC HTTP, you can easily access any “cloud-based” file as long as you have a public link to reach it. I’m a […]