R Spatial Data 1: Read in SHP File

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น •

  • @unanaraida
    @unanaraida 4 ปีที่แล้ว

    I just wanna say your videos are the best and thank you thank you thank you

    • @BurkeyAcademy
      @BurkeyAcademy  4 ปีที่แล้ว

      Welcome welcome welcome! Glad to help!

  • @hmahadev2
    @hmahadev2 6 ปีที่แล้ว +1

    Thank you Prof., I have been following your videos and practising along with you. I got a lot of clarity in the subject and practice. You are doing a wonderful job.

  • @mutaleninohendavshivute4595
    @mutaleninohendavshivute4595 ปีที่แล้ว

    thank you so much , your a life saver

  • @smahmudmobin
    @smahmudmobin 4 ปีที่แล้ว +1

    Hello Professor, could you help create distance-based weight matrix in R?

  • @ProfBoggs
    @ProfBoggs 3 ปีที่แล้ว

    1. Thank you for posting this.
    2. FWIW, ca. 03:13 having a space in the name = problems was a common problem in ArcGIS for a long time, too. I'm not sure if it still is, but nowadays my habit is just to use underscoring in the spaces.
    3. Are contiguity files usually denoted by .gal across software packages? In other words, has this emerged as a standard extension?

    • @BurkeyAcademy
      @BurkeyAcademy  3 ปีที่แล้ว +1

      .gal is one of several "standard" ways of formatting contiguity information. but so are .nb and .gwt, and I am sure that there are others.

    • @ProfBoggs
      @ProfBoggs 3 ปีที่แล้ว

      @@BurkeyAcademy Thank you kindly.

  • @juanchokun7
    @juanchokun7 4 ปีที่แล้ว +1

    your voice sound a little similar like tony stark! Lol!
    Thanks for the video.

  • @MarlonAndGabriela
    @MarlonAndGabriela 4 ปีที่แล้ว

    This didn’t work for me : / my shapefile is not found yet when I run file.exists() it returns TRUE.

  • @sofwatunnida6410
    @sofwatunnida6410 2 ปีที่แล้ว

    Hi Prof. Thank you for the video, I have a trouble when make a queen contiguity. The output are like this: Error in s2_geography_from_wkb(x, oriented = oriented, check = check) :
    Evaluation error: Found 2 features with invalid spherical geometry.
    [34] Loop 1 is not valid: Edge 2 crosses edge 4
    [42] Loop 2 is not valid: Edge 1 crosses edge 5.
    what should I do?

  • @nept4ne
    @nept4ne 4 ปีที่แล้ว

    Proffesor, can you help me please, when I run the code: ncvaco

    • @Leichensalat8marv
      @Leichensalat8marv 4 ปีที่แล้ว +2

      You need to replace the "." with your working direction, e.g "C:/Maps"

  • @javierbeltran7623
    @javierbeltran7623 7 ปีที่แล้ว

    Dear Professor Burk,
    First of all, thanks for all your work and help about this topic. I am anxsious about the next video about global and local models (I am working on that). BUt before that, I have a question that is "killing me".
    I am using STATA, so I use the command shp2dta to transform the shapefile to stata data base. Doing this with your data set of North Caroline, I have realized that the coordenates for longitud and latitud are given "spherically" (numbers between -90 and 90). I am working with a data base (shapefile) for Chile, and after "transforming the data" I have realized that coordenates are not given "spherically" (the numer are, for instance, 391706.8 for longitud and 7684181 for lattitud). The worse part is, when I went to a reference from the STATA JOURNAL about the construction of the W matrix, the authors ( Drukker and Prucha among them) used a data set for USA counties where the corrdenates are in another "unit of measurement" (they say, coordenates are in "degrees", and watching the data, values for latitud and longitud are, for instance, -101.1484 and 38.91734 for Logan County).
    The problem is that the use of the commands for ESDA, LISA, or spatial econometric models depend on how coordenates are given and the command that can be used to construct W. In general, most of the "help" from the softwares indicate that "x" is longitud and "y" is lattitud, but nothing about how they are "measure". Have you face this kind of "problem"?
    Any reference to disentangle this "basic question" (in the sense that must be answered before more complex analysis)?
    Thanks again for your time and help!!!

    • @BurkeyAcademy
      @BurkeyAcademy  7 ปีที่แล้ว

      This problem is a pain for all of us, believe me! My coordinates and the ones for the USA counties both seem to be using longitude and latitude, where they can run from minus 180 to +180. For Chile, they are probably using something in meters on a flat projection, where the bottom left corner is set to 0, possibly somewhere outside of the map. I have googled some resources in the past that hav helped me figure it out- but am not an expert. Here is a video I found that might help you: th-cam.com/video/Ums2TTuOUOg/w-d-xo.html