Timeline for Loading shapefiles for reprojection using sf
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2019 at 13:11 | vote | accept | Jeff | ||
Sep 29, 2019 at 21:05 | answer | added | Jeff | timeline score: 0 | |
Sep 8, 2019 at 8:58 | answer | added | Spacedman | timeline score: 4 | |
Sep 8, 2019 at 6:33 | comment | added | Jeff |
You're right @Spacedman, I get that list.files() returns characters -- but evidently I misunderstood how to loop through the resulting list to load() the files to manipulate them. I see a lot of examples of binding text/csv files to dataframes, though.
|
|
Sep 6, 2019 at 15:25 | comment | added | Spacedman |
The error is saying the first argument is a character value. The thing you have written as regionX-yearY is evaluating to a character value. Why? Load one in and print it out to check. Its not a SpatialPolygonsDataFrame . Of course looping over files with list.files creates characters, that's what list.files does.
|
|
Sep 6, 2019 at 15:06 | history | edited | Vince | CC BY-SA 4.0 |
naming; title case
|
Sep 6, 2019 at 14:40 | history | asked | Jeff | CC BY-SA 4.0 |