Code Monkey home page Code Monkey logo

diagnoza's Introduction

Social Diagnosis [Diagnoza Społeczna]

This is an R package with Social Diagnosis 2000-2015 data converted to the R format For more information about this dataset see Social Diagnosis 2000-2015 (Objective and Subjective Quality of Life in Poland). http://diagnoza.com/ The dataset was donloaded and converted on Nov 24 2015.

Be warned that the package is about 100 MB.

More information about data, coodebook and analysis manual can be found here: http://diagnoza.com/

For some applications and analyses in R see: http://smarterpoland.pl/index.php/tag/diagnoza/

Social Diagnosis columns names indicate years:

  • for year 2000 column starts with "a",
  • for year 2003 column starts with "b",
  • for year 2005 column starts with "c",
  • for year 2007 column starts with "d",
  • for year 2009 column starts with "e",
  • for year 2011 column starts with "f",
  • for year 2013 column starts with "g",
  • for year 2015 column starts with "h".
Installation of the Diagnoza package:
To get started, install the latest version of **Diagnoza** from GitHub:
if (!require(devtools)) {
    install.packages("devtools")
    require(devtools)
}
install_github("pbiecek/Diagnoza")

Make sure you have rtools installed on your computer.

diagnoza's People

Contributors

pbiecek avatar berenz avatar

Stargazers

Jeff Carpenter avatar  avatar Piotr Migdał avatar Maciej Witkowiak avatar

Watchers

 avatar Maciej Witkowiak avatar Alexis Tala avatar  avatar

diagnoza's Issues

Data cleaning needed

Spory bałagan jest w tych danych. Na przykład, jest 81 gospodarstw, które nie są przypisane do żadnego roku oraz mają braki danych dla wszystkich badanych lat. Natomiast, członkowie tych gospodarstw pojawiają się w zbiorze z osobami.

Gospodarstwa i lata

> gospodarstwa %>% select(f2000:f2015) %>% rowSums(.,na.rm=T) %>% table()
.
    0     1     2     3     4     5     6     7     8 
   81 10376  5677  4032  4255  1102   346   408   489

Członkowie powyższych gospodarstw

flag <- gospodarstwa %>% select(f2000:f2015) %>% rowSums(.,na.rm=T) 
gosp_id <- gospodarstwa[which(flag == 0),'numer_gd'] ### coś mi filter nie działał :)

> osoby  %>% filter(numer_gd %in% gosp_id$numer_gd) %>% count(numer_gd,sort=T)
Source: local data frame [81 x 2]

   numer_gd     n
      (dbl) (int)
1     15200    12
2     50129     9
3     15050     7
4     15210     7
5     15220     7
6     14980     6
7     29890     6
8     15320     5
9    410974     5
10    15030     4
..      ...   ...

Downloading GitHub repo pbiecek/Diagnoza@master error

Dzień dobry.
Mam problem przy ładowaniu pakietu Diagnoza.
Z góry dziękuje za pomoc.
Pozdrawiam

install_github("pbiecek/Diagnoza")
Downloading GitHub repo pbiecek/Diagnoza@master
Skipping 1 packages not available: Depends: R
√ checking for file 'C:\Users\sebamaz\AppData\Local\Temp\Rtmpq2JdpV\remotes2aa824e4e85\pbiecek-Diagnoza-751a09f/DESCRIPTION' (538ms)

  • preparing 'Diagnoza': (518ms)
    E checking DESCRIPTION meta-information ...
    Błędnie sformatowane pole 'Depends' lub 'Suggests' lub 'Imports' lub 'Enhances'.
    Przeszkadzające wpisy:
    Depends: R (>= 2.8.0)
    Wpisy muszą być nazwami pakietów po których opcjonalnie może wystąpić
    '<=' lub '>=', biała spacja oraz poprawny numer wersji w nawiasach.

    Zobacz informację w sekcji 'The DESCRIPTION file' podręcznika 'Writing
    R Extensions'.

Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command error
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers

Nowa diagnoza społeczna

Pojawiła się Diagnoza Społeczna 2015. Postaram się uaktualnić pakiet o nowe zbiory (dziś wieczorem lub jutro w ciągu dnia).

Pozdr,
MB

long vectors przy instalacji

Panowie, czy można prosić o podpowiedź dotyczącą poniższego błędu przy instalacji Diagnoza. Długie wektory nie są wspierane. Więc co robić?

  • installing source package 'Diagnoza' ...
    ** data
    *** moving datasets to lazyload DB
    Error in lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress, :
    długie wektory nie są jeszcze wspierane: connections.c:5671
    ERROR: lazydata failed for package 'Diagnoza'
  • removing 'C:/Users/blaze/OneDrive/Dokumenty/R/win-library/3.4/Diagnoza'
    In R CMD INSTALL
    Installation failed: Command failed (1)

Downloading repo error

Cześć. Przy próbie zainstalowania pakietu wyskakuje mi następujący błąd:
image
Czy można prosić o jakąś podpowiedź jak to naprawić?
Z góry dzięki za odpowiedź

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.