Giter Club home page Giter Club logo

lucas's Introduction

lucas

R package for downloading and processing Land cover/use statistics (LUCAS) data provided by EUROSTAT.

With the package you can

  • download LUCAS Micro Data (LMD),

  • convert LMD in SpatialPointsDataFrames,

  • save LMD as shapefile,

  • reclassify the land cover classes,

  • ... .

Some attribute names changed between the years. The names are adjusted such that the same attribute has the same attribute name in different years. Furthermore, the transect information, in 2009 and 2012 distributed over several attributes are converted to the 2015 format, where the information is hold in a single column.

For further information please read the package intro:

https://github.com/benmack/lucas/blob/master/notebooks/lucas-intro.ipynb

Installation

The package is available on GitHub. You can install it from within R with the package devtools and the following command:

install_github('benmack/lucas')

Development

You can develop and use the lucas source code in a docker container build from the rocker/geospatial image. Prerequisites are that you have Docker installed and a local copy of the lucas source code on your machine.

Run the following command in a terminal:

docker run -i -p 8787:8787 -e PASSWORD=<password of your choice> -v <path containing the local copy of the lucas repository>:/home/rstudio/lucas rocker/geospatial

And go to http://localhost:8787/ in your browser where you can log in with the user rstudio and the password of your choice to connect to RStudio. In RStudio you should find the lucas folder under files in which you can start the lucas.Rproj.

Note that rocker/geospatial contains for more than needed for lucas and for not as slim as it could be.

lucas's People

Contributors

benmack avatar

Stargazers

 avatar  avatar

lucas's Issues

Convert transects in years before 2015 to 2015 style

In 2015 the transect information is in one column and holds the values separated with ";".
E.g.:

E20;A;E20;D10;63;24;D20;01;62;01;B11;E20;C10

In previous years the information is splitted in several columns "TR*".
Remove the columns and create one as in the 2015 data.

LMD 2015 attributes changed

Most attributes start with SURVEY_ now.

ToDo:

  • Create a list of the attributes of all years
  • Identify related attributes
  • Use common naming convention

What to do with attributes that do not exist in all years?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.