-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
I tired to import an Excel file which contains 1689493557000_xDCfD_yQCI1-dSk9PX1V2nzZDWgA as document ID but it failed with Invalid Unicode Point 56573.
- readxl version is 1.4.3
# Required libraries
library(httr)
library(readxl)
# Define the URL for the Excel file and local destination path
url <- "https://www.dropbox.com/scl/fi/el8ftfnopwvsaruo8lc3w/load-issue-original-03.xlsx?rlkey=k7sajzb2ek9vmfdthu9oufu6v&dl=1"
destfile <- tempfile(fileext = ".xlsx") # Temporary file to save the Excel file
# Download the Excel file
GET(url, write_disk(destfile, overwrite = TRUE))
#> Response [https://uc4ba5df6123fe98dd496336cda2.dl.dropboxusercontent.com/cd/0/get/CcGdNLWKfEjwI0ZpCQHjKawvx8cH64OrkGPgiuAjWZmgi1bWmmr6y8BLghzUuaPiaevhUV_Y0EWQQ4v4WKGD3BWYFb4noNu5-21xdoRW9VRnPmZMbZWOXQM0T4_bcqw8fZCOjs4vaqByT2HE6cjOrQya/file?dl=1]
#> Date: 2024-10-08 17:05
#> Status: 200
#> Content-Type: application/binary
#> Size: 8.85 kB
#> <ON DISK> C:\Users\hidek\AppData\Local\Temp\RtmpQbaLxo\file3b0cf75e5e.xlsx
# Read the Excel file
excel_data <- read_excel(destfile)
#> Error in read_fun(path = path, sheet_i = sheet, limits = limits, shim = shim, : invalid Unicode point 56573
# Display the first few rows of the data
head(excel_data)
#> Error in eval(expr, envir, enclos): object 'excel_data' not foundCreated on 2024-10-08 with reprex v2.1.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels