Skip to content

๐Ÿ›  ํ•ญ๊ณต๋Œ€ ๊ต๊ณผ๋ชฉ ์ •๋ณด๋ฅผ json์œผ๋กœ ํŒŒ์‹ฑํ•ด์ฃผ๋Š” ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.

Notifications You must be signed in to change notification settings

Korea-Aerospace-University/kau-subject-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš™๏ธ ํ•ญ๊ณต๋Œ€ ๊ต๊ณผ๋ชฉ ์ •๋ณด ํŒŒ์„œ

Raw data (์ข…ํ•ฉ์ •๋ณด์‹œ์Šคํ…œ - ๊ฐ•์˜์‹œ๊ฐ„ํ‘œ ๋ฐ ๊ณ„ํš์„œ - ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์˜ network ํƒญ์—์„œ ์–ป์„ ์ˆ˜ ์žˆ์Œ.)

์Šคํฌ๋ฆฐ์ƒท

Parsed Result (JSON)

ํŒŒ์‹ฑ ํ›„

ํ•ญ๊ณต๋Œ€ ๊ต๊ณผ๋ชฉ ์ •๋ณด๋ฅผ json์œผ๋กœ ํŒŒ์‹ฑํ•ด์ฃผ๋Š” ํŒŒ์„œ์ž…๋‹ˆ๋‹ค.

๊ฐ ๊ณผ๋ชฉ ์†์„ฑ์—๋Š” ์•„๋ž˜ ๊ฐ’์ด ๋‹ด๊น๋‹ˆ๋‹ค.

ํŒŒ์‹ฑ ๊ฒฐ๊ณผ๋ฌผ ์˜ˆ์‹œ (JSON)

{
    "id": ๊ณ ์œ ๋ฒˆํ˜ธ (number),
    "major": ์ „๊ณต (string),
    "classType": ํ•™์Šต์œ ํ˜• (string),
    "subjectNumber": ๊ณผ๋ชฉ๋ฒˆํ˜ธ (string),
    "subjectName": ๊ณผ๋ชฉ๋ช… (string),
    "subjectType": ์ด์ˆ˜๊ตฌ๋ถ„ (string),
    "subjectGrade": ์ˆ˜๊ฐ•ํ•™๋…„ (string),
    "classHour": ๊ฐ•์˜์‹œ๊ฐ„ - [D)TT:MM~D)TT:MM] / (Array),
    "classroom": ๊ฐ•์˜์‹ค (string),
    "profName": ๊ต์ˆ˜๋ช… (string)
    "maxStudent": ์ •์› (string)
    "subjectScore": ํ•™์  (string)
},

์‹คํ–‰ ๋ฐฉ๋ฒ•

  1. ํ…์ŠคํŠธ ํŒŒ์ผ์„ subject.txt๋กœ ๋†“๋Š”๋‹ค.

  2. ์‹คํ–‰

node index.js
  1. parsedData.json ์ด๋ผ๋Š” ์ด๋ฆ„์˜ ๊ฒฐ๊ณผ๋ฌผ ์ถœ๋ ฅ

๋‹ค๋งŒ ์•„์ง ICU, SDU, HCU๋Š” ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
์˜ค๋ฅ˜ ์ œ๋ณด, ์ฝ”๋“œ ๊ฐœ์„  PR ๋ชจ๋‘ ํ™˜์˜ํ•˜๋ฉฐ ๊ต๋‚ด ์„œ๋น„์Šค ๊ฐœ๋ฐœ์— ๋„์›€์ด ๋˜์‹œ๊ธธ ๋ฐ”๋ผ๊ฒ ์Šต๋‹ˆ๋‹ค. ๐Ÿ˜„

About

๐Ÿ›  ํ•ญ๊ณต๋Œ€ ๊ต๊ณผ๋ชฉ ์ •๋ณด๋ฅผ json์œผ๋กœ ํŒŒ์‹ฑํ•ด์ฃผ๋Š” ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published