Hi,
If any 1 can help how to create a live weather details in sas connecting to a website.
using Proc http.
User shall give input "City".
it will provide live weather details.
What have you tried so far? Can you use PROC HTTP to access the website you want? Are you getting information back, but you need help processing the data? Please provide more details.
filename resp "%sysfunc(getoption(WORK))/echo.json";
proc http
url="https://www.weather-forecast.com/locations/London/forecasts/latest"
method="GET"
out=resp;
run;
data _null_;
infile resp;
input;
put _infile_;
run;
This code is providing me the total information of the portal in html
How can I get the relevant weather information in json format.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.