562-924-5230

한의원 (PST). 전화 받은 여인이 홈 페이지 없으나, 나중에 원장과 상의해야 한단다 (10/21/2024).

714-522-1600

한의원 (PST). 홈 페이지 없으나, 지금 환자하고 있다고 해서, 다시 연락 드린다고 하고 끊었음 (10/21/2024).

아는 사람이 제작 중 이란다 (1/27/2026).

R – 2024 10 지출-액수

library(RSQLite)
library(DBI)
library(ggplot2)

# Define the path to your SQLite database
db_path <- "/home/jbyungrokim/CSV/CSV.db"

# Connect to the SQLite database
conn <- dbConnect(RSQLite::SQLite(), dbname = db_path)

# Adjust the query to calculate the sum for each item in October 2024
query <- "
SELECT 
    Item, 
    SUM(Pay_Amount) AS Total_Spent
FROM 
    '지출-액수_2024_10_21'
WHERE 
    strftime('%Y-%m', '20' || substr(Date_Transaction, 7, 2) || '-' || substr(Date_Transaction, 1, 2) || '-' || substr(Date_Transaction, 4, 2)) = '2024-10'
GROUP BY 
    Item
ORDER BY 
    Total_Spent DESC;
"

# Execute the query and store the result in a data frame
October_2024_sum <- dbGetQuery(conn, query)

# Print the result
print("Sum of Pay_Amount by Item for October 2024:")
print(October_2024_sum)

# Save the result as a CSV file
csv_file_path <- "/home/jbyungrokim/Downloads/October_2024_sum.csv"
write.csv(October_2024_sum, file = csv_file_path, row.names = FALSE)
print(paste("Data has been written to", csv_file_path))

# Create a bar graph using ggplot2
ggplot(October_2024_sum, aes(x = reorder(Item, -Total_Spent), y = Total_Spent)) +
  geom_bar(stat = "identity", fill = "steelblue") +
  theme_minimal() +
  labs(title = "Total Spending by Item for October 2024",
       x = "Item",
       y = "Total Spent ($)") +
  theme(axis.text.x = element_text(angle = 45, hjust = 1))

# Close the connection to the SQLite database
dbDisconnect(conn)

213-380-0853

한의원 (PST). 경산한의원.com 도메인 넘겨 줄까, 물어 보니, 환자 치료 중이니 나중에 연락하겠단다. 나를 통해서 웹 사이트 만들었으나, 현재 다른 사람에게 의뢰해서 https://kyungsanacupuncture.com/ 로 사용하고 있음 (10/18/2024).

현재 도메인 갱신에 얼마 지불하고 있냐고 물어서, 년 $20 지불하고 있다고 했음. 경산한의원.com 11/30/2024에 expire 됨 (10/18/2024).

213-380-4499

BEST DEER ANTLERS TRADING CO. (PST). 홈 페이지 없으나, 손님하고 있으니, 전화 번호 보관하고 있다가 연락하겠다는 아저씨 (10/18/2024).

909-987-0520

한의원 (PST). 원장은 지금 매우 바쁘다며, 사모님이 전화 받았음. 웹 사이트 없으며, 관리비가 얼마냐고 물어서, 월 $45이라고 하니, 내 전화 번호 달라고 했음. 생각해 볼께요, 함 (10/17/2024).

818-385-0916

한의원 (PST). 웹 사이트 없다고 함. 원장님 성함은 어떻게 되세요, 물으니, 생각 좀 해 보고 연락드릴께요, 하는 남자 원장 (10/17/2024).