이 게시물은 Linux와 아무 관련이 없습니다. JMP를 사용하여 통화 변환 데이터를 다운로드하는 방법입니다.
Linux 계산기의 통화 버튼이 최근에 내 관심을 끌었습니다.
Calculator showing the currency conversion buttonsCalculator showing the currency conversion buttonsCalculator showing the currency conversion buttonsCalculator showing the currency conversion buttons통화 변환 버튼을 보여주는 계산기
최신 변환 요소를 어떻게 얻습니까? 구글이 날 데려갔어 여기 , 나를 데려간 여기 , 나를 데려간 이 유럽 중앙 은행 페이지 요금과 PDF, CSV 및 XML 다운로드 링크가 포함되어 있습니다. XML 링크를 클릭하면 브라우저가 다음과 같이 열릴 것입니다.
screenshot of FireFox showing an XML file of exchange ratesscreenshot of FireFox showing an XML file of exchange ratesscreenshot of FireFox showing an XML file of exchange ratesscreenshot of FireFox showing an XML file of exchange rates환율의 XML 파일을 보여주는 FireFox의 스크린샷
유로가 표시되지 않고 테이블에 1.0000 요소가 없기 때문에 간단히 살펴보면 이 요금은 모두 유로를 기반으로 합니다. 그것은 또한 참조 페이지가 말한 것입니다.
based on the eurobased on the eurobased on the eurobased on the euro유로를 기준으로
XML을 데이터 테이블에 로드해 보겠습니다. JMP 15의 XML 마법사는 이를 위해 JSL을 구축하는 데 도움이 될 수 있습니다. 먼저 브라우저에서 XML을 컴퓨터에 저장한 다음 파일->열기를 사용하여 XML 확장자를 선택하고 파일을 선택한 다음 마법사에서 엽니다.
Choose the XML extension to see the downloaded fileChoose the XML extension to see the downloaded fileChoose the XML extension to see the downloaded fileChoose the XML extension to see the downloaded file다운로드한 파일을 보려면 XML 확장자를 선택하십시오.
XML 마법사가 열리면 흥미로운 열과 행을 결정할 때입니다. 통계 열을 열어 반복 데이터가 어떤 키 아래에 있는지 확인하고 이름 열을 닫아 디스플레이가 화면에 더 잘 맞도록 합니다.
opening the XML file with the wizardopening the XML file with the wizardopening the XML file with the wizardopening the XML file with the wizard마법사로 XML 파일 열기
Tall Guess를 사용하여 동일한 결과를 얻을 수도 있습니다. Tall Guess는 32개의 반복 항목을 인식하고 행을 만들기 위해 해당 키를 선택한 다음 열을 만들기 위해 하위 키를 모두 선택합니다. 샘플러 데이터를 사용하여 하위 키가 숫자 또는 문자 데이터를 만들어야 하는지 결정합니다.
이제 Stat Cols를 끄고 Name Cols를 다시 켜서 열의 이름을 바꾸십시오. 몇 가지 다른 사항도 수정하고 통화의 모델링 유형을 명목으로 만듭니다. 시간, 이름, 주제는 그림 뒤에 설명됩니다...
Changing column names, adding some meta dataChanging column names, adding some meta dataChanging column names, adding some meta dataChanging column names, adding some meta data열 이름 변경, 일부 메타 데이터 추가
메타 데이터에는 시간, 이름, 제목의 세 가지 다른 열이 있습니다. 시간이 가장 유용해 보입니다. 모든 행에서 시간을 유지합시다. 이름과 주제는 테이블 변수로만 유지되어야 합니다. 확인 후에 표시됩니다.
The source script and the two table variables are part of the imported tableThe source script and the two table variables are part of the imported tableThe source script and the two table variables are part of the imported tableThe source script and the two table variables are part of the imported table소스 스크립트와 두 개의 테이블 변수는 가져온 테이블의 일부입니다.
테이블 변수를 클릭하면 테이블의 출처를 알 수 있습니다.
다음 주에 이 가져오기를 재현하려면 다음 주의 현재 데이터로 소스 스크립트를 가져와 URL에서 편집합니다.
Open(
//"E:\eurofxref-daily.xml",
"https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml",
XML Settings( Stack( 0 ),
Row( "/gesmes:Envelope/Cube/Cube/Cube" ),
Col("/gesmes:Envelope/gesmes:subject",
Column Name( "gesmes:subject" ), Fill( "Use Forever" ),
Type( "Table Variable" ), Format( {"Best"} ), Modeling Type( "Continuous" ) ),
Col("/gesmes:Envelope/gesmes:Sender/gesmes:name",
Column Name( "gesmes:name" ), Fill( "Use Forever" ),
Type( "Table Variable" ), Format( {"Best"} ), Modeling Type( "Continuous" ) ),
Col("/gesmes:Envelope/Cube/Cube/@time",
Column Name( "time" ), Fill( "Use Forever" ),
Type( "Numeric" ), Format( {"yyyy-mm-dd", 10} ), Modeling Type( "Continuous" ) ),
Col("/gesmes:Envelope/Cube/Cube/Cube/@currency",
Column Name( "currency" ), Fill( "Use Once" ),
Type( "Character" ), Format( {"Best"} ), Modeling Type( "Nominal" ) ),
Col("/gesmes:Envelope/Cube/Cube/Cube/@rate",
Column Name( "rate" ), Fill( "Use Once" ),
Type( "Numeric" ), Format( {"Best"} ), Modeling Type( "Continuous" ) )
),
XML Wizard( 0 )
);