how to convert the data from HTML file to SAS dataset?



how to convert the data from HTML file to SAS dataset?..

Answer / Sunny Kumar

To convert data from an HTML file to a SAS dataset, you can use the following steps:

1. Extract the data from the HTML file using a programming language like Python or R that offers HTML parsing capabilities. You can use libraries such as BeautifulSoup (Python) or rvest (R).
2. Convert the extracted data into a format compatible with SAS, such as CSV or tab-separated values (TSV).
3. Import the resulting file into SAS using the PROC IMPORT procedure, specifying the appropriate delimiter and format options.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

I am looking for selenium RC online Training in chennai. can any one tell me the best institute

1 Answers  


What is the difference between in-proc and out-of-proc?

2 Answers   Oracle,


how many languages .net is supporting now?

2 Answers  


SELECT A~FTRMI A~AUFNR B~MATNR D~MAKTX B~PSMNG B~WEMNG C~MTART E~CHARG C~MATKL C~SPART R~BWART R~CHARG R~MATNR E~BWART R~BDMNG INTO TABLE ITAB FROM AFKO AS A INNER JOIN AFPO AS B ON A~AUFNR = B~AUFNR * INNER JOIN AFVC AS A1 ON A~AUFPL = A1~AUFPL AND B~DWERK = A1~WERKS INNER JOIN MARA AS C ON B~MATNR = C~MATNR INNER JOIN MAKT AS D ON C~MATNR = D~MATNR INNER JOIN MSEG AS E ON B~MATNR = E~MATNR AND A~AUFNR = E~AUFNR AND B~DWERK = E~WERKS INNER JOIN RESB AS R ON A~AUFNR = R~AUFNR AND E~AUFNR = R~AUFNR AND R~RSNUM = A~RSNUM AND R~WERKS = E~WERKS AND R~BAUGR = E~MATNR INNER JOIN MARA AS C1 ON R~MATNR = C1~MATNR WHERE A~FTRMI IN S_DATE AND A~AUFNR IN S_AUFNR AND C~MTART IN S_TYPE AND C~MATKL = 'T' AND R~BWART ='261' AND E~BWART = '101' AND R~XWAOK ='X' AND B~DWERK = '2000' AND R~XLOEK EQ SPACE AND E~KZBEW ='F' AND D~SPRAS = 'E' AND R~KZEAR = 'X' AND C~MATNR IN S_MATNR. This query gives repetative records from RESB.There must be some common field which i am not taking thats why its giving repetative records. If u find any solution pls lety me know ASAP. Thanks Swati Ghadge

1 Answers  


HOW TO BREAK THE FIREWALL?

0 Answers   ME,


5.Call by value and Call by reference with program?

1 Answers  


Can any one give an example (Source Code) on virtual function implemetation in Java?

1 Answers  


needs examples for black box testing and white box testing

1 Answers   CTS, IBM, Wipro,


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1 Answers   SGT,


MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON

1 Answers  


What is meant byStatic Variable ?

7 Answers   Mascot,


1. Consider the following input and generate the object code using single pass assembler. JOHN START 0 USING *,15 L 1,FIVE A 1,FOUR ST 1,TEMP FOUR DC F’4’ FIVE DC F’5’ TEMP DS ‘F END

1 Answers   Wipro,


Categories