Showing
10 changed files
with
179 additions
and
0 deletions
bar_list.csv
0 → 100644
1 | +category,x,y,name | ||
2 | +소주,37.2484474,127.0786515,남대감 | ||
3 | +소주,37.2482929,127.0772083,국가대표생고기 | ||
4 | +소주,37.2520347,127.0756454,곱창가 | ||
5 | +소주,37.2521347,127.076667,승도리네곱도리탕 | ||
6 | +소주,37.252615,127.0743758,육회독존 | ||
7 | +소주,37.2482643,127.0774375,수포차 | ||
8 | +이자카야,37.2494892,127.0791269,이자카야이틀 | ||
9 | +이자카야,37.2479601,127.0789043,선영이자카야 | ||
10 | +이자카야,37.2510131,127.0752194,쿄쿄식당 | ||
11 | +이자카야,37.2524417,127.0756132,청담이상 | ||
12 | +이자카야,37.2524416,127.0757205,사라 | ||
13 | +이자카야,37.2514259,127.0759177,몽 | ||
14 | +막걸리,37.2524916,127.078913,파전한판 | ||
15 | +막걸리,37.2534804,127.0769635,전술 | ||
16 | +막걸리,37.2502342,127.0738999,전과부침개맛있는집 | ||
17 | +막걸리,37.2522389,127.07653,인생역전 | ||
18 | +맥주,37.2482952,127.0771754,치킨마루 | ||
19 | +맥주,37.2520347,127.0756454,꼬꼬아찌 | ||
20 | +맥주,37.2494453,127.0790406,짠 | ||
21 | +맥주,37.2492063,127.0783289,순덕이네비어 | ||
22 | +맥주,37.2512417,127.074719,비어캐빈 | ||
23 | +맥주,37.2514259,127.0759177,노가리슈퍼 |
cafe_list.csv
0 → 100644
1 | +category,x,y,name | ||
2 | +감성,37.2429832,127.0749535,카페 서천 | ||
3 | +감성,37.2494891,127.0789843,하울즈 | ||
4 | +감성,37.2490524,127.0785731,라이킷 | ||
5 | +감성,37.2514463,127.0771019,카페 쏘칼로 | ||
6 | +감성,37.2532119,127.0758202,카인드엉클 | ||
7 | +감성,37.2524338,127.073904,카페 운트 | ||
8 | +카공,37.2483107,127.0778776,스위티두 | ||
9 | +카공,37.2479316,127.0765116,카페 칸나 | ||
10 | +카공,37.2499818,127.0789709,카페아라 | ||
11 | +카공,37.2500215,127.0767893,앙코르보아 | ||
12 | +카공,37.2494746,127.0774245,하추다방 | ||
13 | +카공,37.2523121,127.0780532,서동진의커피랩 | ||
14 | +카공,37.2488122,127.0781646,NS커피빈 | ||
15 | +디저트,37.2482716,127.0755212,화이트스노우 | ||
16 | +디저트,37.2488175,127.0773439,유멜로우 | ||
17 | +디저트,37.2496031,127.0778854,전광수커피하우스 | ||
18 | +디저트,37.2496272,127.0775212,이너프 | ||
19 | +디저트,37.2495858,127.0793057,고씨커피 |
cafe_list.xlsx
deleted
100644 → 0
No preview for this file type
meal_list.csv
0 → 100644
1 | +category,x,y,name | ||
2 | +양식,37.2479399,127.0773456,soulP | ||
3 | +양식,37.24882,127.0778973,익스프레스 파스타 앤 피자 | ||
4 | +양식,37.2495852,127.0781529,쏘니스 썬프란시스코 마켓 | ||
5 | +양식,37.2494033,127.0781698,훌리스 다이너 | ||
6 | +양식,37.2505475,127.0753716,BLEND | ||
7 | +양식,37.2468082,127.0768973,도스마스 | ||
8 | +양식,37.251797,127.078941,그로또 | ||
9 | +한식,37.247954,127.0762724,수누리감자탕 | ||
10 | +한식,37.2491309,127.079413,이모찌마 | ||
11 | +한식,37.2516354,127.0792135,핏제리아도우 | ||
12 | +한식,37.2506694,127.07575,장인족발 | ||
13 | +한식,37.2479229,127.0772427,부대통령 | ||
14 | +한식,37.2484668,127.0767395,꽃찬찜닭 | ||
15 | +한식,37.2530818,127.0768128,복희족발 | ||
16 | +한식,37.252686,127.0779686,대덕골 | ||
17 | +한식,37.2514259,127.0759177,육회지존 | ||
18 | +한식,37.2482929,127.0772083,국가대표 | ||
19 | +한식,37.2498503,127.0799149,청진옥 | ||
20 | +한식,37.2467707,127.0733652,방울엄마국밥 | ||
21 | +한식,37.2512338,127.0763348,예감쪽갈비 | ||
22 | +중식,37.2503893,127.0762224,얜시부 | ||
23 | +중식,37.2509186,127.0753423,라메이즈 마라탕 | ||
24 | +중식,37.2494931,127.0741598,짬뽕타임 | ||
25 | +중식,37.2504425,127.0755364,칭따오양꼬치 | ||
26 | +중식,37.2527445,127.0759625,탕화쿵푸 | ||
27 | +중식,37.2510924,127.0749885,팔선생 | ||
28 | +일식,37.2487574,127.0790157,미미카츠 | ||
29 | +일식,37.2482967,127.0761075,키와마루아지 | ||
30 | +일식,37.2484365,127.0759689,겐코 | ||
31 | +일식,37.2493807,127.0796557,쿠지라 | ||
32 | +일식,37.248208,127.0794295,부타센세 | ||
33 | +일식,37.248811,127.0766282,호식당 | ||
34 | +일식,37.25189,127.0752335,이루카 | ||
35 | +일식,37.2516576,127.0723896,호랑이초밥 | ||
36 | +일식,37.2408506,127.0735766,뚱보아저씨 | ||
37 | +일식,37.2523127,127.0780063,초밥쟁이 | ||
38 | +일식,37.251627,127.0770495,우재초밥 | ||
39 | +기타,37.2483826,127.0788856,투고샐러드 | ||
40 | +기타,37.2514617,127.0793621,포케올데이 | ||
41 | +기타,37.2504996,127.0760452,교촌치킨 | ||
42 | +기타,37.2519012,127.0758635,노랑통닭 | ||
43 | +기타,37.2487948,127.0765056,BHC치킨 | ||
44 | +기타,37.2527536,127.0734351,청년다방 | ||
45 | +기타,37.2527536,127.0734351,낭사이공 | ||
46 | +기타,37.2488561,127.076146,보용만두 | ||
47 | +기타,37.2514259,127.0759177,꿀꿀이네곱창볶음 | ||
48 | +기타,37.2514259,127.0759177,미소곱창 |
meal_list.xlsx
deleted
100644 → 0
No preview for this file type
... | @@ -9,6 +9,7 @@ | ... | @@ -9,6 +9,7 @@ |
9 | "version": "1.0.0", | 9 | "version": "1.0.0", |
10 | "dependencies": { | 10 | "dependencies": { |
11 | "@types/selenium-webdriver": "^4.1.0", | 11 | "@types/selenium-webdriver": "^4.1.0", |
12 | + "csv-parser": "^3.0.0", | ||
12 | "eslint": "^8.15.0", | 13 | "eslint": "^8.15.0", |
13 | "mocha": "^10.0.0", | 14 | "mocha": "^10.0.0", |
14 | "selenium-webdriver": "^4.1.2" | 15 | "selenium-webdriver": "^4.1.2" |
... | @@ -358,6 +359,20 @@ | ... | @@ -358,6 +359,20 @@ |
358 | "node": ">= 8" | 359 | "node": ">= 8" |
359 | } | 360 | } |
360 | }, | 361 | }, |
362 | + "node_modules/csv-parser": { | ||
363 | + "version": "3.0.0", | ||
364 | + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.0.0.tgz", | ||
365 | + "integrity": "sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ==", | ||
366 | + "dependencies": { | ||
367 | + "minimist": "^1.2.0" | ||
368 | + }, | ||
369 | + "bin": { | ||
370 | + "csv-parser": "bin/csv-parser" | ||
371 | + }, | ||
372 | + "engines": { | ||
373 | + "node": ">= 10" | ||
374 | + } | ||
375 | + }, | ||
361 | "node_modules/debug": { | 376 | "node_modules/debug": { |
362 | "version": "4.3.4", | 377 | "version": "4.3.4", |
363 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", | 378 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
... | @@ -1026,6 +1041,11 @@ | ... | @@ -1026,6 +1041,11 @@ |
1026 | "node": ">=10" | 1041 | "node": ">=10" |
1027 | } | 1042 | } |
1028 | }, | 1043 | }, |
1044 | + "node_modules/minimist": { | ||
1045 | + "version": "1.2.6", | ||
1046 | + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", | ||
1047 | + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" | ||
1048 | + }, | ||
1029 | "node_modules/mocha": { | 1049 | "node_modules/mocha": { |
1030 | "version": "10.0.0", | 1050 | "version": "10.0.0", |
1031 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", | 1051 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", |
... | @@ -1889,6 +1909,14 @@ | ... | @@ -1889,6 +1909,14 @@ |
1889 | "which": "^2.0.1" | 1909 | "which": "^2.0.1" |
1890 | } | 1910 | } |
1891 | }, | 1911 | }, |
1912 | + "csv-parser": { | ||
1913 | + "version": "3.0.0", | ||
1914 | + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.0.0.tgz", | ||
1915 | + "integrity": "sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ==", | ||
1916 | + "requires": { | ||
1917 | + "minimist": "^1.2.0" | ||
1918 | + } | ||
1919 | + }, | ||
1892 | "debug": { | 1920 | "debug": { |
1893 | "version": "4.3.4", | 1921 | "version": "4.3.4", |
1894 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", | 1922 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", |
... | @@ -2379,6 +2407,11 @@ | ... | @@ -2379,6 +2407,11 @@ |
2379 | "brace-expansion": "^2.0.1" | 2407 | "brace-expansion": "^2.0.1" |
2380 | } | 2408 | } |
2381 | }, | 2409 | }, |
2410 | + "minimist": { | ||
2411 | + "version": "1.2.6", | ||
2412 | + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", | ||
2413 | + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" | ||
2414 | + }, | ||
2382 | "mocha": { | 2415 | "mocha": { |
2383 | "version": "10.0.0", | 2416 | "version": "10.0.0", |
2384 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", | 2417 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", | ... | ... |
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
14 | "license": "", | 14 | "license": "", |
15 | "dependencies": { | 15 | "dependencies": { |
16 | "@types/selenium-webdriver": "^4.1.0", | 16 | "@types/selenium-webdriver": "^4.1.0", |
17 | + "csv-parser": "^3.0.0", | ||
17 | "eslint": "^8.15.0", | 18 | "eslint": "^8.15.0", |
18 | "mocha": "^10.0.0", | 19 | "mocha": "^10.0.0", |
19 | "selenium-webdriver": "^4.1.2" | 20 | "selenium-webdriver": "^4.1.2" | ... | ... |
play_list.csv
0 → 100644
1 | +category,x,y,name | ||
2 | +노래방,37.2483107,127.0778776,복면가황코인노래방 | ||
3 | +노래방,37.2479573,127.0781975,킹노래방 | ||
4 | +노래방,37.2529038,127.0751144,팝스타코인노래방 | ||
5 | +노래방,37.2492425,127.0795086,준노래연습장 | ||
6 | +피시방,37.247951,127.0784298,더쉐프피씨카페 | ||
7 | +피시방,37.2479573,127.0781975,아이센스리그PC | ||
8 | +피시방,37.2468082,127.0768973,케이스타PC | ||
9 | +피시방,37.252161,127.0754319,크리드PC방 | ||
10 | +피시방,37.2529149,127.0752886,1프로PC아레나 | ||
11 | +기타,37.2526449,127.0744214,골드타임이스케이프 | ||
12 | +기타,37.2479573,127.0781975,경희당구클럽 | ||
13 | +기타,37.2527036,127.0716535,메가박스 | ||
14 | +기타,37.2524416,127.0757205,레드버튼 보드게임카페 | ||
15 | +기타,37.2512789,127.0747596,타이틀보드게임카페 | ||
16 | +기타,37.2529149,127.0752886,히어로보드게임카페 |
play_list.xlsx
deleted
100644 → 0
No preview for this file type
read_csv.js
0 → 100644
1 | +const csv = require('csv-parser') | ||
2 | +const fs = require('fs') | ||
3 | +const results = []; | ||
4 | +var choice = "놀거리" | ||
5 | + | ||
6 | +//대분류 선택 과정 필요 | ||
7 | + | ||
8 | +if(choice == "카페"){ | ||
9 | + fs.createReadStream('cafe_list.csv') | ||
10 | + .pipe(csv()) | ||
11 | + .on('data', (data) => results.push(data)) | ||
12 | + .on('end', () => { | ||
13 | + console.log(results); | ||
14 | + }); | ||
15 | +} | ||
16 | +else if (choice == "식사"){ | ||
17 | + fs.createReadStream('meal_list.csv') | ||
18 | + .pipe(csv()) | ||
19 | + .on('data', (data) => results.push(data)) | ||
20 | + .on('end', () => { | ||
21 | + console.log(results); | ||
22 | + }); | ||
23 | +} | ||
24 | +else if (choice == "놀거리"){ | ||
25 | + fs.createReadStream('play_list.csv') | ||
26 | + .pipe(csv()) | ||
27 | + .on('data', (data) => results.push(data)) | ||
28 | + .on('end', () => { | ||
29 | + console.log(results); | ||
30 | + }); | ||
31 | +} | ||
32 | +else if (choice == "술집"){ | ||
33 | + fs.createReadStream('bar_list.csv') | ||
34 | + .pipe(csv()) | ||
35 | + .on('data', (data) => results.push(data)) | ||
36 | + .on('end', () => { | ||
37 | + console.log(results); | ||
38 | + }); | ||
39 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment